Unverified Commit 983ded68 authored by yann300's avatar yann300 Committed by GitHub

Update contract_metadata.md

parent f488750c
...@@ -14,13 +14,56 @@ Values are addresses of libraries used for linking the contract. ...@@ -14,13 +14,56 @@ Values are addresses of libraries used for linking the contract.
`autoDeployLib` defines if the libraries should be auto deployed by Remix or if the contract should be linked with libraries described in `linkReferences` `autoDeployLib` defines if the libraries should be auto deployed by Remix or if the contract should be linked with libraries described in `linkReferences`
Note that Remix will resolve addresses corresponding to the current network.
By default, a configuration key follow the form: `<network_name>:<networkd_id>`, but it is also possible
to define `<network_name>` or `<network_id>` as keys.
``` ```
{ {
"VM:-": {
"linkReferences": {
"browser/Untitled.sol": {
"lib": "<address>",
"lib2": "<address>"
}
},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {
"browser/Untitled.sol": {
"lib": "<address>",
"lib2": "<address>"
}
},
"autoDeployLib": true
},
"ropsten:3": {
"linkReferences": { "linkReferences": {
"browser/Untitled.sol": { "browser/Untitled.sol": {
"lib": "0x8c1ed7e19abaa9f23c476da86dc1577f1ef401f5" "lib": "<address>",
"lib2": "<address>"
} }
}, },
"autoDeployLib": false "autoDeployLib": true
},
"rinkeby:4": {
"linkReferences": {
"browser/Untitled.sol": {
"lib": "<address>",
"lib2": "<address>"
}
},
"autoDeployLib": true
},
"kovan:42": {
"linkReferences": {
"browser/Untitled.sol": {
"lib": "<address>",
"lib2": "<address>"
}
},
"autoDeployLib": true
}
} }
``` ```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment