Navigating Starknet account abstraction wallets

Account abstraction and Argent models

Starknet accounts function as smart contracts rather than traditional external accounts. This account abstraction is a native feature of the network. In the Ethereum ecosystem, users manage external accounts with tools like MetaMask. In Starknet, users utilize wallets like Braavos or Argent X. Argent provides two separate security models depending on the platform. The Argent mobile wallet does not use a seed phrase. It relies on onchain recovery and an encrypted recovery kit. You must save or update your encrypted recovery kit when the app prompts you to ensure you can recover your wallet alongside Vault and zkSync wallets. Argent X uses a traditional seed phrase to secure the account. It also provides 2FA for transaction security. This difference exists by design. The mobile wallet uses social trust for recovery, while Argent X combines a seed phrase with mobile security features.

Starknet is an Ethereum L2 ZKRollup. It uses the Cairo programming language, which is a general-purpose, provable language. Cairo is similar to Rust and uses an ownership model. Developers use Scarb to manage Cairo projects and compile code. Scarb handles the manifest file, known as Scarb.toml, which defines the package name, version, dependencies, and the target. Compiling a Cairo module produces files in the target/dev/ directory.

Setting up Argent X and testnet tools

Setting up Argent X requires the Chrome web store to download the extension. You create a new wallet, accept the StarkNet program terms, and set a unique password. Because Starknet is in Alpha, you should think twice before transacting with large sums of money. The wallet contract takes about a minute to deploy on-chain. This deployment process differentiates Starknet-based wallets from regular Ethereum L1 wallets. You can select the low security option by backing up with a seed phrase. High security options involving social recovery are coming soon.

To explore the network, you can use the StarkSwap faucet to mint 10 test LAN and BAR tokens. You provide liquidity to the LAN-BAR pool by clicking the plus icon and specifying your token amount. To move assets from Ethereum L1, you use the StarkGate bridge. This bridge also operates in Alpha. To bridge assets, change the Ethereum network in your MetaMask wallet to Goerli. Connect to the StarkNet wallet and select Argent X from the available list. Both wallets connect to StarkGate. After receiving test ETH from a Goerli faucet, you can transfer it. Specify the amount and keep some for gas fees. The L2 transaction may take longer than the L1 transaction.

Recovery models and address derivation

Recovery models vary across the ecosystem. Argent’s mobile wallet uses social recovery where guardians authorize a key change. You pre-select guardians to act as a safety net. If you lose your phone, a majority of guardians approve the recovery. This model differs from the passkey-based recovery seen in Coinbase Smart Wallet. Passkeys live in a device’s secure hardware and sync via platform vaults. MPC models, such as Zengo, split the key into shares. Signing requires enough shares to collaborate. This prevents phishing or misplacing a single seed phrase. Smart accounts allow for multiple owners and secondary approvals.

Wallet Type Security Method Recovery Method
Argent Mobile Onchain recovery Encrypted recovery kit
Argent X Seed phrase and 2FA Traditional seed phrase
Braavos Seed phrase Independent backup

Users encounter issues when switching between wallets. When you attempt to import a Braavos seed phrase into Argent X, you see different addresses because each wallet implements its own unique algorithm for generating addresses through a hierarchical deterministic structure that uses a master key or seed phrase to derive multiple private keys. You should backup your recovery information independently. I would tell you to treat these as separate accounts to avoid losing access to funds. The Argent mobile wallet provides the most streamlined recovery experience for users who dislike seed phrases. Do you know which derivation path your preferred wallet uses?

Technical control with Starkli

Developers use Starkli to interact with the Starknet network. This command-line tool uses a package manager called starkliup to get the latest binary files. To manage smart wallets, you create a .wallets folder to store files. A smart wallet consists of a signer and an account description. The signer can be a private key or an encrypted keystore. You create a keystore from a private key by using the command to enter a password. This generates a keystore.json file. To fetch account info for an account already on the chain, use the command starkli account fetch. You can specify the output location and the RPC node, such as an Alchemy node.

Deployment involves two steps: declaring the contract and then deploying the instance. You first use the starkli declare command with your contract class file to get a class hash. Then you use starkli deploy with that hash to create the contract. This process is different from the Ethereum method where you deploy bytecode directly. Users find Argent X and Braavos slow, cumbersome, and troublesome to use. I would focus on the developer tools if the user interface remains difficult. The developer uses the command to deploy the contract instance after the declaration phase.

Newsletter