Connect Move Module with Wallet Address

Hi guys. I am trying to connect move module to the petra aptos wallet address , I can compile with that address but not been able to publish with that address. I can compile and publish with the address which I got from aptos init command. So help me to publish a move module with wallet address. Thanks in advance.

aptos move publish --package-dir ~/aptos-core/aptos-move/move-examples/hello_blockchain/ --named-addresses hello_blockchain=0x06b70348c4ab78b60e0977d572f74c842e81a803f69844b1d79dc22123bc639
package size 1601 bytes
“Error”: “API error: Unknown error transaction execution failed: Transaction Executed and Committed with Error MODULE_ADDRESS_DOES_NOT_MATCH_SENDER”

1 Like