bs-web3

Web3 bindings in Reason, middleware to talk to an ethereum node over RPC


Keywords
reasonml, bucklescript, web3, ethereum, nodejs
License
MIT
Install
npm install bs-web3@1.0.0-alpha

Documentation

bs-web3

Web3 bindings for BuckleScript in Reason.

npm Travis

This package is currently under development, and not suited for production.

Installation

Install bs-web3 using npm:

npm install web3

Alternatively, using yarn:

yarn add web3

Then add bs-web3 as a dependency to bsconfig.json

Usage

This package implements the majority of functionality provided by Web3. Here's a basic example.

Js.log(Web3.version);
Js.log(Web3.Utils.randomHex(32));

For more examples see the example/ folder.