๐พ Mint NFT
๐จ Read Before ๐จโ
Create NFTโ
- Python3
- Node.js
- Web
from lunespy.tx.issue import mint_NFT_factory
from lunespy.wallet import wallet_factory
sender = wallet_factory()
tx = mint_NFT_factory(
description="This Token Is Not Real, Only Test",
sender_public_key=sender.public_key,
name="My Test Token"
)
Comming Soon
Comming Soon
Sign Transactionโ
- Python3
- Node.js
- Web
tx.sign(sender.private_key)
Comming Soon
Comming Soon
Link to your Fileโ
Comming Soon
Broadcast Transactionโ
- Python3
- Node.js
- Web
tx.broadcast()
Comming Soon
Comming Soon
Full Exampleโ
- Python3
- Node.js
- Web
from lunespy.tx.issue import mint_NFT_factory
from lunespy.wallet import wallet_factory
sender = wallet_factory()
tx = mint_NFT_factory(
# public key of sender
sender_public_key=sender.public_key,
# discription about your token, max size of 1000 char
description="This Token Is Not Real, Only Test",
# name of your Token
name="My Test Token",
# if you want to send a different fee amount, the default is 100000000 (1 Lunes)
fee=100000000
)
tx.sign(
# private key of sender for sign the transaction
sender.private_key
)
tx.broadcast(
# url or ip:port of the node that will broadcast the transaction,
# (MAINNET) is https://lunesnode.lunes.io (defaul)
# (TESTNET) https://lunesnode-testnet.lunes.io
node = "https://my-full-node.com"
)
Comming Soon
Comming Soon