Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: wasm support for browser #204

Draft
wants to merge 41 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
9bb7606
feat: wasm support with btreemap
driftluo Nov 12, 2024
be9f344
feat: wasm supports data persistence through indexdb
driftluo Nov 13, 2024
411deac
chore: impl new commit
driftluo Nov 22, 2024
3c9863e
Implement db-worker and db-common
Officeyutong Nov 18, 2024
b9b1a9e
misc: remove dependency num-traits and num-derive
Officeyutong Nov 25, 2024
968f78a
update: remove tmpdb
Officeyutong Nov 25, 2024
1731d23
replace serde_json with bincode
Officeyutong Nov 26, 2024
6604bb0
remove some unused debug lines
Officeyutong Nov 26, 2024
8202fa2
tidy the code of db-common and db-worker
Officeyutong Nov 27, 2024
de7605e
remove take while benchmark
Officeyutong Nov 27, 2024
37673e7
Make db worker and lightclient-wasm npm-friendly
Officeyutong Nov 27, 2024
8e2309e
remove worker-loader
Officeyutong Nov 27, 2024
1848243
make packages npm-ready
Officeyutong Nov 28, 2024
fbdcb64
remove examples
Officeyutong Nov 29, 2024
198d5a8
Update basic lightclient js wrapper
Officeyutong Nov 29, 2024
1f59662
Update lightclient.js
Officeyutong Nov 30, 2024
6d4b74f
almost done
Officeyutong Dec 1, 2024
6b18315
fix @ckb-ccc/core imports
Officeyutong Dec 2, 2024
56d3604
fix reference local spec file
Officeyutong Dec 2, 2024
fe09648
fix types related bug
Officeyutong Dec 3, 2024
9e4169c
fix type conversion
Officeyutong Dec 3, 2024
93967ba
fix get_transactions types
Officeyutong Dec 3, 2024
2b09a41
fix in bug
Officeyutong Dec 3, 2024
8a56c8f
Add unit test for light-client-js
Officeyutong Dec 3, 2024
8c9b4e6
Add lock for command invocation
Officeyutong Dec 3, 2024
c1f19de
Allow customizing config with mainnet and testnet
Officeyutong Dec 4, 2024
2a37471
replace std::sync::RwLock to tokio::sync::RwLock
Officeyutong Dec 4, 2024
15200f3
Make rust clippy happy
Officeyutong Dec 5, 2024
99b40ed
fix native build
Officeyutong Dec 5, 2024
6c74758
make some comments more reasonable
Officeyutong Dec 5, 2024
83b2bb8
add some basic tests
Officeyutong Dec 8, 2024
057de27
Add more unit tests
Officeyutong Dec 10, 2024
708b6c2
fix bug of estimateCycles
Officeyutong Dec 11, 2024
deb3ce7
fix bug for filter scripts
Officeyutong Dec 12, 2024
9b69113
fix fetch_header and fetch_transaction
Officeyutong Dec 12, 2024
7f7b7da
fix exception handle bug
Officeyutong Dec 12, 2024
579185d
Fix cursor bug of get_transaction and get_cells
Officeyutong Dec 12, 2024
d699a39
fix get_header response bug
Officeyutong Dec 13, 2024
a3ce904
fix bug of get cells
Officeyutong Dec 13, 2024
706fac3
update quanta
Officeyutong Dec 17, 2024
5d4654b
fix data isolation
Officeyutong Dec 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/target/
**/node_modules/**
**/pkg/**
/test
File renamed without changes.
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"rust-analyzer.cargo.target": "wasm32-unknown-unknown",
// "rust-analyzer.cargo.target": "x86_64-unknown-linux-gnu",
"rust-analyzer.cargo.allTargets": false,
"rust-analyzer.check.workspace": false
}
Loading