Skip to content

Use class hash 0x036078334509b514626504edc9fb252328d1a240e4e948bef8d0c08dff45927f for create account show different address #2143

@gtmickey

Description

@gtmickey

On Sepolia testnet

I import a random phrase to argent-x wallet, and my first account is
privateKey: 0x003240a3ed6737942813b39245f06e6287ae8c12dbe3efb8434bb0cc956544e9
publicKey:FMZtUieh93EjoXPcSFLqbpm9hkkrHM5pBM4fZhuLDdZ
address: 0x02b45D8F1F8572ef0D1Ad79fe6589576272e5dc16C94B9b832408aEbffe2de97

  1. publicKey shows like base58, and how to encode hex public key to it?

  2. when I use same compute logic on starknet-rs and argent-starknet-recover
    using class hash: 0x036078334509b514626504edc9fb252328d1a240e4e948bef8d0c08dff45927f

both output address is 0x40f0724c746b65e5545bfc794bdd3cce1f6d17bcaa1c0bf5d1b7a597a79104a
it's different with argent-x
looking for a guide, thanks a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions