Update README.md

This commit is contained in:
Iuri Matias 2017-12-19 13:03:11 -05:00 committed by GitHub
parent 6ddd921e33
commit 1e9439bbe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -210,15 +210,14 @@ You can specify for each contract and environment its gas costs and arguments:
"args": [
100
],
"deploy": false,
"gas": 10000000
"gas": 800000
}
}
}
}
```
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
@ -242,6 +241,9 @@ If you are using multiple contracts, you can pass a reference to another contrac
"args": [
"$SimpleStorage"
]
},
"MyContractInterface": {
"deploy": false
}
}
}