Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qqmee/aleo-sdk
https://github.com/qqmee/aleo-sdk
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/qqmee/aleo-sdk
- Owner: qqmee
- License: agpl-3.0
- Created: 2022-03-01T15:43:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-03-01T16:15:11.000Z (over 2 years ago)
- Last Synced: 2024-03-14T16:45:16.237Z (8 months ago)
- Language: Rust
- Size: 29.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-aleo - JS SDK
- awesome-aleo - @qqmee/sdk-account-nodejs - 社区大佬[@qqmee](https://github.com/qqmee)开发的JavaScript SDK (开发资源)
- awesome-aleo - (Unofficial) Account SDK - An unofficial account SDK for Aleo (Applications / Wallets)
- awesome-aleo - (Unofficial) Account SDK - An unofficial account SDK for Aleo (Applications / Wallets)
README
# SDK for aleo blockchain
Maintainer [aleochain.io](https://aleochain.io) team.
SDK package size has been greatly reduced compared to [@aleohq/sdk](https://www.npmjs.com/package/@aleohq/sdk) (> 1.45 MiB). Less features.
Based on `testnet3` branch.| Package (.wasm) | Size | Gzip (6 lvl) | Brotli (6 lvl) |
| -------------------------------------------------------------------------------------- | :-----: | :----------: | :------------: |
| [@aleohq/sdk](https://www.npmjs.com/package/@aleohq/sdk) | 3 MiB | 2 MiB | 1.45 MiB |
| [@qqmee/sdk-account-nodejs](https://www.npmjs.com/package/@qqmee/sdk-account-nodejs) | 176 KiB | 66 KiB | 59 KiB |
| [@qqmee/sdk-account-web](https://www.npmjs.com/package/@qqmee/sdk-account-web) | ^ | ^ | ^ |
| [@qqmee/sdk-account-bundler](https://www.npmjs.com/package/@qqmee/sdk-account-bundler) | ^ | ^ | ^ |Features
- create a new acccount
- from private key
- from view key
- from seed## Examples
They [here](./examples)
## Install rust (archlinux)
```bash
pacman -S rustup wasm-pack
rustup update stable --force
```## Install nodejs
Follow https://github.com/nvm-sh/nvm#installing-and-updating
```bash
nvm install --lts # or 16
```## How to build
Example for `account` package
### Download
```bash
git clone https://github.com/qqmee/aleo-sdk && cd aleo-sdk/packages/account
```### Build
```bash
wasm-pack build --scope qqmee --features console_error_panic_hook --target nodejs # or web
```## How to run examples
Use `wasm-pack` as mentioned above before launch
```bash
cd examples
npm i
node account.mjs
```