Skip to content

maxikgreat/leo-web3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started with Leo Web3

Before deploy on Ropsten

Replace

ROPSTEN_URL=''

PRIVATE_KEY=''

with your provider url and your account private key

Start app

  1. From root directory go to ./erc-20token folder and install all libraries - cd erc-20-token && npm i
  2. To ensure you're using up-to-date abis and types of contracts run npm run compile
  3. Start blockchain node running npm run node (keep it in opened tab)
  4. Next deploy contract to network with npm run deploy:local
  5. Save token contract address and address private key which will appear in terminal to pass it throw wallet
  6. Back to root folder and open leo-swap client application typing cd ../leo-swap
  7. Install all dependencies for it too npm i
  8. Generate the latest types for deployed contacts npm run generate-types
  9. Type npm run start to launch application

Another useful scrips

npm run test

(in erc-20-token folder)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors