Skip to content

Commit

Permalink
Merge pull request #161 from hackdays-io/add_upgradeTestCode
Browse files Browse the repository at this point in the history
Add upgrade test code & scripts code
  • Loading branch information
yu23ki14 authored Oct 28, 2024
2 parents 9ed0ec6 + a711ea9 commit cb6992c
Show file tree
Hide file tree
Showing 17 changed files with 1,520 additions and 12 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,18 @@ These solutions were combined with ideas from [Hats Protocol](https://www.hatspr
yarn contract deploy:all --network sepolia
```
- #### **upgrade BigBang contract**
```bash
yarn contract upgrade:BigBang --network sepolia
```
- #### **upgrade FractionToken Contract**
```bash
yarn contract upgrade:FractionToken --network sepolia
```
- #### **get deployed contract address**
```bash
Expand All @@ -189,3 +201,23 @@ These solutions were combined with ideas from [Hats Protocol](https://www.hatspr
```bash
yarn contract registerSubdomain --label <your label> --network sepolia
```
- #### **call bigbang task**
Please set params when you execute.
```bash
yarn contract bigbang --owner 0x51908F598A5e0d8F1A3bAbFa6DF76F9704daD072 --tophatdetails "tophatDetails" --tophatimageuri "tophatURI" --hatterhatdetails "hatterhatURI" --hatterhatimageuri "tophatDetails" --forwarder 0x51908F598A5e0d8F1A3bAbFa6DF76F9704daD072 --network sepolia
```
- #### **call getWoreTime task**
```bash
yarn contract getWoreTime --wearer 0x51908F598A5e0d8F1A3bAbFa6DF76F9704daD072 --network sepolia
```
- #### **call mintHat task**
```bash
yarn contract mintHat --hatid 17011726346972053710434886519909386955065038130623101235576378067255296 --wearer 0x1295BDc0C102EB105dC0198fdC193588fe66A1e4 --network sepolia
```
Loading

0 comments on commit cb6992c

Please sign in to comment.