link : Click!
Tutorial Video : Youtube
git clone https://github.com/MusaDauda/swisstronik-proxy-contract.git
cd swisstronik-deploy-proxy
npm install
create .env file in root project
touch .env
add this to your .env file
PRIVATE_KEY="your private key"
npm run compile
npm run deploy
npm run initialize
npm run add-issuers
npm run list-issuers
npm run upgrade
- Open the deployed-adddress.ts file (location in utils folder)
- Select SWTRProxy
- Copy the address and paste the address into testnet dashboard(Point1)
- Open address-with-explorer.txt file (location in utils folder)
- Copy the address explorer and paste the address into testnet dashboard(Point2)
- Open tx-hash.txt file (location in utils folder)
- Copy the transaction hash link and paste the address into testnet dashboard(Point3)
- No need push to github