Here you can find an instruction on how to sign an Ethereum transaction with KeyChain.
Here you can try out signing Ethereum transactions with KeyChain.
Start with the command wscat -c ws://localhost:16384/ and send the create command to generate the key
wscat -c ws://localhost:16384/
create
Request a public key via
{ "command": "public_key", "params": { "keyname": "my key" } }
const ethUtil = require('ethereumjs-util'); const publicKey = 'YOUR_PUBLIC_KEY'; const fromAdd = ethUtil.publicToAddress(publicKey).toString('hex');
In case you work with ropsten - https://faucet.ropsten.be/
web3.eth.getBalance(fromAdd) .then(console.log);
You can find an example of the code here
There was an error while loading. Please reload this page.