Skip to content

Commit 3f7ed18

Browse files
authored
Merge pull request #5 from nullun/mainnet-client
Add mainnet validator app ID and remove raise exception.
2 parents 70e90fa + 40f7507 commit 3f7ed18

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: tinyman/v1/client.py

-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ def __init__(self, algod_client=None, user_address=None):
9090

9191
class TinymanMainnetClient(TinymanClient):
9292
def __init__(self, algod_client=None, user_address=None):
93-
raise Exception('Not on mainnet yet!')
9493
if algod_client is None:
9594
algod_client = AlgodClient('', 'https://api.algoexplorer.io', headers={'User-Agent': 'algosdk'})
9695
super().__init__(algod_client, validator_app_id=MAINNET_VALIDATOR_APP_ID, user_address=user_address)

Diff for: tinyman/v1/constants.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
SWAP_APP_ARGUMENT = "c3dhcA=="
66

77
TESTNET_VALIDATOR_APP_ID = 21580889
8-
MAINNET_VALIDATOR_APP_ID = None
8+
MAINNET_VALIDATOR_APP_ID = 350338509

0 commit comments

Comments
 (0)