DEV Community

David
David

Posted on

How Does a Self Custody Crypto Wallet Work? Keys and Funds

A self-custody crypto wallet lets its owner control funds by keeping the private keys that authorize transactions. The wallet derives those keys from a recovery phrase, then signs transactions with them; the coins and tokens remain recorded on the blockchain at the wallet’s address. Whoever controls the keys controls the funds, and no wallet company can recover a lost recovery phrase.

How does a self-custody wallet control crypto?

A self-custody wallet turns a recovery phrase into keys, uses a key to sign a transaction, and lets the network verify that signature before changing its records. The phrase is the backup; the private key is what authorizes a transaction.

For a common setup, the sequence is: seed phrase → private key → public key → address. BIP-39 describes how a mnemonic phrase—commonly 12 or 24 words—is converted into a seed. Wallet software uses that seed with key-derivation rules to generate private keys. A public key is derived from each private key, and the address is derived from the public key. Ethereum.org’s “Ethereum accounts” documentation explains the key pair and address derivation for an externally owned account.

Say a friend wants to swap a token. Their wallet prepares a transaction describing the action and the destination smart contract. The wallet signs it with the relevant private key. The network checks the signature and transaction rules; if valid, it processes the request and records the resulting on-chain change. The wallet displays that record, but it does not hold the token balance itself.

Deleting the wallet app does not erase the blockchain record or the keys backed up elsewhere. Restoring the phrase in a compatible wallet can recreate the same keys and addresses. Losing the phrase, and access to any remaining copy of the wallet, can mean losing control of the funds permanently. A device password protects access to that device; it is not a substitute for the recovery phrase.

Connecting to shiba swap illustrates the difference between connecting and authorizing. ShibaSwap is a decentralized exchange where people can swap tokens or use liquidity features. A wallet connection, through MetaMask or WalletConnect, typically lets the site see the public address; it does not itself authorize a transfer. Each token approval or swap needs its own signature. The linked shibaswap woof adds useful background on the exchange example. Before signing, the user should read what the wallet says the request will do, especially which token or contract receives permission and how much can be spent.

An approval can let a smart contract spend a token up to an allowance, sometimes without a fixed limit. Signing an approval is different from swapping: it grants spending permission, while a later swap is another transaction. A helper should encourage the user to check the token, contract, network, and amount or allowance displayed before approving.

The same EVM wallet address works on Ethereum and Shibarium, whose documented chain ID is 109. The selected network determines which blockchain receives a transaction and where its effects are recorded. If someone sends an EVM token to their own address while the wallet is set to the wrong EVM network, the funds are generally at that same address on the network the sender used. They are often recoverable by adding or selecting that network and displaying the token there; they were not automatically moved to the intended chain. The asset may still need bridging to reach another chain, and recovery depends on the network and token.

Never share a recovery phrase with a support agent, website, or anyone claiming they need it to fix a wallet. MetaMask Support’s “Secret Recovery Phrase” guidance says not to share it. A legitimate support process does not need the phrase: anyone who obtains it can restore the wallet and sign transactions as its owner.

Related questions about self-custody wallets

What happens if I lose my seed phrase?

If the wallet app or device still works, the owner may still be able to use the wallet, but they have lost the backup needed to restore it. If both access and the phrase are lost, there is generally no company that can reset the keys. A compatible wallet can restore the same keys from the phrase; if an optional BIP-39 passphrase was used, that same passphrase is also needed to recreate that wallet.

Custodial vs non-custodial wallet: what is the difference?

With a custodial wallet, a service controls the private keys and handles access or recovery under its own rules. With a non-custodial wallet, the user controls the keys and must protect the recovery phrase. Self-custody gives the user direct signing control, but also makes backups and transaction checks their responsibility.

Hardware wallet or software wallet for a beginner?

A software wallet signs through an app on a phone or computer, which is convenient for frequent use. A hardware wallet keeps signing keys in a separate device and requires physical confirmation for transactions, adding a security step. Either type still depends on safely backing up the recovery phrase and carefully reviewing signatures; the better fit depends on the user’s needs and ability to protect the device and backup.

Putting self-custody into practice

Should the seed phrase be stored on paper, metal or a password manager?

Choose a backup method that protects against both theft and loss. Paper is simple but can be damaged by fire or water; a metal backup can resist those hazards but still needs secure storage. A password manager may protect an encrypted digital copy, but its safety depends on the manager account and device security. Never store the phrase in an unencrypted note, screenshot, or cloud document, and never enter it into a site to “verify” a wallet.

How do you check which token approvals a wallet has given?

Use a reputable approval checker that supports the relevant blockchain, or inspect the token’s allowance records with a trusted block explorer. Confirm the chain and wallet address before reviewing results. Revoke permissions the owner no longer needs, while remembering that revocation itself requires a transaction and network fee. Recheck after using new apps or contracts.

Can a self-custody wallet be inherited?

It can, if a trusted successor can securely obtain the recovery phrase and any required passphrase, along with clear instructions for identifying the wallet and relevant networks. Keep those details private while alive, and make the inheritance plan accessible through a secure legal or estate arrangement. A will that mentions crypto but gives no workable way to access the keys may not be enough.

Top comments (0)