I am trying to create an NFT loan. The idea is that the NFT needs to store the amount of loan, interest rate, period etc. These data will be collected from borrowers. I need to make a script to upload these data as a json file(metadata) to ipfs so that I can make it an NFT.
I can make a node.js script to generate the metadata, however, what library/tool can I use to upload it to ipfs?
So basically I want to know the API that I can use to upload to ipfs, to replace the need of uploading to ipfs manually