daostack-arc-js

A JavaScript library for interacting with daostack-arc ethereum smart contracts

to be replaced by daostack-arc.js
Last updated 2 years ago by ferngully .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install daostack-arc-js 
SYNC missed versions from official npm registry.

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]
}

If you want to override these default configuration settings you can add an arc-js.config.json file to your project. Any values set there will override the above defaults. You can pass in a path to a different file using a --arcConfigFile pathToFile command line argument, or setting environment variable arcConfigFile=pathToFile.

You can also override these settings on the command line or through environment variables, with command line arguments taking precedence over environment variables which take precedence over the arc-js.config.json config file.

The configuration object uses the nconf library so you can override configuration settings at runtime with:

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

Command line:

node yourprojectindex.js --gasLimit 7000000

Environment variable:

gasLimit=7000000 node yourprojectindex.js

Current Tags

  • 0.0.0-alpha.14                                ...           latest (2 years ago)

8 Versions

  • 0.0.0-alpha.14 [deprecated]           ...           2 years ago
  • 0.0.0-alpha.11                                ...           2 years ago
  • 0.0.0-alpha.9                                ...           2 years ago
  • 0.0.0-alpha.8                                ...           2 years ago
  • 0.0.0-alpha.6                                ...           2 years ago
  • 0.0.0-alpha.5                                ...           2 years ago
  • 0.0.0-alpha.4                                ...           2 years ago
  • 0.0.0-alpha.3                                ...           2 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (26)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |