Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/molekilla/wasm-crypto-starter
WASM crypto starter - AssemblyScript and WASI
https://github.com/molekilla/wasm-crypto-starter
Last synced: about 1 month ago
JSON representation
WASM crypto starter - AssemblyScript and WASI
- Host: GitHub
- URL: https://github.com/molekilla/wasm-crypto-starter
- Owner: molekilla
- Created: 2020-04-29T17:24:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-20T22:32:03.000Z (almost 2 years ago)
- Last Synced: 2024-04-10T02:56:47.051Z (9 months ago)
- Language: Rust
- Size: 1.48 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## WASM Crypto Starter for XDV platform apps
### Vue based template
### 0.1.0### Install
#### Prerequisites
* `rustup`
* `node`
* `wasm-pack`#### Setup
1. Clone repo
2. `npm i`### How to install Rust libraries with WASI support
> This is a manual guide until a tool is created
1. Install `cargo install cargo-wasi` and `curl https://wasmtime.dev/install.sh -sSf | bash`
2. `cd wasi_modules`
3. Clone repo
4. Run `cargo wasi build --lib`
5. Run `cargo wasi check --lib`
6. Run `cargo wasi bench`Library should be ready to use with AssemblyScript
### Included libraries
* [yubihsm.rs](https://github.com/iqlusioninc/yubihsm.rs)
* [libsecp256k1](https://github.com/paritytech/libsecp256k1)
* [signatory](https://github.com/iqlusioninc/signatory)
* [cryptoxide](https://github.com/typed-io/cryptoxide)
* [rust-crypto-wasm](https://github.com/buttercup/rust-crypto-wasm)### XDV Architecture specification
[Architecture Document](https://swarm-gateways.net/bzz:/d5b9063eea355591cf25f875cf93629b6b6a271020fd5b555ad73dd56346d698/#/)