ergo-lib-wasm 0.28.0

WASM bindings for ergo-lib
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { expect, assert } from "chai";

import * as ergo from "..";
let ergo_wasm;
beforeEach(async () => {
  ergo_wasm = await ergo;
});

// enable when ergo-lib-wasm is built with "compiler" feature enabled
//
// it("Contract compiles from ErgoScript", async () => {
//   let contract = ergo_wasm.Contract.compile("HEIGHT");
//   assert(contract != null);
// });