daostack-arc.js
v0.0.0-alpha.16
Published
A JavaScript library for interacting with daostack-arc ethereum smart contracts
Downloads
3
Maintainers
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