"Token-curated registries are decentrally-curated lists with intrinsic economic incentives for token holders to curate the list's contents judiciously" - Mike Goldin
TCRs use an intrinsic token to incentivize a community to curate and reach decentralized consensus on a Registry of high-quality entries
Run app in dev mode in browser, rebuild on file changes
$ npm run dev
Build production server app
$ npm run build
Run unit tests with Jest
$ npm test
ganache-cli - http://localhost:8545
$ npm install -g ganache-cli
$ ganache-cli
Clone contracts:
$ git clone git@github.com:kangarang/tcr.git
$ cd tcr
$ npm install
Build JSON ABI artifacts:
(Note: only have to run once. While ganache-cli is running)
$ npm run install && npm run compile
Deploy contracts to local RPC:
$ npm run deploy-ganache
Deploy contracts to Rinkeby Test Network:
$ npm run deploy-rinkeby
Deploy contracts to Main Network:
$ npm run deploy-mainnet
|
├── docs - Documentation
├── public - Files that don't get compiled, just moved to build
| └── index.html - Html template file
├── src
| ├── state - Redux
| | ├── ducks - Redux modules
| | | ├── [duck] - Single module
| | | | ├── sagas - Asynchronous side-effects
| | | | ├── tests - Jest unit tests
| | | | ├── actions.js - Action creators / plain objects
| | | | ├── index.js - Duck root import / export
| | | | ├── reducers.js - Pure functions / immutable.js
| | | | ├── selectors.js - State selectors / reselect.js
| | | | ├── types.js - Action types / string constants
| | | | └── utils.js - Module-specific helpers
| | | ├── index.js - Ducks root
| | | └── reducers - Reducer combiner
| | ├── libs - Framework-agnostic libraries
| | ├── utils - Common utility helper functions
| | ├── store.js - Redux reducer and middleware injector
| ├── views - React
| | ├── assets - Images, fonts, etc.
| | ├── components - Stateless, dumb components
| | ├── containers - Stateful, smart containers
| | ├── translations - Language JSON dictionaries
| | ├── App.js - Root React component
| | └── global-styles.js - Theme / colors
| └── index.js - Entry point for app
└── server.js - Express.js app
State Changes
TCR Endpoints
InterPlanetary Shenanigans
Articles
- Token-Curated Registries 1.0
- Token-Curated Registry 1.1, 2.0
- Continuous Token-Curated Registries: The Infinity of Lists
- City Walls & Bo-Taoshi: Exploring the Power of Token-Curated Registries
Code
Community
These workflow diagrams were created by our wonderful designer, Eva Shon
This project is licensed under the MIT license, Copyright (c) 2018 Isaac Kang. For more information see LICENSE
.