DApp which provides a platform for borderless, peer-to-peer, fiat-to-crypto echanges that allows Stakeholders to find nearby users to exchange their cash for digital assets and currency.
https://teller.exchange/
97a966b9f7 | ||
---|---|---|
.github/ISSUE_TEMPLATE | ||
.storybook | ||
contracts | ||
cypress | ||
embarkConfig | ||
images | ||
old | ||
public | ||
src | ||
stories | ||
test | ||
utils | ||
.babelrc | ||
.eslintrc.json | ||
.gitattributes | ||
.gitignore | ||
.snyk | ||
.solhint.json | ||
.soliumignore | ||
.soliumrc.json | ||
.travis.yml | ||
CONTRIBUTING.md | ||
README.md | ||
SWARM.md | ||
cypress.json | ||
embark.json | ||
package.json | ||
shared.mainnet.json | ||
shared.rinkeby.json | ||
shared.ropsten.chains.json | ||
yarn.lock |
README.md
status-teller-network
Installation
yarn install
Running
embark run
(optional--nodashboard
)yarn start
(starts create-react-app pipeline)
Running Tabookey Gas Relayer (no docker. For docker, see their README)
- Clone v3.0.0 of tabookey-gasless
git clone https://github.com/tabookey/tabookey-gasless
cd tabookey-gasless
git checkout 2316c7422d50ac0242f8442f6dc98d0c85512c13
npm install
npm test
- Run the server. (Embark must be running, and it should have deployed the RelayHub contract)
./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
-
Stake ether for that address. You can execute this in the embark console:
RelayHub.methods.stake(RELAYER_ADDRESS_GOES_HERE, 30).send({value: web3.utils.toWei("1", "ether"), gas:800000})
- Send some ether to the relayer
web3.eth.sendTransaction({from: web3.eth.defaultAccount, to: RELAYER_ADDRESS_GOES_HERE, value: web3.utils.toWei("3", "ether")})
- Relayer should register itself now that there's a stake. Otherwise restart the server
Deploying
embark build testnet
yarn run build