Timeline for How to get a deployed contract instance in truffle console that was deployed without a migration?
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 27, 2018 at 6:15 | comment | added | mesqueeb | Dear @ivicaa Thanks for the great answer. I tried implementing your answer, but I ran into another problem. I have opened a new question here: ethereum.stackexchange.com/questions/41023/… It would be really cool if you could have a look! | |
S Feb 27, 2018 at 5:14 | history | edited | ivicaa | CC BY-SA 3.0 |
added 7 characters in body
|
Feb 27, 2018 at 4:54 | review | Suggested edits | |||
S Feb 27, 2018 at 5:14 | |||||
Feb 26, 2018 at 12:48 | history | edited | ivicaa | CC BY-SA 3.0 |
edited body
|
Feb 26, 2018 at 12:44 | vote | accept | mesqueeb | ||
Feb 26, 2018 at 12:43 | comment | added | ivicaa | I've updated the answer. If you can sketch your contracts, maybe I can give you a better example. | |
Feb 26, 2018 at 12:42 | history | edited | ivicaa | CC BY-SA 3.0 |
added 295 characters in body
|
Feb 26, 2018 at 12:33 | comment | added | mesqueeb | But you mean that it's required to save the reference in contract A? Can that saved reference also be in an array of references? Could you give a small example how to save the reference of contract B in A, since B will be a lot and A only one. | |
Feb 26, 2018 at 12:30 | comment | added | ivicaa | Yes. Just like in web3, you can use Contract.at(addr). | |
Feb 26, 2018 at 12:20 | comment | added | mesqueeb | Is there any truffle function with which j can obtain an instance of a custom deployed contract? | |
Feb 26, 2018 at 11:55 | history | answered | ivicaa | CC BY-SA 3.0 |