new register(`rho:registry:insertArbitrary`), out(`rho:io:stdout`), myContract, ret in {
contract myContract(arg1, arg2) = { out!(("These are the args: ", arg1, arg2)) } |
register!(bundle+{*myContract}, *ret) |
for (@urn <- ret) {
out!(("My contract is located at this URN: ", urn))
}
}
To look up the contract at the id in a different deployment: