GithubHelp home page GithubHelp logo

pinkdiamond1 / web-wallet-2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from omgnetwork/web-wallet

0.0 1.0 0.0 3.18 MB

License: Apache License 2.0

Shell 0.59% JavaScript 88.16% HTML 0.30% Dockerfile 0.15% SCSS 10.80%

web-wallet-2's Introduction

Web Wallet

CircleCI

This is an example client side wallet built with React.js which allows you to make interactions with the OMG network from the browser. To run this application locally, make sure you have a local instance of elixir-omg running or have access to an already deployed network.

  • This example application is using omg-js
  • Requires Node 12.16.1

Initial Setup

  1. Install dependencies by running npm install from the root

  2. Create a .env file in the root and add your configuration. See .env.template for an example with fake variables.

REACT_APP_WATCHER_URL=        the watcher url
REACT_APP_PLASMA_ADDRESS=     the plasma framework address
REACT_APP_BLOCKEXPLORER_URL=  the block explorer url 
REACT_APP_ETHERSCAN_URL=      the etherscan url (https://etherscan.io, etc.)
REACT_APP_SYNC_INTERVAL=      max number of blocks that watcher has to sync to the child chain before allowing further transactions
REACT_APP_POLL_INTERVAL=      number of seconds to poll account data
REACT_APP_NETWORK=            the network your environment is on (ropsten, rinkeby, private, main, etc.)
REACT_APP_ALTERNATE_WALLETS=  *optional* other web wallets hosted on different envs, follow this format -> name,url|name,url|name,url
REACT_APP_SENTRY_DSN=         *optional* sentry dsn handler
REACT_APP_GTM_ID=             *optional* google tag manager id (GTM-XXXXXXX)
REACT_APP_RPC_PROXY=          *optional, required for WalletConnect support* rpc url for connection to a remote ethereum node
  1. Make sure you are using the correct version of Node

  2. Start the app by running npm run start from the root directory.

Running the wallet locally

Open up your browser and navigate to http://localhost:3000.

From here, you can perform these actions:

  1. Deposit into the OMG Network.

  2. Transfer funds on the OMG Network.

  3. Exit your funds back to the Rootchain.

  4. Process exits to receive your funds back on the Rootchain.

web-wallet-2's People

Contributors

5712249898 avatar captheorem avatar dependabot[bot] avatar inomurko avatar kendricktan avatar kevsul avatar mikebryant avatar nicholasmueller avatar pongch avatar souradeep-das avatar

Watchers

 avatar

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.