# @polymathnetwork/mercat

> The wasm library for MERCAT.

Latest version **0.1.1** (published 2021-02-08) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @polymathnetwork/mercat
pnpm add @polymathnetwork/mercat
yarn add @polymathnetwork/mercat
bun add @polymathnetwork/mercat
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2021-02-08 |
| First published | 2021-02-08 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 612.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | aafshar-poly, bakii_agl, polymath.network, polymathdevops, shuffledex, victorvicente, fahdw |

## Links

- npm: https://www.npmjs.com/package/@polymathnetwork/mercat
- Repository: https://github.com/PolymathNetwork/cryptography
- Homepage: https://github.com/PolymathNetwork/cryptography#readme
- Issues: https://github.com/PolymathNetwork/cryptography/issues
- npm.io page: https://npm.io/package/@polymathnetwork/mercat

## Recent versions

- 0.1.1 (latest) — 2021-02-08
- 0.1.0 — 2021-02-08

## README

# WASM bindings for MERCAT Library


This library provides WASM binding for MERCAT. The Rust code can be
found at [polymath mercat library][mercat-rust-lib] and
the source code for the wasm bindings can be found at
[WASM bindings][wasm-src].


## Build Instructions

For comprehensive build instructions, refer to the README.md file in the
root of the [repository][cryptography-rust-lib].

If you have all the necessary tools installed, you can build the wasm
bindings using the following commands.

```bash
# If your active toolchain is stable, then run
rustup run nightly wasm-pack build --release

# If your active toolchain is nightly, then you can use the simpler version and run
wasm-pack build --release
```

This will create the bindings in `./pkg/` directory. You can import
these into any javascript-based project using a wasm-loader.

## Publish

Note that the name in the `package.json` file will be "mercat".
But, in order to properly publish the package, the name should be changed to
`@polymathnetwork/mercat`.


[cryptography-rust-lib]: https://github.com/PolymathNetwork/cryptography/tree/develop/README.md
[mercat-rust-lib]: https://github.com/PolymathNetwork/cryptography/tree/develop/mercat
[mercat-wasm-src]: https://github.com/PolymathNetwork/cryptography/blob/develop/mercat/wasm/src/lib.rs

---
_Source: https://npm.io/package/@polymathnetwork/mercat · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
