Maintainer aleochain.io team.
SDK package size has been greatly reduced compared to @aleohq/sdk (> 1.45 MiB). Less features.
Based on testnet3
branch.
Package (.wasm) | Size | Gzip (6 lvl) | Brotli (6 lvl) |
---|---|---|---|
@aleohq/sdk | 3 MiB | 2 MiB | 1.45 MiB |
@qqmee/sdk-account-nodejs | 176 KiB | 66 KiB | 59 KiB |
@qqmee/sdk-account-web | ^ | ^ | ^ |
@qqmee/sdk-account-bundler | ^ | ^ | ^ |
Features
- create a new acccount
- from private key
- from view key
- from seed
They here
pacman -S rustup wasm-pack
rustup update stable --force
Follow https://github.com/nvm-sh/nvm#installing-and-updating
nvm install --lts # or 16
Example for account
package
git clone https://github.com/qqmee/aleo-sdk && cd aleo-sdk/packages/account
wasm-pack build --scope qqmee --features console_error_panic_hook --target nodejs # or web
Use wasm-pack
as mentioned above before launch
cd examples
npm i
node account.mjs