-
Cardano-cli-balance-fixer: https://github.com/Canonical-LLC/cardano-cli-balance-fixer
-
Deadalus Wallet (or Cardano Node) https://daedaluswallet.io/
In the Envvars you define the policyid and the nftname (in HEX)
source ./Preprod.Envvars
./CreateWallets.sh
Send enough ADA and the Tokens to the Seller Wallet Address
./GetUtxos.sh
In the Datums the Address for the Seller, Buyer, Royalties and Markteplace are used. If you want to use an other wallet address, you have to specifiy the addressed here
./MakeDatums.sh
./HashDatums.sh
./LockNftInSmartcontract.sh
./QueryTheSmartContract.sh
You need at least the amount what it costs + 3 ADA for extraoutput + 1 ADA for the changeaddress. So if the NFT costs 8, have at least 12 ADA in the Wallet
./BuyNft.sh