Created
September 28, 2018 11:36
-
-
Save DanielVF/f8858aa812bff3b3165e4fcc009f6675 to your computer and use it in GitHub Desktop.
Get origin contract address JSON from an origin DAPP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| out = {} | |
| for (const k in originTest.contractService.contracts) { | |
| out[k] = {4: {address:originTest.contractService.contracts[k].networks[4].address}} | |
| } | |
| JSON.stringify(out) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment