Commit 5f726dba authored by Emiliano Balbuena's avatar Emiliano Balbuena
Browse files

(chore): Blockchain config template

parent 346f69c7
Loading
Loading
Loading
Loading
+23 −19
Original line number Diff line number Diff line
@@ -343,50 +343,54 @@ data:
        // Blockchain configurations
        $CONFIG->set('blockchain', [
            'sale' => 'sale',
            'testnet' => false,
            'testnet' => {{ .Values.blockchain.testNet }},

            'rpc_endpoints' => [
                'https://mainnet.infura.io/v3/708b51690a43476092936f9818f8c4fa',
                '{{ .Values.blockchain.endpoint }}',
            ],
            
            //'network_address' => 'https://rinkeby.infura.io/',
            'proxy_rpc_endpoint' => 'https://mainnet.infura.io/v3/708b51690a43476092936f9818f8c4fa',
            'proxy_rpc_endpoint' => '{{ .Values.blockchain.endpoint }}',

            'client_network' => 1, // 1 = main ethereum network; 4 = test rinkeby; 1337 coin repo's testserver.sh
            'client_network' => {{ .Values.blockchain.clientNetwork }}, // 1 = main ethereum network; 4 = test rinkeby; 1337 coin repo's testserver.sh

            'default_gas_price' => 40,
            'server_gas_price' => 40,
            'token_symbol' => 'status',

            'token_address' => '0xb26631c6dda06ad89b93c71400d25692de89c068',
            'token_address' => '{{ .Values.blockchain.tokenAddress }}',
            'contracts' => [
                'token_sale_event' => [
                    'contract_address' => '0xf3c9dbb9598c21fe64a67d0586adb5d6eb66bc63',
                    'wallet_address' => '0x1820fFAD63fD64d7077Da4355e9641dfFf4DAD0d',
                    'wallet_pkey' => '',
                    'contract_address' => '{{ .Values.blockchain.tseAddress }}',
                    'wallet_address' => '{{ .Values.blockchain.tseWallet }}',
                    'wallet_pkey' => '{{ .Values.blockchain.tseWalletKey }}',
                    'eth_rate' => 2000, //1 ETH = 2,000 TOKENS
                    'auto_issue_cap' => "120000000000000000000000", //60ETH (120,000 tokens) $30,000 USD
                ],
                'withdraw' => [
                    'contract_address' => '0xdd10ccb3100980ecfdcbb1175033f0c8fa40548c',
                    'wallet_address' => '0x14E421986C5ff2951979987Cdd82Fa3C0637D569',
                    'wallet_pkey' => '',
                    'contract_address' => '{{ .Values.blockchain.withdrawAddress }}',
                    'wallet_address' => '{{ .Values.blockchain.withdrawWallet }}',
                    'wallet_pkey' => '{{ .Values.blockchain.withdrawWalletKey }}',
                    'limit_exemptions' => [
                    ],
                ],
                'bonus' => [
                    'wallet_address' => '0x461f1C5768cDB7E567A84E22b19db0eABa069BaD',
                    'wallet_pkey' => '',
                    'wallet_address' => '{{ .Values.blockchain.bonusWallet }}',
                    'wallet_pkey' => '{{ .Values.blockchain.bonusWalletKey }}',
                ],
                'boost' => [
                    'contract_address' => '0x112ca67c8e9a6ac65e1a2753613d37b89ab7436b',
                    'wallet_address' => '0xdd04D9636F1944FE24f1b4E51Ba77a6CD23b6fE3',
                    'wallet_pkey' => '',
                    'contract_address' => '{{ .Values.blockchain.boostAddress }}',
                    'wallet_address' => '{{ .Values.blockchain.boostWallet }}',
                    'wallet_pkey' => '{{ .Values.blockchain.boostWalletKey }}',
                ],
                'wire' => [
                    'contract_address' => '0x4b637bba81d24657d4c6acc173275f3e11a8d5d7',
                    'wallet_address' => '0x4CDc1C1fd1A3F4DD63231afF8c16501BcC11Df95',
                    'wallet_pkey' => '',
                    'contract_address' => '{{ .Values.blockchain.wireAddress }}',
                    'wallet_address' => '{{ .Values.blockchain.wireWallet }}',
                    'wallet_pkey' => '{{ .Values.blockchain.wireWalletKey }}',
                ],
                'boost_campaigns' => [
                    'wallet_address' => '{{ .Values.blockchain.boostCampaignsWallet }}',
                    'wallet_pkey' => '{{ .Values.blockchain.boostCampaignsWalletKey }}',
                ],
            ],

+22 −0
Original line number Diff line number Diff line
@@ -144,3 +144,25 @@ encryptionKeys:

aws:
  snsSecret:

blockchain:
  testNet: true
  clientNetwork: 4
  endpoint: 'https://mainnet.infura.io/v3/'
  tokenAddress: '0xf5f7ad7d2c37cae59207af43d0beb4b361fb9ec8'
  tseAddress: '0x1d88095afea73bd65f8ceb2fe2ed98737d3b2833'
  tseWallet: '0xD8Ea9F81f38B6CC11743251Edd20Ff508666B0Fe'
  tseWalletKey:
  withdrawAddress: '0x4d09aa10ec584ff102e5e2da96888ac0dc6048f2'
  withdrawWallet: '0x714D7dc5B64b05dC03e70544E7857Ca872EF314a'
  withdrawWalletKey:
  bonusWallet: '0x00B687931b2cb8aEca65A8C9D125158CA506e7Ba'
  bonusWalletKey:
  boostAddress: '0xad6c30d7995484aef9465b3c41cfae1994be7124'
  boostWallet: '0xfD7acB9Dd58c2296105ef859D7078b7C51c7e834'
  boostWalletKey:
  wireAddress: '0xdcb61cce961da699d20c50f45e45a571737d1ba3'
  wireWallet: '0x2F8c79ae5593e9F2df7DFF0514EFF4c0368f194E'
  wireWalletKey:
  boostCampaignsWallet: '0xa28c7c4dbe34e36d9c21bb84ab3df10fdf8f898e'
  boostCampaignsWalletKey: