TLDR: Sigil, the token protocol Twetch uses, is not open. You can't issue your own Sigil tokens without a licence.
- Sigil was made by Dean Little (Bitping) and is licensed. Per CoinGeek: "Licenses are available for purchase. Message @40 or @1 on Twetch." I found no public spec, repo or npm package for it.
- The dev docs are at docs.twetch.app. They cover posting, the SDK, Twetch Pay and encryption. There is nothing on tokens or minting.
- v2 Sigils are 2-of-2: every transfer needs both the owner's and the issuer's signature. Twetch's server cosigns. You can't run that without the issuer's key and backend.
- v1 Sigils are a simple script: a hash-lock on the collection id, a normal P2PKH owner check, and metadata in OP_RETURN. You could write that output yourself, but Twetch's indexer and market wouldn't treat it as a real Sigil unless Twetch recognises the collection.
- In practice, Twetch tokens launch in one of three ways. Twetch issues them itself (Hats, Twonks, Bored Waifus). Or Twetch's server mints them for users (Meme Library). Or someone buys a licence.
If you want to code it yourself without a licence, use 1Sat Ordinals for NFTs or BSV-21 for fungible tokens. Both are open specs with public libraries. They just won't show up as Sigils on Twetch.
Ask a clanker https://docs.1satordinals.com/