2018-05-14 23:58:30 +00:00
|
|
|
# status.im contracts
|
2018-06-07 20:32:28 +00:00
|
|
|
Requires https://github.com/creationix/nvm
|
2018-05-14 23:58:30 +00:00
|
|
|
Usage:
|
|
|
|
```
|
2018-06-07 20:32:28 +00:00
|
|
|
nvm install v8.9.4
|
2018-06-07 20:33:26 +00:00
|
|
|
nvm use v8.9.4
|
2018-05-14 23:58:30 +00:00
|
|
|
npm install -g embark
|
|
|
|
git clone https://github.com/status-im/contracts.git
|
|
|
|
cd contracts
|
|
|
|
npm install
|
|
|
|
embark simulator
|
|
|
|
embark test
|
|
|
|
embark run
|
|
|
|
```
|
|
|
|
|
|
|
|
| Contract | Deploy | Test | UI |
|
|
|
|
| -------------------------------------- | ------ | ---- | --- |
|
|
|
|
| token/TestToken | Yes | Yes | Yes |
|
2018-05-15 18:00:00 +00:00
|
|
|
| token/ERC20Token | No | Yes | Yes |
|
|
|
|
| ens/ENSRegistry | Yes | Yes | No |
|
|
|
|
| ens/PublicRegistry | Yes | Yes | No |
|
2018-09-04 21:49:39 +00:00
|
|
|
| registry/UsernameRegistrar | Yes | Yes | Yes |
|