Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

28
List of Resources for Developing with CashTokens on Bitcoin Cash
Post Body

Compiled this in an answer to one question here.

There's no "how do I do X", and documentation is scattered, but we a lot of good stuff if one can find it. This is what I used the most:

One must understand the TX format & consensus rules:

We have BitauthIDE as a kind of WYSIWYG native Script contract builder:

Then there's the higher level CashScript which should be familiar in syntax to those coming from Solidity, but program logic is actually quite different on Bitcoin-tech UTXO model:

And finally there are libraries which one can use to build apps that interface with the contracts:

And indexers that can support the app:

For swaps, I realized contract approach is probably better than the CoinJoin/PSBT technique, and I made a contract template which could be a building block for some DEX or something:

How to actually make an app that uses the contract? One example is the minting app that interacts with the Emerald DAO:

Finally, for token metadata, we have the BCMR:

and the first "tokenlist" registry is taking shape:

Author
Account Strength
100%
Account Age
3 years
Verified Email
Yes
Verified Flair
No
Total Karma
10,751
Link Karma
3,555
Comment Karma
6,289
Profile updated: 4 hours ago
Posts updated: 7 months ago
Builder

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago