1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
| % truffle migrate --network ganache
Compiling your contracts... =========================== > Everything is up to date, there is nothing to compile.
Starting migrations... ====================== > Network name: 'ganache' > Network id: 5777 > Block gas limit: 6721975 (0x6691b7)
2_deploy_sample.js ==================
Deploying 'Sample' ------------------ > transaction hash: 0xcca8f14829c106e3bf74d00282e9323358bc8904eee76a2a0469bbbe159b4eae > Blocks: 0 Seconds: 0 > contract address: 0x8e36a247aD15a98ae7e7B6e23D4D69988bE9c12e > block number: 1 > block timestamp: 1671726245 > account: 0x9313a92d0F000dBf856252A1cd3E176E116fc704 > balance: 99.9921389 > gas used: 393055 (0x5ff5f) > gas price: 20 gwei > value sent: 0 ETH > total cost: 0.0078611 ETH
ABI: [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event","signature":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","constant":true,"signature":"0x8da5cb5b"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function","signature":"0x715018a6"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function","signature":"0xf2fde38b"},{"inputs":[],"name":"send","outputs":[],"stateMutability":"payable","type":"function","payable":true,"signature":"0xb46300ec"}] > Saving artifacts ------------------------------------- > Total cost: 0.0078611 ETH
Summary ======= > Total deployments: 1 > Final cost: 0.0078611 ETH
|