Advertisement
Guest User

Wallet instructions

a guest
Sep 26th, 2017
1,416
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. Instruction to launch a wallet on Windows.
  2. 1.Download geth for your platform from link https://github.com/shaftsh/shaft/releases
  3. 2.Create a separate folder for it
  4. 3.Put geth.exe in folder you just created.
  5. 4.Then download the batch file from this link https://mega.nz/#!xmJGXDZZ!ZRUoNj-0mJNeHM7cin6HpHL7mAYFFpQ05V0W4n_5BJk
  6. 5.Put .bat file in the same folder, you have created before
6.When the .bat file is launched, the console will appear
  7. 7.Wait for the full synchronisation is not necessary. To Create your address type this command : personal.newAccount("password")
  8. This command creates a wallet. Instead of "password", write your password. Quotes must be written also.
  9.  
  10. Additional commands:
  11. *To find out the address of your wallet, write:
  12. web3.eth.accounts [0]
  13. The console will give out your address in green.
  14. *To check the balance on your wallet, write this:
  15. 1st option ↓↓↓
  16. web3.fromWei (eth.getBalance (web3.eth.accounts [0]), "ether")
  17. 2nd option ↓↓↓
  18. eth.getBalance ("wallet address")
  19. *To open an account for transactions write following command:
  20. personal.unlockAccount ("WALLET address", "your password PASSWORD", 300)
  21. After entering this command in case of success console will return "True" . Now you can send coins from our wallet.
  22. *To send coins we write:
  23. web3.eth.sendTransaction ({from: "YOUR ADDRESS", to: "ADDRESS OF WHERE WE SEND COINS", value: web3.toWei(amount of coins to be send, "ether")})
  24.  
  25.  
  26. To open an account for transactions write:
  27. personal.unlockAccount ("WALLET", "PASSWORD", 300)
  28. After entering the console, you should give "true". Now we can send coins from our wallet.
  29.  
  30. To send coins we write:
  31. 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