const merkle = require("../app/js/merkle.js"); module.exports = { // default applies to all environments default: { // Blockchain node to deploy the contracts deployment: { host: "localhost", // Host of the blockchain node port: 8545, // Port of the blockchain node type: "rpc" // Type of connection (ws or rpc), // Accounts to use instead of the default account to populate your wallet /*,accounts: [ { privateKey: "your_private_key", balance: "5 ether" // You can set the balance of the account in the dev environment // Balances are in Wei, but you can specify the unit with its name }, { privateKeyFile: "path/to/file", // Either a keystore or a list of keys, separated by , or ; password: "passwordForTheKeystore" // Needed to decrypt the keystore file }, { mnemonic: "12 word mnemonic", addressIndex: "0", // Optionnal. The index to start getting the address numAddresses: "1", // Optionnal. The number of addresses to get hdpath: "m/44'/60'/0'/0/" // Optionnal. HD derivation path } ]*/ }, // order of connections the dapp should connect to dappConnection: [ "$WEB3", // uses pre existing web3 object if available (e.g in Mist) "ws://localhost:8546", "http://localhost:8545" ], gas: "auto", contracts: { "ERC20Receiver": { "deploy": false }, "MiniMeToken": { "deploy": false }, "MiniMeTokenFactory": { }, "SNT": { "instanceOf": "MiniMeToken", "args": [ "$MiniMeTokenFactory", "0x0000000000000000000000000000000000000000", 0, "TestMiniMeToken", 18, "TST", true ] }, "SNTGiveaway": { args: ["$SNT", "10", "10", merkle.merkleRoot], } } }, // default environment, merges with the settings in default // assumed to be the intended environment by `embark run` development: { dappConnection: [ "ws://localhost:8546", "http://localhost:8545", "$WEB3" // uses pre existing web3 object if available (e.g in Mist) ] }, // merges with the settings in default // used with "embark run privatenet" privatenet: { }, // merges with the settings in default // used with "embark run testnet" testnet: { // Blockchain node to deploy the contracts deployment: { accounts: [ { privateKey: "0x....." } ] }, contracts: { "MiniMeTokenFactory": { address: "0xa1c957C0210397D2d0296341627B74411756d476" }, "SNT": { address: "0xc55cf4b03948d7ebc8b9e8bad92643703811d162" }, "MerkleProof": { deploy: false, }, "SNTGiveaway": { address:"0x39b9829BD5daF434d78d1Ed7173222870046678D" } } }, // merges with the settings in default // used with "embark run livenet" livenet: { }, // you can name an environment with specific settings and then specify with // "embark run custom_name" or "embark blockchain custom_name" //custom_name: { //} };