@drdgvhbh/solwasmc
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Solwasmc

Web assembly compiler for the solidity language.

Table of contents

General info

The motivation behind Solcwasmc is to build a solidity compiler that can run in the browser via web assembly. This is not meant to replace the canonical solc in terms of usability, but simply act as a drop in replacement for deploying smart contracts in the browser.

Usage

npm i @drdgvhbh/solwasmc

import { compile } from "@drdgvhbh/solwasmc";

const byteCode = compile("contract Test {...}");

Building from Source

Prerequisites

Build

make generate
cargo build

Build for Web Assembly

wasm-pack build --scope YOUR_NPM_USERNAME
cd pkg
npm publish --access=public

Technologies

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    1
  • 0.1.0
    0

Package Sidebar

Install

npm i @drdgvhbh/solwasmc

Weekly Downloads

0

Version

0.1.1

License

MIT/Apache-2.0

Unpacked Size

297 kB

Total Files

5

Last publish

Collaborators

  • drdgvhbh