Coder Social home page Coder Social logo

benlongstaff / tbtc-dapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from keep-network/tbtc-dapp

0.0 0.0 0.0 29.82 MB

Deposit BTC and redeem TBTC

Home Page: http://dapp.test.tbtc.network/

License: MIT License

JavaScript 76.94% HTML 1.03% Dockerfile 0.38% SCSS 21.65%

tbtc-dapp's Introduction

tBTC dApp

Development

Setup

The dApp requires a version of the tbtc.js library corresponding to the environment being tested on. Versions with version -pre* are for the Keep internal testnet and will not work with Ropsten. For Ropsten, look for versions of tbtc.js labeled -rc* instead. Clones of the`master` branch of this repository will by default use a -pre* version of the tbtc.js library; this version can be adjusted in the package.json file.

Run

npm start runs the app in the development mode.<br> Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

Docker

To build a Docker image execute:

docker build . -t tbtc-dapp

To run the Docker image execute:

docker run -p 8080:80 tbtc-dapp

This will expose the app under http://localhost:8080.

Internal Testnet

To access the internal Keep testnet you need to be connected to it via VPN. Contracts with which the app is interacting are deployed under an address that depends on the current deployment; the latest tbtc.js version with prerelease id pre should point to the deployed version.

MetaMask

To use the internal testnet, a custom network must be added to MetaMask:

RPC URL

http://eth-tx-node.default.svc.cluster.local:8545

ChainID

1101

tbtc-dapp's People

Contributors

nkuba avatar liamzebedee avatar shadowfiend avatar ironng avatar pdyraga avatar mhluongo avatar taggartbg avatar r-czajkowski avatar vinnyr avatar brandoncurtis avatar nicholasdotsol avatar benlongstaff avatar dimpar avatar lukasz-zimnoch avatar miracle2k avatar ronmnm 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.