cashscript
cashscript copied to clipboard
⚖️ Easily write and interact with Bitcoin Cash smart contracts
In the `cashscript/utils` package there are some long-oustanding todo-s who have been there 4 years ```ts describe('type utilities', () => { describe('explicitlyCastable()', () => { // TODO: fully test cast...
Given that solidity is the industry standard, it would be good if in the 'about' section we can have a page 'CashScript for Solidity developers' which explains the differences of...
I think it would be good to have this kind of info available in the CashScript docs somewhere
There's a TODO for this in the code in `SignatureTemplate.ts` ```ts // TODO: Allow signing of non-transaction messages (i.e. don't add the hashtype) generateSignature(payload: Uint8Array, bchForkId?: boolean): Uint8Array { const...
There's 3 open TODOs in TransactionBuilder.ts which have been there since more than a year (13 months atm) ```ts // TODO: allow uint8array for chunks addOpReturnOutput(chunks: string[]): this { ......
Unlike the simple transaction builder in `transaction.ts` the 'advanced transaction builder' does not do any safety/sanity checks in the total bch amount in in- and outputs, the tokenamount in in-...
For the vscode-cashscript plugin we currently need to copy/paste all the CashScript antlr `grammar` files and compile the CashScript code with antlr. However, it would be better if `cashc` could...
- [x] switch packages/cashc to vitest - [x] switch packages/utils to vitest - [x] switch packages/cashscript to vitest - [ ] run test on mainnet, check parallel issues - [...
I created a 'Chaingraph-ts' library to make it easy to add a `chaingraphNetworkProvider` to CashScript > Chaingraph-ts is a TypeScript library that simplifies using [Chaingraph](https://chaingraph.cash/) by providing type-safe GraphQL interactions...
When running the docs locally it says `Update available 2.4.1 → 3.6.3` >To upgrade Docusaurus packages with the latest version, run the following command: >`yarn upgrade >@docusaurus/core@latest @docusaurus/plugin-client-redirects@latest > @docusaurus/preset->classic@latest`...