Skip to content

Contour Corda Config

There are 2 configuration files on Corda node running Contour cordapps:

  • Corda Node Configurations
  • Contour CorDapp Configurations

Corda Node Config

Configurations for Corda node are defined in node.conf file under Corda installation directory, e.g. /opt/corda/.

No specific requirements in the Corda node configurations for Contour.

Please refer to Corda Doc Sites for the details on the Corda node configurations.

Contour CorDapp Config

Configurations for Contour CorDapp are defined in contour-cordapp-<version>.conf file under Corda > cordapps > config directory, e.g. /opt/corda/cordapps/config/.

Important: the config file name should match the contour cordapp jar name.

For example, for Contour v8.0:

  • The Contour cordapp jar, to be placed under cordapps/ directory, are contour-cordapp-8.0.0.jar and contour-cordapp-contracts-and-states-8.0.0-release.jar
  • The config file for Contour cordapp, to be placed under cordapps/config/, should be contour-cordapp-8.0.0.conf

Contour CorDapp configurations:

  • contour.bn.displayName: string, your company name to be shown on Contour, e.g. on the Letter of Credit form. Recommend to use your company's legal name in reality.
  • contour.bn.role: BANK|CORPORATE, your company's role in the business as a bank (financing the trade) or as a corporate (the trade party)

  • net.corda.businessnetworks.membership.notaryName: string, X500 name of the Notary used by Contour Business Network

  • net.corda.businessnetworks.membership.bnoName: string, X500 name of the Contour Business Network Operator

Corda Metering CorDapp Config

Configurations for Corda Metering CorDapp are defined in corda-tools-metering-collector-<version>.conf file under Corda > cordapps > config directory, e.g. /opt/corda/cordapps/config/.

Corda Metering CorDapp configurations:

  • network_collectors: string, specifies that Contour BNO collect aggregated metering data from the node
  • cordapp_collectors-by_name: string, specifies that Contour BNO only collects metering data related to all installed CorDapps called Contour Flows
"access_configuration" : {
    "network_collectors" : ["<Contour_BNO_X500Name>"],
    "cordapp_collectors" : {
        "by_name" : {
            "Contour Flows" : ["<Contour_BNO_X500Name>"]
        }
    }
}