@melonproject/melonjs
v1.0.5
Published
A convenient JavaScript interface to the Melon protocol Ethereum smart contracts.
Downloads
282
Readme
MelonJS
A convenient JavaScript interface to the Melon protocol Ethereum smart contracts.
Installation
This library is published as an npm package. You can install it through npm or yarn.
# Using yarn
yarn add @melonproject/melonjs
# Using npm
npm install @melonproject/melonjs
Documentation
- Extensive documentation (including examples): https://melonjs.melonprotocol.com
- API: https://melonproject.github.io/melonjs/
- Melon Protocol: https://melonprotocol.com
Development
Before you can start developing, you'll need to have Node.js and Yarn installed.
Installing only takes two commands and you're ready to roll:
# Install all library dependencies.
yarn install
# Generate the abi and bytecode files for the smart contracts.
yarn codegen
You are now ready to start development. Documentation is available here. There are also several helpful scripts in package.json for testing, test coverage, building and watch mode.
Testing
The tests contained in this repository use an in-memory ganache test chain.
In order to execute the tests, simply run:
yarn test
Contributing
Third party contributions to this project are welcome and encouraged. If you want to contribute, please open an issue before submtting a pull requests so we can discuss the proposed changes and/or additions.
Please note that all repositories hosted under this organization follow our Code of Conduct, make sure to review and follow it.