Skip to content

Commit

Permalink
Update Choice_Coin_Creation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Arch222 authored Oct 27, 2021
1 parent c141d39 commit 0f12f05
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions configurations/Choice_Coin_Creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,16 @@ def create_choice():
print("Your transaction information is at https://testnet.algoexplorer.io/tx/" + transaction_id)
#This gets the transaction id and then prints it on the console. The transaction is on AlgoExplorer, a block-explorer for Algorand.
#AlgoExplorer is also the official block-explorer for Choice Coin as well.


def choice_modify():
params = algod_client.suggested_params()
transaction = AssetConfigTxn(creator_address, params, index = asset_id, manager = creator_address, reserve = creator_address, freeze = "", clawback = "", strict_empty_address_check = False)
signature = transaction.sign(creator_key)
#Signs the transaction with the sender's private key
algod_client.send_transaction(signature)
transaction_id = transaction.get_txid()
transaction_id = str(transaction_id)
print("Your transaction information is at https://testnet.algoexplorer.io/tx/" + transaction_id)


0 comments on commit 0f12f05

Please sign in to comment.