From 0c614a457a526ab5d9f054c62da5303324cdc129 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Mon, 17 Oct 2016 19:58:52 -0400 Subject: [PATCH] Update README.md --- README.md | 41 ++++++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 45273fe2..b1b4faae 100644 --- a/README.md +++ b/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 -```Yaml -# config/contracts.yml - development: - Currency: - deploy: false - args: - - 100 - Usd: - instanceOf: Currency - args: - - "initial string" - MyCoin: - instanceOf: Currency - args: - - $SimpleStorage +```Json +# config/contracts.json +{ + "development": { + "contracts": { + "Currency": { + "deploy": false, + "args": [ + 100 + ] + }, + "Usd": { + "instanceOf": "Currency", + "args": [ + 200 + ] + }, + "MyCoin": { + "instanceOf": "Currency", + "args": [ + 200 + ] + } + } + } +} ... ```