Contract Migration
Learn how to do contract migration with SecretJS.
Secret Network Client Setup
SecretJS Contract Migration
secretjs.tx.compute.migrateContract()
Migrate a contract's code while keeping the same address. Invokes the migrate()
function on the new code.
Input: MsgMigrateContractParams
See here for further docs on contract migration.
Last updated