Skip to content

Nacbotics-dev/ArcNFT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArcNFT

an unofficial sdk for the ALgorand ARC nft

This sdk is for the python devs

Supported Algorand NFT ARCs

you would have to run pi install first before using the sdk

pip install -r requirements.txt

Code examples

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)

Note: the parameters parsed here are just to create a basic ARC nft please referr to the SDK codes to know about more paramaters

click here for video demo

About

an unofficial sdk for the ALgorand ARC nft

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages