cashscript
cashscript copied to clipboard
⚖️ Easily write and interact with Bitcoin Cash smart contracts
Now that Bitcoin Cash is going to get increased VM limits, it becomes more plausible developers will want to use 'unrolled loops'. This would just be code repeated x times...
the TransactionBuilder does not check network prefix of output addresses so you can send to chipnet addresses from mainnet and the reverse
v0.13
@mainnet-pat reached out and sent us this message: > Fyi guys, changing > ```ts > import { deflate } from 'pako'; > ``` > to > > ``` > //...
Referring to these lines: https://github.com/CashScript/cashscript/blob/7aeea22e1d14443b466642977369c888a08c37a6/packages/cashscript/src/network/MockNetworkProvider.ts#L48-L50 Full nodes do not throw if different clients or the same client submits the transaction already seen by it, because of the nature of p2p...
`WARNING: it is unsafe to use this Bitauth URI when using real private keys as they are included in the transaction template` is also shown on `TransactionFailureError: Failed to send...
With the 2026 functions proposal taproot-like constructions become possible where people have MAST constructions and have to provide the contract as unlocking argument because only the hash of a contract...
The 2026 network upgrade will add `OP_DEFINE` and `OP_INVOKE` which allows us to define and invoke reusable functions. We should add a syntax to the CashScript language that allows users...
@mainnet-pat already did work on a PR to add support for placeholder-based artifacts opening an issue for this work so we have a place to discuss the feature and plan...
consider configurability for private key handling in debugging functionality see issue #323 > PR 359 replaces private keys with hardcoded signatures, resolving this issue. However, private keys are still sent...