mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-12 06:44:37 +00:00
Update README.md
This commit is contained in:
parent
74474f5357
commit
0c614a457a
41
README.md
41
README.md
@ -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
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user