Skip to content

CCCric/Bepro-network-easy-create-ERC20-token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal BEPRO example

Installation

$ npm install

Start

$ npm run start

Information

By building the solution on index.js into a bundled file with bepro-js via npm run build.
The example spawns a page when npm run start is issued that will allow a user to deploy a ERC20 Token on the kovan network.

You can change this limitation, by yourself, be removing or commenting the lines 59 and 60 of the index.js file and providing the correct web3 provider link.

The default web3 provider is missing a identification required by infura - you can use any other web3 provider that you'd like; change it on line 5 of index.js

The default base ERC20 Token is using a Kovan address, don't forget to change line 12 of index.js if you plan on deploying on anyother network and use a ERC20 as a base on that network.

If you wish to use BEPRO token as defaults,

Network Contract Address
kovan 0xE3A59c7a639816e3FBf3Cf14Ed0bf6E28A8D4Fd8
moonriver 0xCb4a593ce512D78162C58384f0b2Fd6e802c2c47

To change from Kovan chain to moonriver chain comment out the respective option in both app.js and index.js On "ERC20 cap" field, you need to add 18 zeros after the desired token amount if you want 18 decimals, ex: for 1 million tokens with 18 decimals, 1000000000000000000000000

About

Create an ERC20 with bepro network SDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors