From 10e414ec58d2281b7cf4f7f455da0f31a6783ab1 Mon Sep 17 00:00:00 2001 From: Izumi Hoshino Date: Wed, 15 May 2024 22:09:22 +0900 Subject: [PATCH] Updated docs --- CHANGELOG.md | 4 ++-- README.md | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd80966..50bc6bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,9 +11,9 @@ This version is compatible with [`960f8d139940fa0814d3fac44da9a2975642f5d3`](htt - Now `op_div` does not accept negative operands. - `convert_atom_to_bytes()` now is able to convert an object which has `toBytes()` method. - `SExp` can be initialized from `LazyNode` of `clvm_wasm` (Rust version of `clvm`) +- Upgraded `bls-signatures` to `2.0.3` - Upgraded npm dev dependencies - Replaced `yarn.lock` with `pnpm-lock.yaml` -- Updated `bls-signatures` to `2.0.3` ### Added - Added `clvm_rs`(`clvm_wasm`) support - Exposed `run_chia_program` @@ -36,7 +36,7 @@ This version is compatible with [`960f8d139940fa0814d3fac44da9a2975642f5d3`](htt This is module context only. if the main js file is not on module context like ``, `blsjs.wasm` will be fetched from `https://xxx.yyy.zzz/aaa/bbb/ccc/blsjs.wasm`. - However, with clvm >= 3.0.0, most of bls operations are run inside clvm_wasm_bg.wasm. + However, with clvm >= 3.0.0, most of bls operations run inside clvm_wasm_bg.wasm. So I believe you don't need to load `blsjs.wasm` in most cases. ## [2.0.1] diff --git a/README.md b/README.md index e77ac18..f1f38e1 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,9 @@ async function main(){ main().catch(e => console.error(e)); ``` +## More example with clvm_wasm +See this [test case for clvm_wasm](https://github.com/Chia-Mine/clvm-js/blob/v3.0.0/tests/original/clvm_wasm_test.ts) + ## Use in browser - [Sample code - Use clvm-js with TypeScript, Webpack](https://github.com/Chia-Mine/clvm-js/blob/v3.0.0/example/typescript_webpack) - [Sample code - Use clvm-js with TypeScript, React, Vite](https://github.com/Chia-Mine/clvm-js/blob/v3.0.0/example/typescript_react)