npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@convergent/arc

v0.0.5

Published

Composable bonding curves framework.

Downloads

14

Readme

Build Status Greenkeeper badge

Arc

Bonding Curves are a method of token issuance which allow for continuous liquidity of the issued token through the maintenance of a reserve. External users are free to purchase or sell tokens into the curve by submitting transactions to the bonding curve smart contract. The bonding curve will mint (buy) or burn (sell) new tokens depending on the action external users make. The name bonding curve comes from the fact that the price of the token will move on a determined path that can be visually viewed as a curve.

Notes on Upgradability

Arc uses ZeppelinOS to enable upgradibility in its contracts. For those not yet familiar with the proxy pattern, the contracts may look a bit strange at first. If you want to make yourself more comfortable with how the upgrade pattern works check out the great post on Zeppelin's blog.

That the contracts contained in the Arc library can be upgraded does not mean that they will be, all users or end consumers will have to opt-in to an upgrade. The way to opt in to an upgrade is by changing the the logic contract for which the the proxy points at. For users of Arena, we are working on nice and intuitive UI components to allow for this. For developers who use Arc, it will require some knowledge on how to perform the action themselves.

Testing

Clone this repository and install dependencies:

$ git clone [email protected]:convergentcx/Arc.git
$ yarn

Then compile the smart contracts and generate the TypeScript bindings:

$ yarn generate

Now in one window start the development chain:

$ yarn ganache

In other window run the tests:

$ yarn test

Running the Demo

Start by installing dependencies and running ganache in one console:

$ yarn
$ yarn ganache

In other console run:

$ yarn compile:dapp

Remaining in the new console, move to the dapp/ directory and run the following:

$ yarn
$ yarn start

Navigate to http://localhost:3000 in a web browser.