diff --git a/configs/alephium/mainnet.json b/configs/alephium/mainnet.json index d32f1fee..5054e596 100644 --- a/configs/alephium/mainnet.json +++ b/configs/alephium/mainnet.json @@ -1,7 +1,7 @@ { "chainId": 255, "groupIndex": 0, - "initRewards": 0, + "initRewards": 1000, "minimalConsistencyLevel": 105, "messageFee": "0", "contracts": { diff --git a/ethereum/package.json b/ethereum/package.json index e4bd4d30..4c8b2d70 100644 --- a/ethereum/package.json +++ b/ethereum/package.json @@ -22,6 +22,7 @@ "test": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && CHAIN_NAME=ethereum truffle test --network test", "migrate": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --to 6", "migrate:goerli": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --to 6 --network goerli --skip-dry-run", + "migrate:mainnet": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --to 6 --network mainnet --skip-dry-run", "flatten": "mkdir -p node_modules/@poanet/solidity-flattener/contracts && cp -r contracts/* node_modules/@poanet/solidity-flattener/contracts/ && poa-solidity-flattener", "verify": "patch -u -f node_modules/truffle-plugin-verify/constants.js -i truffle-verify-constants.patch; truffle run verify $npm_config_module@$npm_config_contract_address --network $npm_config_network", "abigen": "truffle run abigen" diff --git a/ethereum/truffle-config.js b/ethereum/truffle-config.js index ff1cbfa9..21e5f800 100644 --- a/ethereum/truffle-config.js +++ b/ethereum/truffle-config.js @@ -30,8 +30,7 @@ module.exports = { `https://mainnet.infura.io/v3/` + process.env.INFURA_KEY ), network_id: 1, - gas: 10000000, - gasPrice: 191000000000, + gasPrice: 20000000000, confirmations: 1, timeoutBlocks: 200, skipDryRun: false,