This repository was archived by the owner on May 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +5424
-6
lines changed Expand file tree Collapse file tree 6 files changed +5424
-6
lines changed Original file line number Diff line number Diff line change 7
7
from nftlabs .types import Role
8
8
9
9
options = nftlabs .options .SdkOptions ()
10
- # sdk = NftlabsSdk(options, "https://rpc-mumbai.maticvigil.com")
11
- sdk = NftlabsSdk (options , "https://polygon-rpc.com" )
10
+ sdk = NftlabsSdk (options , "https://rpc-mumbai.maticvigil.com" )
11
+ # sdk = NftlabsSdk(options, "https://polygon-rpc.com")
12
12
sdk .set_private_key (os .getenv ("PKEY" ))
13
13
#
14
14
# currency_module = sdk.get_currency_module("0xd75807e8D122A4DDF3bCCBB67fC33D8d78955726")
23
23
# pprint(currency_module.get_all_role_members())
24
24
#
25
25
26
- nft_module = sdk .get_nft_module ("0x718526F74cD27bAc8ae256D2B94dB4a8c640C283" )
27
- print (nft_module .total_supply ())
26
+ # nft_module = sdk.get_nft_module("0x718526F74cD27bAc8ae256D2B94dB4a8c640C283")
27
+ # print(nft_module.total_supply())
28
28
29
29
# minted_nft = nft_module.mint(arg=MintArg(name="Test 123", description="Some description"))
30
30
# print(minted_nft)
43
43
44
44
# nft_module.grant_role(Role.admin, "0x26ec212ba1854F1a0c287e5B8E3e5463122EFb47")
45
45
46
+ pack_module = sdk .get_pack_module ("0x1E12bFfa725a6dC19530eccf059111524476EAc2" )
47
+ print (pack_module .get_all_role_members ())
Original file line number Diff line number Diff line change 1
1
from .coin import *
2
2
from .erc20 import *
3
3
from .nft import *
4
+ from .pack import *
You can’t perform that action at this time.
0 commit comments