Skip to content

limiter0x/swisstronik-proxy-contract

Repository files navigation

Swisstronik Tesnet Techinal Task 6 (Deploy Proxy)

link : Click!

Tutorial Video : Youtube

Steps

1. Clone Repository

git clone https://github.com/MusaDauda/swisstronik-proxy-contract.git
cd swisstronik-deploy-proxy

2. Install Dependency

npm install

3. Set .env File

create .env file in root project

touch .env

add this to your .env file

PRIVATE_KEY="your private key"

4. Compile Smart Contract

npm run compile

5. Deploy Smart Contract

npm run deploy

6. Initialize Owner

npm run initialize

7. Add Issuer

npm run add-issuers

8. Get Issuers list

npm run list-issuers

9. Upgrade Smart Contract

npm run upgrade

10. Finsihed

  • 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

About

Swisstronik Proxy Contract Challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published