-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathreadme.mustache
113 lines (87 loc) · 5.53 KB
/
readme.mustache
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<p align="center"><img src="https://8xprotocol.com/assets/images/full-logo.png" width="280"/></p>
<p align="center">8x Protocol enables decentralised recurring payments on the Ethereum blockchain.<br>A complete explanation of the protocol may be found in our whitepaper (https://github.com/8xprotocol/whitepaper).</p>
<p align="center">
<a href="http://t.me/eightexprotocol_contributors">
<img src="https://img.shields.io/badge/CHAT-TELEGRAM-0088cc.svg" />
</a>
<a href="https://solidity.readthedocs.io/en/develop/index.html">
<img src="https://img.shields.io/badge/SOLIDITY-0.4.24-orange.svg" />
</a>
<a href="https://opensource.org/licenses/Apache-2.0">
<img src="https://img.shields.io/badge/LICENSE-APACHE2.0-3DA639.svg" />
</a>
</p>
## Packages :package:
### Published
| Package | Version | Description |
| -------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
| [`8x.js`](/packages/8x.js) | [![npm](https://img.shields.io/npm/v/8x.js.svg)](https://www.npmjs.com/package/8x.js) | A Javascript library for interacting with the 8x protocol |
| [`8x.pay`](/packages/8x.pay) | [![npm](https://img.shields.io/npm/v/8x.pay.svg)](https://www.npmjs.com/package/8x.pay) | Payment gateway for consumers to pay with 8x |
| [`@8xprotocol/artifacts`](/packages/artifacts) | [![npm](https://img.shields.io/npm/v/@8xprotocol/artifacts.svg)](https://www.npmjs.com/package/@8xprotocol/artifacts) | Type and schema assertions used by our packages |
| [`@8xprotocol/base-contract`](/packages/base-contract) | [![npm](https://img.shields.io/npm/v/@8xprotocol/base-contract.svg)](https://www.npmjs.com/package/@8xprotocol/base-contract) | BaseContract used by auto-generated `abi-gen` wrapper contracts |
| [`@8xprotocol/dev-utils`](/packages/dev-utils) | [![npm](https://img.shields.io/npm/v/@8xprotocol/dev-utils.svg)](https://www.npmjs.com/package/@8xprotocol/dev-utils) | Developer utilities |
| [`@8xprotocol/service-node-core`](/packages/service-node-core) | [![npm](https://img.shields.io/npm/v/@8xprotocol/service-node-core.svg)](https://www.npmjs.com/package/@8xprotocol/service-node-core) | Core engine behind service node |
| [`@8xprotocol/types`](/packages/types) | [![npm](https://img.shields.io/npm/v/@8xprotocol/types.svg)](https://www.npmjs.com/package/@8xprotocol/types) | Shared type declarations |
### Private
| Package | Description |
| ---------------------------------------------------- | ------------------------------------- |
| [`@8xprotocol/contracts`](/packages/contracts) | 8x solidity smart contracts & tests |
| [`@8xprotocol/docs`](/packages/docs) | Documentation site created with Slate |
| [`@8xprotocol/service-node`](/packages/service-node) | Node to process subscriptions |
## Addresses :innocent:
We get it, you're just here to find the contract addresses. Luckily for you, they're all listed here.
### Contracts (Kovan)
| Contract Name | Address |
| ------------- | ------- |
{{#kovan.addresses}}
| {{name}} | {{address}} |
{{/kovan.addresses}}
### Supported Tokens (Kovan)
| Token Ticker | Address |
| ------------ | ------- |
{{#kovan.approvedTokens}}
| {{ticker}} | {{ address }} |
{{/kovan.approvedTokens}}
### Contracts (Mastery - AION)
| Contract Name | Address |
| ------------- | ------- |
{{#mastery-aion.addresses}}
| {{name}} | {{address}} |
{{/mastery-aion.addresses}}
### Supported Tokens (Mastery - AION)
| Token Ticker | Address |
| ------------ | ------- |
{{#mastery-aion.approvedTokens}}
| {{ticker}} | {{ address }} |
{{/mastery-aion.approvedTokens}}
## Contributing :raising_hand_woman:
We appreciate your desire to contribute to the 8x Protocol. We strive to maintain
a high standard over code quality and the security of our contracts. Please read over
this contributor guide before starting.
### How to Contribute
If you would like to contribute please fork the repo, create a new branch, fix the problem, commit the work with a clear message about what was accomplished, and submit a pull request.
### Code Quality
- When adding functionality, please also add tests and make sure they pass
- When adding a new function, make sure to add comments that adhere to the format seen throughout the project
- When fixing conflicts please use `rebase`
- When updating your working branch with `upstream master` changes, please `rebase`
- Make sure there are no linter `warnings` or `errors`
##### Requirements
- Truffle ^4.1.8
- Gananche UI
- NPM
##### Pre Requisites
```
npm install -g lerna
npm install -g truffle
npm install -g [email protected]
npm install -g ganache-cli
```
##### Compiling All Packages
```
lerna run build
```
##### Running All Tests
```
lerna run test
```