Closed firojalamkhan786 closed 2 years ago
Hello @firojalamkhan786! Blockfrost SDK is a library that provides an access to all the data on the blockchain and allows to push more data via submitting a transaction. The purpose of this library isn't to handle the process of building the transaction itself, which can be quite complex.
For an example, Blockfrost SDK will help you to retrieve UTXOs for your address which are used as inputs in a transaction. Once you have your transaction built then you can use the SDK again to send it to the blockchain.
For building a transaction - adding inputs, outputs, calculating fees and all that you can use Cardano Serialization Lib. Follow its documentation and examples for more info.
If you are fan of CLI tools here is a tutorial for creating a transaction with cardano-cli https://developers.cardano.org/docs/stake-pool-course/handbook/create-simple-transaction/
We are planning to add some basic tutorials in the future. In the meantime these resources should help with building your first transaction!
Thank you for your response.
Hi again @firojalamkhan786, we've just merged an example on how to build a simple transaction and push it to the blockchain. It will not mint an NFT for you, but it should provide the basics for integrating Blockfrost into the process. https://github.com/blockfrost/blockfrost-js/tree/master/examples/simple-transaction
If you don't mind I'll close this issue. If you have any problem while using the SDK don't hesitate to open a new one.
I want to mint NFT by using the Blockfrost-js library, Please provide the complete steps that are required for doing that. Please share the working example code.