Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit c97332f

Browse files
andreazoenolan
authored andcommitted
Update README and clean dependencies
1 parent ce801b4 commit c97332f

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@
44

55
Designed to represent a fungible asset with offchain interaction as an [ERC223][1] token.
66

7+
Integrated with [ZeppelinOS][7] to make it upgradeable.
8+
79
## Developing
810

911
[Truffle][2] is used to develop and test the Asset Token Smart Contract. This has a dependency on [Node.js][3].
1012

1113
Prerequisites:
1214

13-
[yarn][4] (but [npm][5] should work just as well) and [solidity-coverage ][6] needs to be installed.
15+
[yarn][4] (but [npm][5] should work just as well)
1416

1517
yarn install
1618

@@ -23,13 +25,17 @@ Start `ganache` in a separate terminal tab or window.
2325
yarn ganache
2426

2527
# in separate window or tab
26-
yarn test
28+
npx zos session --network development --from <address>
29+
30+
This will start a session to work with in the network. --from flag is optional
2731

28-
This will compile the contract, deploy to the testrpc instance and run the tests.
32+
npx zos push --deploy-dependencies
2933

30-
yarn coverage
34+
This will compile and deploy contracts from zos.json and dependencies to the local network. --deploy flag not needed if running in public testnets (Rinkeby, Kovan, Ropsten) or mainnet.
35+
36+
yarn test
3137

32-
this will produce a test coverage report
38+
This will run tests
3339

3440
## Deploy Asset Token (ready to use with wallet)
3541

@@ -45,4 +51,4 @@ This will deploy Asset Token and fund accounts
4551
[3]: https://nodejs.org/
4652
[4]: https://yarnpkg.com/en/docs/install
4753
[5]: https://docs.npmjs.com/getting-started/installing-node
48-
[6]: https://www.npmjs.com/package/solidity-coverage
54+
[7]: https://zeppelinos.org/

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"dependencies": {
77
"ganache-cli": "6.2.5",
88
"openzeppelin-eth": "^2.1.3",
9-
"openzeppelin-solidity": "2.3.0-rc.1",
109
"solhint": "2.0.0",
1110
"solidity-coverage": "0.6.0-beta.5",
1211
"truffle": "5.0.19",

yarn.lock

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3773,10 +3773,6 @@ openzeppelin-eth@^2.1.3:
37733773
resolved "https://registry.yarnpkg.com/openzeppelin-eth/-/openzeppelin-eth-2.1.3.tgz#d9a4d7830ca8e4c3bc44164179a661112655e8b2"
37743774
integrity sha512-k1Yv3V7u369ERXV0xf+ru3TH+ZopFYY0E1M+4O32Q+0b4XLm2acVBaUvbuuqYMkUjKhSfu8HuPpXL7OWMEJWRw==
37753775

3776-
openzeppelin-solidity@2.3.0-rc.1:
3777-
version "2.3.0-rc.1"
3778-
resolved "https://registry.yarnpkg.com/openzeppelin-solidity/-/openzeppelin-solidity-2.3.0-rc.1.tgz#c8f0afc4cb328adc91eb048569f5a6b6e07ffb0a"
3779-
37803776
optimist@^0.6.1:
37813777
version "0.6.1"
37823778
resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686"

0 commit comments

Comments
 (0)