yarn install
embark run
(optional --nodashboard
)yarn start
(starts create-react-app pipeline)git clone https://github.com/tabookey/tabookey-gasless
cd tabookey-gasless
git checkout 2316c7422d50ac0242f8442f6dc98d0c85512c13
npm install
npm test
./build/server/bin/RelayHttpServer -RelayHubAddress RELAY_HUB_CONTRACT_ADDRESS_HERE -Workdir ./build/server --EthereumNodeUrl http://localhost:8555
Replace the RelayHub contract address for the correct address.
Browse http://localhost:8090/getaddr. Copy the address
RelayHub.methods.stake(RELAYER_ADDRESS_GOES_HERE, 30).send({value: web3.utils.toWei("1", "ether"), gas:800000})
web3.eth.sendTransaction({from: web3.eth.defaultAccount, to: RELAYER_ADDRESS_GOES_HERE, value: web3.utils.toWei("3", "ether")})
embark build testnet
yarn run build