daostack-arc.js
TypeScript icon, indicating that this package has built-in type declarations

0.0.0-alpha.16 • Public • Published

master: Build Status

Mission Statement

DaoStack-Arc.js is a javascript library providing access to DAOStack Arc ethereum smart contracts (Daostack-Arc).

Daostack-Arc is a widely open collaboration to build the basic framework for Decentralized Autonomous Organizations (DAO) through bootstrap, or dogfooding. Find the DaoStack-Arc repository here.

Contributing

Contributions and pull requests are very welcome. Join us on Slack.

If you want to contribute to the code, check out CONTRIBUTING.md.

Arc Configuration

The default configuration settings for Arc can be found in config/default.json, they are:

{
  "providerUrl": "http://localhost:8545",
  "network": "kovan", // Options are 'homestead', 'ropsten', 'rinkeby', 'kovan'
  "gasLimit": [a number like 6015000]
}

To get a configuration setting use:

import { config } from 'daostack-arc.js';
config.get('network');

You can override configuration settings at runtime with:

import { config } from 'daostack-arc.js';
config.set('network', 'ropsten');

You can also override the default configuration settings with environment variables:

gasLimit=7000000 node yourprojectindex.js

Package Sidebar

Install

npm i daostack-arc.js

Weekly Downloads

1

Version

0.0.0-alpha.16

License

Apache-2.0

Last publish

Collaborators

  • ferngully