Write a simple contract to list an NFT from the users wallet.
This contract need only take an AssetClass, and create a transaction that submits that token to the marketplace, with the correct datum.
If you're able to get this done within say 4 hours, add a simple check that verifies the given token is a valid sgNFT.
No need for tests, just verify it works with a manual test, such that the listed nft can be purchased again.
The full flow we're looking to support is:
some nft on the marketplace
someone buys it, bringing it into their wallet
they then list it again
someone else can then buy it
Some simple instructions on how to envoke this endpoint from the JS terminal in the readme would also be nice
Write a simple contract to list an NFT from the users wallet. This contract need only take an AssetClass, and create a transaction that submits that token to the marketplace, with the correct datum. If you're able to get this done within say 4 hours, add a simple check that verifies the given token is a valid sgNFT. No need for tests, just verify it works with a manual test, such that the listed nft can be purchased again. The full flow we're looking to support is:
Some simple instructions on how to envoke this endpoint from the JS terminal in the readme would also be nice