https://github.com/kaonone/cashflowrelay-poa-xdai
https://github.com/kaonone/cashflowrelay-poa-xdai
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kaonone/cashflowrelay-poa-xdai
- Owner: kaonone
- License: mit
- Created: 2019-03-20T08:20:38.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-20T12:22:36.000Z (about 6 years ago)
- Last Synced: 2025-01-24T06:12:46.631Z (4 months ago)
- Language: TypeScript
- Size: 2.59 MB
- Stars: 0
- Watchers: 8
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cashflow Relay Testnet
- [CashflowRelay Portal](https://www.cashflowrelay.com/)
- [Testnet app](https://testnet.cashflowrelay.com/)
- [C2FC](https://github.com/akropolisio/c2fc-specs)## For frontend (in root folder)
### Install all dependencies
- ```npm i``` install frontend and contracts dependencies### Compile c2fc contracts
- ```npm run compile-contract``` for compile c2fc contract### To start locally
- ```npm run dev``` for development environment in watch mode
- ```npm run prod``` for production environment in watch mode### To build locally (see build folder)
- ```npm run build:dev``` for development environment without watch mode
- ```npm run build:prod``` for production environment without watch mode### To start bundle analyzer
- ```npm run analyze:dev``` for development environment
- ```npm run analyze:prod``` for production environment## For contracts (in ethereum-contracts folder)
### Install all dependencies
- ```npm i``` install contracts dependencies### To start ethereum network locally
- ```npm run ganache-cli``` for start network
- ```npm run ganache-cli -- -b 3``` for start network with arguments### To build and deploy contracts
- ```npm run compile-contracts``` for build contracts
- ```npm run deploy-contracts``` for deploy contracts
- ```npm run compile-deploy-contracts``` for build and deploy contracts
- *add `-- --network xdai` for deploy into the xDai*### To start test
- ```npm test``` or ```npm t``` for start test, before that you need start network (```npm run ganache-cli```)## We use
- [x] Drizzle For handles instantiating web3 and contracts, fetching accounts, and keeping all of this data in sync with the blockchain.
- [x] Ox protocol - that enables the peer-to-peer exchange of assets on the Ethereum blockchain.
- [x] Typescript
- [x] React
- [x] Redux
- [x] Redux-saga for side-effects
- [x] Material-UI