Update README.md

This commit is contained in:
Iuri Matias 2016-10-17 19:58:52 -04:00 committed by GitHub
parent 74474f5357
commit 0c614a457a

View File

@ -170,21 +170,32 @@ If you are using multiple contracts, you can pass a reference to another contrac
You can now deploy many instances of the same contract. e.g You can now deploy many instances of the same contract. e.g
```Yaml ```Json
# config/contracts.yml # config/contracts.json
development: {
Currency: "development": {
deploy: false "contracts": {
args: "Currency": {
- 100 "deploy": false,
Usd: "args": [
instanceOf: Currency 100
args: ]
- "initial string" },
MyCoin: "Usd": {
instanceOf: Currency "instanceOf": "Currency",
args: "args": [
- $SimpleStorage 200
]
},
"MyCoin": {
"instanceOf": "Currency",
"args": [
200
]
}
}
}
}
... ...
``` ```