cashscript icon indicating copy to clipboard operation
cashscript copied to clipboard

⚖️ Easily write and interact with Bitcoin Cash smart contracts

Results 111 cashscript issues
Sort by recently updated
recently updated
newest added

The Mecenas contract allows for multiple contract inputs but this can lead to behavior as pointed out in telegram, we should update the examples & docs, and also the the...

documentation
tests

support to set `nSequence` as a number of second chunks Currently this is not supported a laid out in the docs: > Because of the way time locks work, **a...

enhancement
javascript-sdk

Let's use 'Mocknet' in the getting started docs so people don't need a chipnet wallet & chipnet funds

documentation

Currently from the docs of the TransactionBuilder API it is not fully clear you can also provide lockingBytecode for the output `to:` but this might play an increasingly important role...

documentation

Rosco wrote in July 2019: > Perhaps Tendo would be interested in working together to flesh out this artifact format a bit more, and maybe have both languages compile into...

ecosystem

Wanted to do this before already but put it off because of the work involved, see issue #260

refactor
dependencies

Clarify some aspects of the CashScript language in the docs - are there 'scoping' rules for if statement (and loops in the future), compare to spedn docs on scoping https://spedn.readthedocs.io/en/latest/syntax.html#lexical-scopes...

documentation

now it gives type hints without the aliases for the different arguments, and gives all the union types which makes everything hard to read: ``` transfer: (functionParameters_0: string | Uint8Array...

enhancement
javascript-sdk

Because CashTokens is BCH specific and many devs don't have much background knowledge about it I think we should add more info about CashTokens genesis txs & the different NFT...

documentation

In the current example folder there is `mecenas_locktime` which is the streaming version of a mecenas contract using 'simulated state'. We should include a streaming mecenas example using nftCommitment for...