@pognetwork/champ-wasm
v0.0.8-alpha.13
Published
pog-wasm exposes champ's wallet generation and decryption/encryption to JavaScript and TypeScript applications.
Downloads
2
Readme
pog-wasm
pog-wasm exposes champ's wallet generation and decryption/encryption to JavaScript and TypeScript applications.
Usage
import { Wallet } from "@pognetwork/champ-wasm";
const wallet = Wallet.generate("hunter2");
const unlockedWallet = Wallet.unlock(wallet, "hunter2");
console.log(unlockedWallet); // Don't do this :)
Building
$ wasm-pack build --target web