You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Meteor and npm have a wierd bug. Configure the proxies as follows.
'''
npm config set proxy http://user:pass@10.3.100.207:8080
npm config set https-proxy http://user:pass@10.3.100.207:8080
export HTTP_PROXY=http://user:pass@10.3.100.207:8080
export HTTPS_PROXY=http://user:pass@10.3.100.207:8080
'''
$geth --datadir path/to/dataDir init path/to/genesis.json
$geth --identity "nodeB" --rpc --rpcport "8000" --rpccorsdomain "*" --datadir "./d1" --port "PORT" --ipcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3" --rpcapi "db,eth,net,web3" --autodag --networkid 1900 --nat "any" console
# Each node should have different PORT
Launch Meteor
$cd path/to/scratch/
$meteor
To deploy the contract
[Refer here](https://github.com/ethereum/go-ethereum/wiki/Contract-Tutorial).
After deploying find the contract address as ContractObj.address
Change the '''address=\'...\' ''' line in scratch/client/lib/init.js to this address.