Post
Topic
Board Announcements (Altcoins)
Re: [ANN][UBQ] Ubiq - Smart Contracts For An Automated World
by
BoscoMurray
on 04/02/2017, 21:54:23 UTC
Please show an example of the CLI commands that would send the coins. I try by analogy with ETH, but make a mistake somewhere.

Examples below when connected via CLI:

1. Sending 0.05 UBQ from my 1st account to my 2nd account:
eth.sendTransaction({from: eth.accounts[0], to: eth.accounts[1], value: web3.toWei(0.05, 'ether')})

2. Sending 0.05 UBQ from my 2nd account to some other UBQ address:
eth.sendTransaction({from: eth.accounts[1], to: '0x8659d3c274c29aac6711aeddf9b6fada40f4efa6', value: web3.toWei(0.05, 'ether')})

Edit: you may need to unlock the account, before you enter the above commands:
personal.unlockAccount(eth.accounts[0])