bitcoin-nfts / bitcoin-colors

A sample NFT collection that shows the strong connection between Stacks and Bitcoin.
6 stars 2 forks source link

Minting the NFT on Stacks #4

Closed whoabuddy closed 1 year ago

whoabuddy commented 1 year ago

If we consider a mint-runner as someone who receives the BTC for the mint, then performs an action on Stacks, then we need to consider:

whoabuddy commented 1 year ago

Following up now that we have more information and a working method:

how does the NFT contract know who is allowed to mint?

Anyone can mint the NFT by providing the BTC TX info. The chainhook speeds up this process by monitoring and processing the transaction as quickly as possible, but if the system were to break down another user or even the original person minting could process the mint.

can anyone register to be a mint-runner with the contract?

No longer necessary with the Catamaran Swap approach.

what is the mint-runner incentive and/or punishment?

None at this time, as a proof of concept we'd like to push to get it working, then evaluate incentive options. Marketplaces could run this on behalf of their artists with a nominal amount of STX to cover fees.

whoabuddy commented 1 year ago

Catamaran-style Method

Below is the outline of the latest design of the minting flow:

image

Below is an outline of the same flow using mock data:

image