mlabs-haskell / seabug-contracts

3 stars 1 forks source link

List NFT contract #53

Closed samuelWilliams99 closed 2 years ago

samuelWilliams99 commented 2 years ago

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