A react-native hot wallet that communicates with geth node.
MIT License
A react-native hot wallet that communicates with geth node.
There are two parts in this monorepo application:
Screenshot:
Download full node of the main Ethereum network on your computer:
$ brew tap ethereum/ethereum
$ brew install ethereum
$ geth --rpc --rpcaddr localhost --rpcport 8545 --rpcapi "eth,net,web3,admin"
> http://localhost:8545
Add
admin
HTTP-RPC interface for web3.js.
Screenshot:
# Development
$ cd packages/server
$ cp .env.example .env # input your own config
$ npm run dev
# Production
$ npm run build
$ npm start
# or use docker
$ docker build -t ethereum-hot-wallet/server .
$ docker run --rm -it \
-p 3000:3000 \
-e "PORT=3000" \
-e "DEBUG=server" \
-e "NODE_RPC_DOMAIN=http://localhost:8545" \
ethereum-hot-wallet/server
Endpoint example:
Rate-limiting 1 requests per sec.
Variable | Default | Description |
---|---|---|
PORT | ||
DEBUG | for npm debug | |
NODE_RPC_DOMAIN | Domain name of geth RPC |
Screenshot:
$ cd packages/mobile
$ cp .env.example .env # input your own config
$ npm run ios
Variable | Default | Description |
---|---|---|
API_DOMAIN | Domain name of server |