Package Exports
- daostack-arc.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (daostack-arc.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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