Wallet architecture
On Starknet, wallets are smart contracts. DFNS uses the OpenZeppelin (OZ) implementation for wallet contracts.Wallet lifecycle
- Key generation: When you create a Starknet wallet in DFNS, a private key is generated and an address is derived
- Receiving funds: You can receive assets at this address before the wallet is deployed
- Activation: Before you can send transactions, you must deploy the wallet contract using the Activate Wallet endpoint
You need funds in the wallet to pay for the activation transaction. Ensure the wallet has sufficient balance before activating.
Token standards
Starknet uses EVM-like token standards:Native tokens
Starknet has two native tokens:- STRK: The native network token used for fees
- ETH: Bridged Ethereum, also widely used
Transfers
Use the Transfer Asset endpoint for Starknet transfers:- STRK: Use
kind: Native - ETH: Use
kind: Erc20with the ETH contract address - SNIP-2 tokens: Use
kind: Snip2with the token’s contract address - SNIP-3 NFTs: Use
kind: Snip3with the NFT’s contract address andtokenId