an unofficial sdk for the ALgorand ARC nft
-
ARC3
-
ARC19
-
ARC69
you would have to run pi install first before using the sdk
pip install -r requirements.txt
import the SDK
from ArcNFT.ArcNFT import ARCNFT
Vist purestake to get your algodToken token,
vist pinata to get your <pinata_api_key>
and <pinata_secret_key>
tokens
arcNFT = ARCNFT(algodToken=<algodToken>,pinata_api_key=<pinata_api_key>,pinata_secret_key=<pinata_secret_key>)
To create an ARC3 NFT
myArc3NFT = arcNFT.create_arc3_nft(
creator=address,
creator_key=private_key,
filePath=filePath,name="yani yannu",
symbol="Yanyan",
description="Beauty Goddess"
)
To create an ARC19 NFT
myArc19NFT = arcNFT.create_arc19_nft(
creator=address,
creator_key=private_key,
filePath=filePath,
name="Ha mulan",
symbol="HaM",
description="The warrior queen",
creator_name="Supreme leader")
To create an ARC69 NFT
myArc69NFT = arcNFT.create_arc69_nft(
creator=address,
creator_key=private_key,
filePath=filePath,
name="Lady warrior",
symbol="LWA",
description="The blooming princess",
creator_name="Supreme leader")
To update an ARC NFT
updateMYNFT = arcNFT.update_arc_nft(asset_id="157574395",creator_key=private_key)