mirror of https://github.com/embarklabs/embark.git
Update README.md
This commit is contained in:
parent
6ddd921e33
commit
1e9439bbe6
|
@ -210,15 +210,14 @@ You can specify for each contract and environment its gas costs and arguments:
|
||||||
"args": [
|
"args": [
|
||||||
100
|
100
|
||||||
],
|
],
|
||||||
"deploy": false,
|
"gas": 800000
|
||||||
"gas": 10000000
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
If you are using multiple contracts, you can pass a reference to another contract as ```$ContractName```, Embark will automatically replace this with the correct address for the contract.
|
If you are using multiple contracts, you can pass a reference to another contract as ```$ContractName```, Embark will automatically replace this with the correct address for the contract. You can also specify interfaces and choose to not deploy contracts (for e.g in case they are interfaces)
|
||||||
|
|
||||||
|
|
||||||
```Json
|
```Json
|
||||||
|
@ -242,6 +241,9 @@ If you are using multiple contracts, you can pass a reference to another contrac
|
||||||
"args": [
|
"args": [
|
||||||
"$SimpleStorage"
|
"$SimpleStorage"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"MyContractInterface": {
|
||||||
|
"deploy": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue