Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
167 lines (152 sloc) 6.11 KB
# Default development testnet against rinkeby
centrifugeNetwork: russianhill
# Define the default networks that Centrifuge maintains
networks:
# Local testing contract addresses need to be set with env variables.
testing:
id: 333
ethereumNetworkId: 8383
bootstrapPeers:
- "/ip4/127.0.0.1/tcp/38202/ipfs/QmTQxbwkuZYYDfuzTbxEAReTNCLozyy558vQngVvPMjLYk"
- "/ip4/127.0.0.1/tcp/38203/ipfs/QmVf6EN6mkqWejWKW2qPu16XpdG3kJo1T3mhahPB5Se5n1"
contractAddresses:
identityFactory: ""
anchorRepository: ""
invoiceUnpaid: ""
# Main development testnet network (Rinkeby)
russianhill:
# Numeric ID of the Centrifuge network
id: 51
# Bootstrap list of nodes that Centrifuge provides to the russianhill testnet
bootstrapPeers:
- "/ip4/35.225.200.42/tcp/38202/ipfs/12D3KooWNsZsW7TbcZ58N71UQSK5DjZqmFkHPHwxFKTAyoUUD8df"
- "/ip4/35.225.86.210/tcp/38202/ipfs/12D3KooWDe2swWE3f2iJbUeQ9GUUQBHCrWLbBca9MGMqfmbCgrub"
# Ethereum network ID - Rinkeby
ethereumNetworkId: 4
# Latest deployed Smart Contracts for the given testnet
contractAddresses:
identityFactory: "0xf880b860103bd45a523574AeeC07C492031f4781"
anchorRepository: "0x92AD44BB8F23D5d129eB82a50d3868bB4b1ceF1F"
invoiceUnpaid: "0xc4A8eB27fB3Ea2C0955F8a5B1615B26d85FCBe8e"
# Kovan test network
bernalheights:
# Numeric ID of the Centrifuge network
id: 52
# Bootstrap list of nodes that Centrifuge provides to the bernalheights testnet
bootstrapPeers:
- "/ip4/104.154.18.51/tcp/38202/ipfs/12D3KooWSbxbKCbZh9JVtsQyVGdTPra4RpSA4tbvs6an11jwGA2z"
- "/ip4/104.155.185.237/tcp/38202/ipfs/12D3KooWQm2cSmrEiaSMV4gUv7WGhpgRwo8woFSsHhZGbGi3aA8x"
# Ethereum network ID - Kovan
ethereumNetworkId: 42
# Latest deployed Smart Contracts for the given testnet
contractAddresses:
identityFactory: "0x1362EcBf8679243E24fA0EC425d2e10A08223c7D"
anchorRepository: "0x7180D77310dec8AB28Aa802Ec09FfA2DF64e907c"
invoiceUnpaid: "0x183170481648feffe4940F3DAAd3a7bcbb0c5AAF"
# Ropsten test network
dogpatch:
# Numeric ID of the Centrifuge network
id: 53
# Bootstrap list of nodes that Centrifuge provides to the dogpatch (TODO create ropsten bootnodes)
bootstrapPeers:
- "/ip4/35.225.200.42/tcp/38202/ipfs/12D3KooWNsZsW7TbcZ58N71UQSK5DjZqmFkHPHwxFKTAyoUUD8df"
- "/ip4/35.225.86.210/tcp/38202/ipfs/12D3KooWDe2swWE3f2iJbUeQ9GUUQBHCrWLbBca9MGMqfmbCgrub"
# Ethereum network ID - Ropsten
ethereumNetworkId: 3
# Latest deployed Smart Contracts for the given testnet
contractAddresses:
identityFactory: "0x0d391E72325CedC41E48053E77288a89F2E31115"
anchorRepository: "0x2C80F1DafDa7aADeb2C175d4B43A858473E11713"
invoiceUnpaid: "0x49be9300C36Cf5238bF69E4C49560FF8f7F672E4"
# Mainnet test network DO NOT USE!
embarcaderotest:
# Numeric ID of the Centrifuge network
id: 10
bootstrapPeers:
- "/ip4/35.198.122.117/tcp/38202/ipfs/12D3KooWAg3EcAtrYVCxwz6k6sT9iZSRztz9D7yUzpBPREFzrUoV"
- "/ip4/35.242.221.111/tcp/38202/ipfs/12D3KooWKGwixXenuXAVqkJKmnHSAJDjzf7eGMo6troigZxm7A5R"
# Ethereum network ID - mainnet
ethereumNetworkId: 1
# Latest deployed Smart Contracts for the given testnet
contractAddresses:
identityFactory: "0xAF456c16386a64fd4F4b69af13a86Df0B562Aa00"
anchorRepository: "0x637B8C3D2AA3Cc206D94519b54892089c9E67990"
invoiceUnpaid: "0xB5e423dCc740bBC80f906133e15601f980998356"
# Mainnet network
embarcadero:
# Numeric ID of the Centrifuge network
id: 10
bootstrapPeers:
- "/ip4/35.198.122.117/tcp/38202/ipfs/12D3KooWAg3EcAtrYVCxwz6k6sT9iZSRztz9D7yUzpBPREFzrUoV"
- "/ip4/35.242.221.111/tcp/38202/ipfs/12D3KooWKGwixXenuXAVqkJKmnHSAJDjzf7eGMo6troigZxm7A5R"
# Ethereum network ID - mainnet
ethereumNetworkId: 1
# Latest deployed Smart Contracts for the given testnet
contractAddresses:
identityFactory: "0xAF456c16386a64fd4F4b69af13a86Df0B562Aa00"
anchorRepository: "0x637B8C3D2AA3Cc206D94519b54892089c9E67990"
invoiceUnpaid: "0xB5e423dCc740bBC80f906133e15601f980998356"
# Data Storage
storage:
# Path for levelDB file
path: /tmp/centrifuge_data.leveldb
# Configuration Storage
configStorage:
# Path for levelDB file
path: /tmp/centrifuge_config_data.leveldb
# Accounts key storage
accounts:
keystore: /tmp/accounts
# Interface where the API and P2P Server listens to
nodeHostname: 127.0.0.1
# Port where API Server listens to
nodePort: 8082
# Peer-to-peer configurations
p2p:
# Specify External IP where the node can be reached at if behind NAT
#externalIP: w.x.y.z
# Port used for the P2P layer
port: 38202
# Timeout when opening connections to peers
connectTimeout: "30s"
# Queue configurations for asynchronous processing
queue:
# Defines the number of workers/consumers that will be allocated at startup
numWorkers: 100
# Frees up CPU cycles when worker is waiting for events
workerWaitTimeMS: 1
# Number of retries allowed for a task
taskRetries: 10
# Ethereum specific configuration
ethereum:
# Selects which ethereum account to use of the ones provided in the custom config file
defaultAccountName: "main"
# Location of the ethereum client node (we require ws or ipc to be able to catch events)
nodeURL: http://localhost:9545
# maximum allowed gas price to pay for a transaction in wei
# 20 Gwei now
maxGasPrice: 20000000000
# Gas limits for different Ethereum operations
gasLimits:
idCreate: 1000000
idAddKey: 300000
idRevokeKey: 55000
anchorCommit: 85000
anchorPreCommit: 100000
nftMint: 900000
# Timeout to wait for an ethereum transaction to be added to a block and events triggered
contextWaitTimeout: "600s"
# Timeout to wait for read only operations against ethereum
contextReadWaitTimeout: "15s"
# Node transaction pool max retries to send a transaction over
maxRetries: 200
# Node transaction pool interval retry when a concurrent transaction has been detected
intervalRetry: "2s"
# Disable when some ethereum clients do not support txpool api
txPoolAccessEnabled: true
# any debugging config will go here
debug:
# pprof for debugging
pprof: false
anchoring:
precommit: true
You can’t perform that action at this time.