Giter Site home page Giter Site logo

evenchange4 / ethereum-hot-wallet Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 3.0 13.78 MB

A react-native hot wallet that communicates with geth node.

License: MIT License

JavaScript 96.28% Dockerfile 2.29% Shell 1.43%
ethereum react-native create-react-native-app web3js

ethereum-hot-wallet's Introduction

Ethereum Hot Wallet

A react-native hot wallet that communicates with geth node.

Travis Codecov Status license

There are two parts in this monorepo application:

  1. RESTful Server: A micro-service of geth RPC interface.
  2. Mobile: React-native client.

Demo

Screenshot:

mobile

Technology Stack

  • Micro - Micro HTTP server
  • Create-react-native-app - Zero configuration
  • Ant design - Native mobile UI
  • Docker

Setup

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:

geth

Development

  • node >= v10.8.0
  • yarn >= 1.9.4

Server

# 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:

server


Mobile

$ cd packages/mobile
$ cp .env.example .env # input your own config
$ npm run ios
Variable Default Description
API_DOMAIN Domain name of server

CONTRIBUTING

  • โ‡„ Pull requests and โ˜… Stars are always welcome.
  • For bugs and feature requests, please create an issue.
  • Pull requests must be accompanied by passing automated tests.

MIT: http://michaelhsu.mit-license.org

ethereum-hot-wallet's People

Contributors

evenchange4 avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ethereum-hot-wallet's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): replace dependency babel-eslint with @babel/eslint-parser
  • chore(deps): update dependency react-native-scripts to v1.14.1
  • chore(deps): update dependency request to v2.88.2
  • chore(deps): update dependency request-promise to v4.2.6
  • chore(deps): update dependency codecov to v3.8.3
  • chore(deps): update dependency eslint-plugin-import to v2.29.1
  • chore(deps): update dependency eslint-plugin-jsx-a11y to v6.8.0
  • chore(deps): update dependency eslint-plugin-prettier to v2.7.0
  • chore(deps): update dependency lerna to v3.22.1
  • chore(deps): update dependency lint-staged to v7.3.0
  • chore(deps): update dependency micro-dev to v3.1.0
  • chore(deps): update dependency prettier to v1.19.1
  • fix(deps): update dependency antd-mobile-rn to v2.3.3
  • fix(deps): update dependency babel-plugin-macros to v2.8.0
  • fix(deps): update dependency dotenv-safe to v6.1.0
  • fix(deps): update dependency micro to v9.4.1
  • fix(deps): update dependency micro-ratelimit to v0.4.0
  • fix(deps): update dependency ramda to v0.29.1
  • fix(deps): update dependency react-native to v0.74.0
  • fix(deps): update dependency react-native-router-flux to v4.3.1
  • chore(deps): update dependency babel-eslint to v10
  • chore(deps): update dependency eslint to v9
  • chore(deps): update dependency eslint-config-airbnb to v19
  • chore(deps): update dependency eslint-config-prettier to v9
  • chore(deps): update dependency eslint-plugin-flowtype to v8
  • chore(deps): update dependency eslint-plugin-jest to v28
  • chore(deps): update dependency eslint-plugin-prettier to v5
  • chore(deps): update dependency husky to v9
  • chore(deps): update dependency lerna to v8
  • chore(deps): update dependency lint-staged to v15
  • chore(deps): update dependency prettier to v3
  • chore(deps): update dependency react-native-scripts to v2
  • chore(deps): update jest monorepo to v29 (major) (babel-jest, jest)
  • chore(deps): update node.js to v20
  • fix(deps): update dependency babel-plugin-macros to v3
  • fix(deps): update dependency debug to v4
  • fix(deps): update dependency dotenv-safe to v9
  • fix(deps): update dependency micro to v10
  • fix(deps): update dependency react to v18
  • fix(deps): update dependency web3 to v4
  • fix(deps): update expo monorepo to v50 (major) (expo, jest-expo)
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
packages/server/Dockerfile
  • node 10.8.0
npm
package.json
  • babel-eslint 8.2.6
  • codecov 3.0.4
  • eslint 5.3.0
  • eslint-config-airbnb 17.1.0
  • eslint-config-prettier 3.0.1
  • eslint-plugin-flowtype 2.50.0
  • eslint-plugin-import 2.14.0
  • eslint-plugin-jest 21.21.0
  • eslint-plugin-jsx-a11y 6.1.1
  • eslint-plugin-prettier 2.6.2
  • eslint-plugin-react 7.11.0
  • flow-bin 0.78.0
  • flow-coverage-report 0.5.0
  • husky 0.14.3
  • lerna 3.0.4
  • lint-staged 7.2.2
  • prettier 1.14.2
packages/mobile/package.json
  • antd-mobile-rn 2.2.1
  • babel-plugin-macros 2.4.0
  • dotenv.macro 1.0.0
  • expo 27.1.1
  • react 16.4.2
  • react-native 0.55.4
  • react-native-router-flux 4.0.1
  • enzyme 3.4.1
  • enzyme-adapter-react-16 1.2.0
  • enzyme-to-json 3.3.4
  • flow-bin 0.78.0
  • jest-expo 27.0.1
  • react-native-scripts 1.14.0
packages/server/package.json
  • debug 3.1.0
  • dotenv-safe 6.0.0
  • micro 9.3.3
  • micro-compress 1.0.0
  • micro-ratelimit 0.3.0
  • microrouter 3.1.3
  • ramda 0.25.0
  • web3 1.0.0-beta.35
  • @babel/cli 7.0.0-rc.1
  • @babel/core 7.0.0-rc.1
  • @babel/node 7.0.0-rc.1
  • @babel/plugin-proposal-object-rest-spread 7.0.0-rc.1
  • @babel/preset-env 7.0.0-rc.1
  • @babel/preset-flow 7.0.0-rc.1
  • babel-core 7.0.0-bridge.0
  • babel-jest 23.4.2
  • babel-plugin-add-module-exports 0.3.2
  • flow-bin 0.78.0
  • jest 23.5.0
  • micro-dev 3.0.0
  • request 2.88.0
  • request-promise 4.2.2
  • test-listen 1.1.0
travis
.travis.yml
  • node 10.8.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.