Skip to content

Commit

Permalink
Further bringing package up to snuff (#2)
Browse files Browse the repository at this point in the history
* start on adding automated tests

* missing const

* lint error, latest ds-arc

* more improvements

locate contracts in root contracts folder
fixes to package deployment
moved scripts into package-scripts.js (for nps)

* ability to customize paths in the build scripts

* clear out travis build stuff for now

* oops, travis file again

* Try Travis again

* just remove the friggin' thing for now

* another try

* All the tests are passing!

* more scripts improvements

* don't maintain local copy of contracts

* remove contracts folder from published package

* backed-out removal of contracts folder

* Committing missed files

* fix merge blunder, more scripts

* first try at getting travis to run automated tests

* fixed lint errors

* try to install nps for travis

* another try at installing travis test dependencies

* travis try again

* encore, npm

* getting somewhere now

* attempt to install travis dependencies locally

* trying again

* On ne lache pas

* On lache a rien

* fixed missing double quote

* Clean testrpcDb, fetchDaoStackContractsFromNodeModules

* v 17 of daostack-arc.

Also more comments on scripts.

* Cleanups, changed package name to daostack-arc-js.

* Fix the wallet tests

* more script improvements.

* .gitignore is now working

* remove contracts folder

* remove contracts folder

* remove contracts folder

* exclude contracts folder

* fixed organization.schemes, changed default value for autoRegister

* improved exceptios handling, hardcode autoRegister value

* fixed lint error

* Update to latest arc@alpha.18

Also fixed test failures

* fix travis script

* another try to fix travis

* another meek attempt to fix travis

* compute hashes properly

* dist files

* fixed lint errors

* fixed organization.schemes

* updated testrpcDb

* Changes to accomodate new arc package structure

The Arc package no longer contains a build\contracts folder.  So now arc-js must always migrate mainnet contracts itself. So this commit includes contracts file in repo, and associated build script changes.

* Kovan contracts and further fix to org.schemes()

* fixed lint errors

* fixed schemeRegistrar bug. added console.log to help diagnose avatar contract issue.

* lint fixes
  • Loading branch information
dkent600 authored and leviadam committed Dec 31, 2017
1 parent c19a74a commit 5edf158
Show file tree
Hide file tree
Showing 85 changed files with 167,265 additions and 677 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules/
dist/
package-scripts.js
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules/
.node-xmlhttprequest-sync*
*.tgz
.vscode/
.vscode/
testrpcDb/
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ before_install:
- sudo add-apt-repository -y ppa:ethereum/ethereum-dev
- sudo apt-get update -qq
- sudo apt-get install geth -y -qq

install:
- yarn
- rm -rf build/ # remove any remaining artifacts from a previous build
- nohup yarn run testrpc &
- truffle version

- yarn start test.testrpcDb.restoreFromZip
- nohup yarn start test.testrpcDb.run &

script:
- yarn test
- yarn lint
- yarn start lint
- yarn start test.automated

notifications:
slack: daostack:fGuaFPsiQiV5mgmzRcSzbYqw
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
master: [![Build Status](https://travis-ci.org/daostack/arc-js.svg?branch=master)](https://travis-ci.org/daostack/arc-js)
master: [![Build Status](https://travis-ci.org/daostack/arc-js/images/dao-icon.png?branch=master)](https://travis-ci.org/daostack/arc-js)

# Mission Statement

DAOStack is a widely open collaboration to build the basic framework for [Decentralized Autonomous Organizations](https://en.wikipedia.org/wiki/Decentralized_autonomous_organization) (DAO) through bootstrap, or dogfooding.

Meaning, firstly publish the minimal smart contract that distributes tokens and voting power (AKA reputation) for further token distribution. Then, collectively distribute more tokens and voting power to contributors of code and other contributions, according to the appreciation of current reputation holders. Anyone who disagrees with the current reputation alignment can always open a new contract, with new token and reputation systems (and be the initial reputation holder).

Gradually, bit by bit, we aim to build the first decentralized corporation, an array of contracts that can hold the tokens and voting power of each other, interact and form a decentralized economy.
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](https://en.wikipedia.org/wiki/Decentralized_autonomous_organization) (DAO) through bootstrap, or dogfooding. Find the DaoStack-Arc repository [here](https://github.com/daostack/daostack).


# Contributing

Contributions and pull requests are very welcome. Check out [The DAOStack roadmap](docs/roadmap.md), and join us on [Slack](daostack.slack.com).
Contributions and pull requests are very welcome. Join us on [Slack](daostack.slack.com).

If you want to contribute to the code, check out [CONTRIBUTING.md](CONTRIBUTING.md).
If you want to contribute to the code, check out [CONTRIBUTING.md](CONTRIBUTING.md).
Loading

0 comments on commit 5edf158

Please sign in to comment.