Replace
ROPSTEN_URL=''
PRIVATE_KEY=''
with your provider url and your account private key
- From root directory go to
./erc-20tokenfolder and install all libraries -cd erc-20-token && npm i - To ensure you're using up-to-date abis and types of contracts run
npm run compile - Start blockchain node running
npm run node(keep it in opened tab) - Next deploy contract to network with
npm run deploy:local - Save token contract address and address private key which will appear in terminal to pass it throw wallet
- Back to root folder and open
leo-swapclient application typingcd ../leo-swap - Install all dependencies for it too
npm i - Generate the latest types for deployed contacts
npm run generate-types - Type
npm run startto launch application
(in erc-20-token folder)