Ethereum core concepts
to start quickly,
to start on your local and write tests and manually create Ethereum projects, You need: other things, below. basic-smart-contract project was created like below.
npm init
to initialize manually package.jsonnpm install --save [email protected]
solidity compilernpm i -save mocha
for testing contractsnpm i -save web3
for web3 framework to do things w/ ethereumnpm i --save ganache-cli
for ganache local ethereum vmto deploy Rinkeby Test Network
npm i --save @truffle/hdwallet-provider
node deploy.js
, then get deployed addresshttps://rinkeby.etherscan.io/
orremix.ethereum.org
, change Environment to injected Web3
. Then At Address, enter deployed address to interact w/ deployed contractto start on your local and easily create Ethereum projects, You need:
npm install -g ganache-cli
.
ganache-cli
to open server on 127.0.0.1:8545 !npm install truffle -g