Web3 bindings for BuckleScript in Reason.
This package is currently under development, and not suited for production.
Install bs-web3 using npm:
npm install bs-web3
Alternatively, using yarn:
yarn add bs-web3
Then add bs-web3
as a dependency to bsconfig.json
{
...
"bs-dependencies": ["bs-web3"]
}
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.