Created
February 16, 2019 10:19
-
-
Save yuyasugano/5080e357f04bcf4fc485ba73edb3c714 to your computer and use it in GitHub Desktop.
Sample code deploy on loom_dapp_chain
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yarn run v1.12.3 | |
$ truffle deploy --network loom_dapp_chain | |
Compiling ./contracts/Migrations.sol... | |
Compiling ./contracts/MyCoin.sol... | |
Compiling ./contracts/MyRinkebyCoin.sol... | |
Compiling ./contracts/MyRinkebyToken.sol... | |
Compiling ./contracts/MyToken.sol... | |
Compiling ./contracts/SimpleStore.sol... | |
Compiling openzeppelin-solidity/contracts/AddressUtils.sol... | |
Compiling openzeppelin-solidity/contracts/introspection/ERC165.sol... | |
Compiling openzeppelin-solidity/contracts/introspection/SupportsInterfaceWithLookup.sol... | |
Compiling openzeppelin-solidity/contracts/math/SafeMath.sol... | |
Compiling openzeppelin-solidity/contracts/token/ERC20/BasicToken.sol... | |
Compiling openzeppelin-solidity/contracts/token/ERC20/ERC20.sol... | |
Compiling openzeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol... | |
Compiling openzeppelin-solidity/contracts/token/ERC20/StandardToken.sol... | |
Compiling openzeppelin-solidity/contracts/token/ERC721/ERC721.sol... | |
Compiling openzeppelin-solidity/contracts/token/ERC721/ERC721Basic.sol... | |
Compiling openzeppelin-solidity/contracts/token/ERC721/ERC721BasicToken.sol... | |
Compiling openzeppelin-solidity/contracts/token/ERC721/ERC721Receiver.sol... | |
Compiling openzeppelin-solidity/contracts/token/ERC721/ERC721Token.sol... | |
Writing artifacts to ./src/contracts | |
?? Important ?? | |
If you're using an HDWalletProvider, it must be Web3 1.0 enabled or your migration will hang. | |
Starting migrations... | |
====================== | |
> Network name: 'loom_dapp_chain' | |
> Network id: 13654820909954 | |
> Block gas limit: 0 | |
1_initial_migration.js | |
====================== | |
Deploying 'Migrations' | |
---------------------- | |
> transaction hash: 0xe135d3e8f6431deed4cd5c0d2c1f687f06b8b6124e2a594c8893633ade98390b | |
> Blocks: 0 Seconds: 0 | |
> contract address: 0x6d002528E54A421f5e7375690E5Fb74b75aDd0d8 | |
> account: 0x85a5082a6b01371caD401593ce6182E577af690f | |
> balance: 0 | |
> gas used: 0 | |
> gas price: 0 gwei | |
> value sent: 0 ETH | |
> total cost: 0 ETH | |
> Saving migration to chain. | |
> Saving artifacts | |
------------------------------------- | |
> Total cost: 0 ETH | |
2_simple_store.js | |
================= | |
Deploying 'SimpleStore' | |
----------------------- | |
> transaction hash: 0x5e10585d2c91c829b3befdc5776e3dafd45e710603287e6645a3ae5adeb97c15 | |
> Blocks: 0 Seconds: 0 | |
> contract address: 0x1A31b9b9D281D49001fE7F3f638000a739Afc9C3 | |
> account: 0x85a5082a6b01371caD401593ce6182E577af690f | |
> balance: 0 | |
> gas used: 0 | |
> gas price: 0 gwei | |
> value sent: 0 ETH | |
> total cost: 0 ETH | |
> Saving migration to chain. | |
> Saving artifacts | |
------------------------------------- | |
> Total cost: 0 ETH | |
3_token_contracts.js | |
==================== | |
Deploying 'MyToken' | |
------------------- | |
> transaction hash: 0xcaf5c9dbe57ef62951e8df961475d1b0ca811233652f0596349f964dc0810b70 | |
> Blocks: 0 Seconds: 0 | |
> contract address: 0x04AeD4899e1514E9eBD3b1EA19D845d60F9eAb95 | |
> account: 0x85a5082a6b01371caD401593ce6182E577af690f | |
> balance: 0 | |
> gas used: 0 | |
> gas price: 0 gwei | |
> value sent: 0 ETH | |
> total cost: 0 ETH | |
Deploying 'MyCoin' | |
------------------ | |
> transaction hash: 0x1a1357b9d3c7d9ffeda3050fa5a9d6262250b6d695b90a9298a06b7eded3711a | |
> Blocks: 0 Seconds: 0 | |
> contract address: 0x60ab575af210cc952999976854E938447E919871 | |
> account: 0x85a5082a6b01371caD401593ce6182E577af690f | |
> balance: 0 | |
> gas used: 0 | |
> gas price: 0 gwei | |
> value sent: 0 ETH | |
> total cost: 0 ETH | |
************************************************************************* | |
MyToken Contract Address: 0x04AeD4899e1514E9eBD3b1EA19D845d60F9eAb95 | |
MyCoin Contract Address: 0x60ab575af210cc952999976854E938447E919871 | |
************************************************************************* | |
> Saving migration to chain. | |
> Saving artifacts | |
------------------------------------- | |
> Total cost: 0 ETH | |
4_rinkeby_contracts.js | |
====================== | |
> Saving migration to chain. | |
------------------------------------- | |
> Total cost: 0 ETH | |
Summary | |
======= | |
> Total deployments: 4 | |
> Final cost: 0 ETH | |
Done in 60.39s. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment