Eoslime
Search…
deploy
You should have running nodeos
eoslime deploy
Will execute your deployment scripts. Each of them should expose a "deploy" method
const TOKEN_WASM_PATH = './contracts/example/eosio.token.wasm';
const TOKEN_ABI_PATH = './contracts/example/eosio.token.abi';
let deploy = async function (eoslime, deployer) {
if (!deployer) {
deployer = await eoslime.Account.createRandom();
}
let tokenContract = await eoslime.Contract.deployOnAccount(TOKEN_WASM_PATH, TOKEN_ABI_PATH, deployer);
}
module.exports = deploy;
Last modified 2yr ago
Copy link