sCrypt-Inc/boilerplate

sCrypt-controlled ordinal minting

Closed this issue · 2 comments

xhliu commented

e.g.,

  • unable to mint when max supply is reached: right now, u can still mint but would be considered invalid
  • issuer co-sign, like in Tokenized
  • mini PoW
  • blacklist/whitelist
  • freeze & recover
xhliu commented

@msinkec
Did u forget to cut the minting inscription script?

const script0 =
BSV20Mint.getTransferInsciption(this.tokenId, leftover) +
this.getStateScript()

Also add a comment for this line

'0063036f726451126170706c69636174696f6e2f6273762d323000'

I assume it's the inscription script.

@xhliu I think you're right. I now cut it: b579655

Anyways, I have yet to test the contract so expect further changes.