Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Instruction to launch a wallet on Windows.
- 1.Download geth for your platform from link https://github.com/shaftsh/shaft/releases
- 2.Create a separate folder for it
- 3.Put geth.exe in folder you just created.
- 4.Then download the batch file from this link https://mega.nz/#!xmJGXDZZ!ZRUoNj-0mJNeHM7cin6HpHL7mAYFFpQ05V0W4n_5BJk
- 5.Put .bat file in the same folder, you have created before 6.When the .bat file is launched, the console will appear
- 7.Wait for the full synchronisation is not necessary. To Create your address type this command : personal.newAccount("password")
- This command creates a wallet. Instead of "password", write your password. Quotes must be written also.
- Additional commands:
- *To find out the address of your wallet, write:
- web3.eth.accounts [0]
- The console will give out your address in green.
- *To check the balance on your wallet, write this:
- 1st option ↓↓↓
- web3.fromWei (eth.getBalance (web3.eth.accounts [0]), "ether")
- 2nd option ↓↓↓
- eth.getBalance ("wallet address")
- *To open an account for transactions write following command:
- personal.unlockAccount ("WALLET address", "your password PASSWORD", 300)
- After entering this command in case of success console will return "True" . Now you can send coins from our wallet.
- *To send coins we write:
- web3.eth.sendTransaction ({from: "YOUR ADDRESS", to: "ADDRESS OF WHERE WE SEND COINS", value: web3.toWei(amount of coins to be send, "ether")})
- To open an account for transactions write:
- personal.unlockAccount ("WALLET", "PASSWORD", 300)
- After entering the console, you should give "true". Now we can send coins from our wallet.
- To send coins we write:
- web3.eth.sendTransaction ({from: "YOUR ADDRESS", to: "ADDRESS OF WHOM WE SEND COINS", value: web3.toWei (coin count, "ether")})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement