Skip to content

Kifen/SmartToken

Repository files navigation

SmartToken

This is an ERC20 token and Dapp, that implements a bonding curve for dynamic token distribution.

bd

It implements a basic bonding curve where currentPrice = tokenSupply

Run

Clone and install dependencies

$ git clone git@github.com:Kifen/SmartToken.git $ cd SmartToken && npm i

Create file .env.development.local in project root and add the following:

RINKEBY_URL= <Infura Rinkeby URL>
PK=<Private Key>
RESERVE_TOKEN=0x5592ec0cfb4dbc12d3ab100b257153436a1f0fea

Set environment to development.

$ export NODE_ENV=development

Run tests

$ npx hardhat test

Run Dapp - ensure Metamask is installed. Dapp supports only Metamask, and runs on the Rinkeby network.

$ npm start

The webapp runs on http://localhost:3000/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors