From c1113dda00010a547c5da6506cabc8fc6d9edda8 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Wed, 15 Jul 2015 08:06:40 -0400 Subject: [PATCH] update readme --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/README.md b/README.md index 8cfec56e..452eca6d 100644 --- a/README.md +++ b/README.md @@ -138,6 +138,39 @@ 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: + args: + - 100 + Usd: + instanceOf: Currency + args: + - "initial string" + MyCoin: + instanceOf: Currency + args: + - $SimpleStorage + ... +``` + +Contracts addresses can be defined, If an address is defined the contract wouldn't be deployed but its defined address will be used instead. + + +```Yaml + development: + UserStorage: + address: 0x123456 + UserManagement: + args: + - $UserStorage + ... +``` + Tests ======