1. Using new BITCOIN payment interface
Please, check <configurator>/global/config.yaml content (using correct <gitlab-group>
in service_image name):
Testnet BITCOIN PI (stage environment):
bitcoin: id: "BITCOIN-PI" enabled: true service_image: gitlab.tunex.io:5050/<gitlab-group>/addons/utxo-go-pi cryptonode_image: none #gitlab.tunex.io:5050/marionette-stack/public/bitcoind24v title: "BITCOIN TESTNET" subtitle: "BITCOIN testnet" description: "Testnet (0)" logo_url: "https://raw.githubusercontent.com/nsart/coin-logos/master/btc.png" verbose: 0 network: testnet rpchost: bitcoind rpcport: 18332 rpcuser: admin rpcpassword: password port: 18333 explorer_address: "https://blockchain.info/btc-testnet/address/#{address}" explorer_transaction: "https://blockchain.info/btc-testnet/tx/#{txid}" wait_confirmation_timeout: 15000 min_confirmations: 6 max_request_blocks: 10
Mainnet BITCOIN PI (production environment):
bitcoin: id: "BITCOIN-PI" enabled: true service_image: gitlab.tunex.io:5050/<gitlab-group>/addons/utxo-go-pi cryptonode_image: none #gitlab.tunex.io:5050/marionette-stack/public/bitcoind24v title: "BITCOIN" subtitle: "BITCOIN" description: "Mainnet" logo_url: "https://raw.githubusercontent.com/nsart/coin-logos/master/btc.png" verbose: 0 network: mainnet rpchost: bitcoind rpcport: 8332 rpcuser: admin rpcpassword: password port: 8333 explorer_address: "https://blockchain.info/btc/address/#{address}" explorer_transaction: "https://blockchain.info/btc/tx/#{txid}" wait_confirmation_timeout: 15000 min_confirmations: 6 max_request_blocks: 10
In <configurator>/templates/compose/paymentinterfaces.yaml.t correct following sections:
{{#if payment_interfaces.bitcoin.enabled}} {{payment_interfaces.bitcoin.id}}: image: {{payment_interfaces.bitcoin.service_image}} hostname: {{payment_interfaces.bitcoin.id}} restart: always command: ./main environment: RPC_USER: "{{payment_interfaces.bitcoin.rpcuser}}" RPC_PASSWORD: "{{payment_interfaces.bitcoin.rpcpassword}}" RPC_HOST: "{{payment_interfaces.bitcoin.rpchost}}" NETWORK: "{{payment_interfaces.bitcoin.network}}" RPC_PORT: "{{payment_interfaces.bitcoin.rpcport}}" PORT: "{{payment_interfaces.bitcoin.port}}" EXPLORER_ADDRESS: {{payment_interfaces.bitcoin.explorer_address}} EXPLORER_TRANSACTION: {{payment_interfaces.bitcoin.explorer_transaction}} LOGLEVEL: {{log_level}} PREFIX: {{payment_interfaces.bitcoin.id}} TITLE: {{payment_interfaces.bitcoin.title}} SUBTITLE: {{payment_interfaces.bitcoin.subtitle}} DESCRIPTION: {{payment_interfaces.bitcoin.description}} WAIT_CONFIRMATION_TIMEOUT: {{payment_interfaces.bitcoin.wait_confirmation_timeout}} MIN_CONFIRMATIONS: {{payment_interfaces.bitcoin.min_confirmations}} MAX_REQUEST_BLOCKS: {{payment_interfaces.bitcoin.max_request_blocks}} VERBOSE: {{payment_interfaces.bitcoin.verbose}} depends_on: - api - db-bridge {{/if}}
2. Using new ETH payment interface
Please, check <configurator>/global/config.yaml content (using correct <gitlab-group>
in service_image name):
Sepolia ETH PI or/and testnt BSC PI (stage environment):
evm: - id: ETH-SEPOLIA-PI enabled: true service_image: gitlab.tunex.io:5050/<gitlab-group>/addons/eth-go-pi:latest type: RPC network: sepolia chainId: 11155111 cryptonode_image: none title: "Ethereum Sepolia testnet" subtitle: "ERC20" description: "Sepolia (11155111)" explorer_address: "https://sepolia.etherscan.io/address/#{address}" explorer_transaction: "https://sepolia.etherscan.io/tx/#{txid}" url: "https://nd-XXX-XXX-XXx.p2pify.com/XXXXXX" verbose: 0 wait_confirmation_timeout: 6000 min_confirmations: 6 max_request_blocks: 5 - id: BSC-TEST-PI enabled: true service_image: gitlab.tunex.io:5050/<gitlab-group>/addons/eth-go-pi:latest type: RPC network: 97 chainId: 97 cryptonode_image: none title: "Binance Smart Chain testnet" subtitle: "BEP20" description: "Testnet (97)" explorer_address: "https://testnet.bscscan.com/address/#{address}" explorer_transaction: "https://testnet.bscscan.com/tx/#{txid}" url: "https://nd-XXX-XXX-XXx.p2pify.com/XXXXXX" verbose: 0 wait_confirmation_timeout: 5000 min_confirmations: 6 max_request_blocks: 15
Mainnet ETH PI or/and BSC-PI (production environment):
evm: - id: ETH-PI enabled: true service_image: gitlab.tunex.io:5050/<gitlab-group>/addons/eth-go-pi:prod type: RPC network: mainnet chainId: 1 cryptonode_image: none title: "Ethereum" subtitle: "ERC20" description: "Mainnet (1)" explorer_address: "https://etherscan.io/address/#{address}" explorer_transaction: "https://etherscan.io/tx/#{txid}" url: "https://nd-XXX-XXX-XXx.p2pify.com/XXXXXX" verbose: 0 wait_confirmation_timeout: 6000 min_confirmations: 6 max_request_blocks: 5 - id: BSC-PI enabled: true service_image: gitlab.tunex.io:5050/<gitlab-group>/addons/eth-go-pi:latest type: RPC network: 56 chainId: 56 cryptonode_image: none title: "Binance Smart Chain" subtitle: "BEP20" description: "Mainnet (56)" explorer_address: "https://bscscan.com/address/#{address}" explorer_transaction: "https://bscscan.com/tx/#{txid}" url: "https://nd-XXX-XXX-XXx.p2pify.com/XXXXXX" verbose: 0 wait_confirmation_timeout: 5000 min_confirmations: 6 max_request_blocks: 15
In <configurator>/templates/compose/paymentinterfaces.yaml.t correct following sections:
{{#with payment_interfaces as | paymentInterfaces | }} {{#each paymentInterfaces.evm}} {{#if enabled}} {{id}}: image: {{service_image}} hostname: {{id}} restart: always command: ./main environment: PREFIX: {{id}} LOGLEVEL: {{paymentInterfaces.log_level}} TYPE: {{type}} EXPLORER_ADDRESS: {{explorer_address}} EXPLORER_TRANSACTION: {{explorer_transaction}} NETWORK: {{network}} CHAIN_ID: {{chainId}} TITLE: {{title}} SUBTITLE: {{subtitle}} DESCRIPTION: {{description}} URL: {{url}} WAIT_CONFIRMATION_TIMEOUT: {{wait_confirmation_timeout}} MIN_CONFIRMATIONS: {{min_confirmations}} MAX_REQUEST_BLOCKS: {{max_request_blocks}} VERBOSE: {{verbose}} depends_on: - api - db-bridge {{/if}} {{/each}}
3. Using new TRON payment interface
Please, check <configurator>/global/config.yaml content (using correct <gitlab-group>
in service_image name):
Testnet TRON PI (stage environment):
tron: enabled: true id: TRON-PI service_image: gitlab.tunex.io:5050/<gitlab-group/addons/tron-go-pi:latest type: trongrid host: "grpc.shasta.trongrid.io:50051" chainId: -1 network: -1 title: "TRON (shasta)" subtitle: "TRX20" description: "" max_request_blocks: 3 explorer_address: "https://shasta.tronscan.org/#/address/#{address}" explorer_transaction: "https://shasta.tronscan.org/#/transaction/#{txid}" min_confirmations: 4
Mainnet TRON PI (production environment):
tron: enabled: true id: TRON-PI service_image: gitlab.tunex.io:5050/<gitlab-group/addons/tron-go-pi:latest type: trongrid host: "grpc.trongrid.io:50051" chainId: 1 network: 1 title: "TRON" subtitle: "TRX20" description: "" max_request_blocks: 3 explorer_address: "https://tronscan.org/#/address/#{address}" explorer_transaction: "https://tronscan.org/#/transaction/#{txid}" min_confirmations: 4
In <configurator>/templates/compose/paymentinterfaces.yaml.t correct following sections:
{{#if payment_interfaces.tron.enabled}} {{payment_interfaces.tron.id}}: image: {{payment_interfaces.tron.service_image}} hostname: {{payment_interfaces.tron.id}} restart: always command: ./main environment: PREFIX: {{payment_interfaces.tron.id}} EXPLORER_ADDRESS: {{payment_interfaces.tron.explorer_address}} EXPLORER_TRANSACTION: {{payment_interfaces.tron.explorer_transaction}} LOGLEVEL: {{payment_interfaces.log_level}} NETWORK: {{payment_interfaces.tron.network}} TITLE: {{payment_interfaces.tron.title}} SUBTITLE: {{payment_interfaces.tron.subtitle}} DESCRIPTION: {{payment_interfaces.tron.description}} CHAIN_ID: {{payment_interfaces.tron.chainId}} TYPE: {{payment_interfaces.tron.type}} HOST: {{payment_interfaces.tron.host}} MAX_REQUEST_BLOCKS: {{payment_interfaces.tron.max_request_blocks}} MIN_CONFIRMATIONS: {{payment_interfaces.tron.min_confirmations}} depends_on: - api - db-bridge {{/if}}