/bonding-curve

Simple bonding curve contract based on bancor formula

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Bonding Curve aka Automatic Market Maker Contract

The code is based on Bancor Contracts: https://github.com/bancorprotocol/contracts

Install

npm install

Test

npm test

Run Tests Continuously

npm watch

Contributing

If you would like to contribute, check out the contribution guidelines

Resources

Some background reading about bonding curves:
https://hackernoon.com/how-to-make-bonding-curves-for-continuous-token-models-3784653f8b17
https://medium.com/@simondlr/tokens-2-0-curved-token-bonding-in-curation-markets-1764a2e0bee5
and Bancor formula:
https://drive.google.com/file/d/0B3HPNP-GDn7aRkVaV3dkVl9NS2M/view