Skip to content

Commit

Permalink
Update play.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Sep 5, 2022
1 parent 4ef9d1e commit d036f84
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 15 deletions.
3 changes: 3 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ accounts:
- name: masterminter
coins: ['10000token', '100000000stake']
mnemonic: peanut humble castle coin diet spy idea raven candy ice electric walnut fuel lizard depart owner kid piano cram slow session fancy page deposit
- name: blacklister
coins: ['10000token', '100000000stake']
mnemonic: cradle change member under cycle soul liquid figure develop digital risk dream render want nice purse spawn simple entry steel average dutch recall census
- name: minter
coins: ['10000token', '100000000stake']
mnemonic: wife salt elbow stand result virtual exotic enroll dash jewel shuffle cushion grass arrest unknown swap radar pulse ahead front husband approve dad concert
Expand Down
46 changes: 31 additions & 15 deletions play.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,32 @@
export MASTER_MINTER_ADDRESS=$(nobled keys show masterminter -a)
export MINTER_ADDRESS=$(nobled keys show minter -a)
export USER_ADDRESS=$(nobled keys show user -a)

sleep 3
nobled tx tokenfactory update-master-minter $MASTER_MINTER_ADDRESS --from owner -y
sleep 3
nobled tx tokenfactory configure-minter $MINTER_ADDRESS 1000usdc --from masterminter -y
sleep 3
nobled tx tokenfactory mint $USER_ADDRESS 100usdc --from minter -y
sleep 3
nobled q bank balances $USER_ADDRESS
sleep 3
sleep 2
nobled tx tokenfactory update-master-minter $(nobled keys show masterminter -a) --from owner -y
sleep 2
nobled tx tokenfactory configure-minter $(nobled keys show minter -a) 1000usdc --from masterminter -y
sleep 2
nobled tx tokenfactory mint $(nobled keys show user -a) 100usdc --from minter -y
sleep 2
nobled q bank balances $(nobled keys show user -a)
sleep 2
nobled q tokenfactory list-minters
sleep 3
nobled tx tokenfactory mint $USER_ADDRESS 99999999999999usdc --from minter -y
sleep 2
nobled tx tokenfactory mint $(nobled keys show user -a) 99999999999999usdc --from minter -y
sleep 2
nobled tx tokenfactory update-blacklister $(nobled keys show blacklister -a) --from owner -y
sleep 2
nobled tx tokenfactory blacklist $(nobled keys show minter -a) --from blacklister -y
sleep 2
nobled tx tokenfactory mint $(nobled keys show user -a) 100usdc --from minter -y
sleep 2
nobled tx tokenfactory unblacklist $(nobled keys show minter -a) --from blacklister -y
sleep 2
nobled tx tokenfactory mint $(nobled keys show user -a) 100usdc --from minter -y
sleep 2
nobled q bank balances $(nobled keys show user -a)
sleep 2
nobled tx tokenfactory blacklist $(nobled keys show user -a) --from blacklister -y
sleep 2
nobled tx tokenfactory mint $(nobled keys show user -a) 100usdc --from minter -y
sleep 2
nobled tx tokenfactory unblacklist $(nobled keys show user -a) --from blacklister -y
sleep 2
nobled tx tokenfactory mint $(nobled keys show user -a) 100usdc --from minter -y

0 comments on commit d036f84

Please sign in to comment.