Skip to content

Instantly share code, notes, and snippets.

@mr-fool
Created January 23, 2019 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mr-fool/842ca7ccf0a99a14f70e4c4cf18bf5b8 to your computer and use it in GitHub Desktop.
Save mr-fool/842ca7ccf0a99a14f70e4c4cf18bf5b8 to your computer and use it in GitHub Desktop.
C:\Users\hetzer\Documents\dApp>truffle migrate
Could not connect to your Ethereum client. Please check that your Ethereum client:
- is running
- is accepting RPC connections (i.e., "--rpc" option is used in geth)
- is accessible over the network
- is properly configured in your Truffle configuration file (truffle-config.js)
Truffle v5.0.2 (core: 5.0.2)
Node v11.1.0
C:\Users\hetzer\Documents\dApp>migrate development
'migrate' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\hetzer\Documents\dApp>truffle development
Truffle Develop started at http://127.0.0.1:9545/
Accounts:
(0) 0xbb3dcc3a4385a6b20d9a6b8bda47732add978af2
(1) 0x14302bb8a2d5b92089b0ffb31c573e8dab4af35d
(2) 0xb0e9293b032477b6b20145884df034bf79885f50
(3) 0x0aee5a5c4f4264fbc9ff35648628e441394206b9
(4) 0x78423466925ff7c7c8bd0069029c9e4b726a6b10
(5) 0x476239cbe79bd907bdbad718d007a117be833f87
(6) 0x79c6b6b8ae84ee3323a6927748f47e90799211d1
(7) 0x7fed209880c13de3a8a9834b5f79b56956277406
(8) 0xf9f1faf071b1b48f1d6963a2e04e06d740f96f1e
(9) 0x8ac9b63212748aa1a349a0f5fa463eace021eef0
truffle(develop)>
Private Keys:
(0) 82f20cf20f47f4673d9d5796771f351c8c24b043bdd6b0c66270b65b1ed54807
(1) 7986eb154ec0e16d8d5e2d0036b571b9ddc76be02e828d208e45729acf8f3c5e
(2) 994c6a69a0f1d4c964c1f197bb2a5a313be825b564a677d2a740bea4ce4a080a
(3) 46c1e2808508ceb4d4c95e3ed2c29d8177df803f0dd25be49a93b3a09ffc8ffb
(4) ef4be6302414e56d7033b6ad970396a208d0668969aa7482cf6d26c7fc3db9f6
(5) 7479cb7c0503a12f3415cc2c18efb0234872e7cdefacbaef391d29258151701f
(6) 89134f395677fe917e38c6d1412ee3facf7eeb556e4166e143bd834a9bc7ccb1
(7) 273cc5c3d372936a41acbdc93d04c2d98c3e7f13e677c52b82870480d6cba6d8
(8) d6ac70493f4d6d2f44bc63586cd27aa49c2d185dada841d47cab983879c5cdb7
(9) 8f93ebdbe9fbb33184535685057e61bf1f40f78ed6e561590c615ee85b9eda32
Mnemonic: sweet note hazard boat change flight smoke cement cry voice great act
⚠️ Important ⚠️ : This mnemonic was created for you by Truffle. It is not secure.
Ensure you do not use it on production blockchains, or else you risk losing funds.
truffle(develop)> migrate
⚠️ Important ⚠️
If you're using an HDWalletProvider, it must be Web3 1.0 enabled or your migration will hang.
Starting migrations...
======================
> Network name: 'develop'
> Network id: 4447
> Block gas limit: 6721975
1_initial_migration.js
======================
Deploying 'Migrations'
----------------------
> transaction hash: 0x21d094de39ef05c2037c2e0c5c1bf586facb62d2620e50c31db739e9549ee24d
> Blocks: 0 Seconds: 0
> contract address: 0x31d862C2A3805d74bc8A9D6851a57EE57C2c41CB
> account: 0xBB3DcC3a4385A6B20d9A6b8bda47732adD978aF2
> balance: 99.99430184
> gas used: 284908
> gas price: 20 gwei
> value sent: 0 ETH
> total cost: 0.00569816 ETH
> Saving migration to chain.
> Saving artifacts
-------------------------------------
> Total cost: 0.00569816 ETH
Summary
=======
> Total deployments: 1
> Final cost: 0.00569816 ETH
truffle(develop)> migrate --reset
⚠️ Important ⚠️
If you're using an HDWalletProvider, it must be Web3 1.0 enabled or your migration will hang.
Starting migrations...
======================
> Network name: 'develop'
> Network id: 4447
> Block gas limit: 6721975
1_initial_migration.js
======================
Replacing 'Migrations'
----------------------
> transaction hash: 0x1bc20e8f04abf8b72799b72ae6fa2a4d4f43fa639fe8e585f47b027b6b73dfeb
> Blocks: 0 Seconds: 0
> contract address: 0x868518D2557b8Ae59Ec6595F5de62286430ec814
> account: 0xBB3DcC3a4385A6B20d9A6b8bda47732adD978aF2
> balance: 99.987763
> gas used: 284908
> gas price: 20 gwei
> value sent: 0 ETH
> total cost: 0.00569816 ETH
> Saving migration to chain.
> Saving artifacts
-------------------------------------
> Total cost: 0.00569816 ETH
Summary
=======
> Total deployments: 1
> Final cost: 0.00569816 ETH
truffle(develop)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment