clarinet
clarinet copied to clipboard
remap genesis contracts like pox-3 from mainnet address to testnet address for deployments
Is your feature request related to a problem? Please describe. As a developer, I am building on top of existing contracts on mainnet. In my contract, I use the addresses of the mainnet contract as specified in the requirements. They are mapped correctly. However, genesis contracts are not mapped.
Describe the solution you'd like Either allow to specify in contract-deploy
remap-principals:
SP000000000000000000002Q6VF78: ST000000000000000000002AMW42H
Or do it automatically
Describe alternatives you've considered Manually replace this address
This happens to us too, is there any updates on this or someway we can help? Also, is there any workaround for it?
@planbetterHQ @friedger I'm assuming both of your use case are about PoX contracts right?
If there is a solution for pox that is already good.