Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.

A convenient JavaScript interface to the Melon protocol Ethereum smart contracts.

License

Notifications You must be signed in to change notification settings

melonproject-archive/melonjs

Repository files navigation

MelonJS

A convenient JavaScript interface to the Melon protocol Ethereum smart contracts.

Build status Package version License

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

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.

About

A convenient JavaScript interface to the Melon protocol Ethereum smart contracts.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published