Skip to content

rsksmart/rif-faucet-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tRIF Faucet

Setup

git clone https://github.com/riflabs/rif-faucet-client.git
cd rif-faucet-client
yarn

Run

yarn start

Build for production

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Usage

  1. Install Metamask
  2. Connect Metamask to RSK Testnet

Public node: https://public-node.testnet.rsk.co

  1. Click on dispense!

Configuration file

Under /src/config.json file, configure the token contract under rif key, and the faucet contract address under faucet key.

A sample faucet contract can be found in the Github Repository "rif-faucet".