Skip to main content

Overview

When Dokrypt starts a local chain, it automatically creates and funds a set of test accounts. You can manage these accounts and create new ones at any time.

Default Accounts

By default, Dokrypt creates 10 accounts funded with 10,000 ETH each. Configure this in dokrypt.yaml:
Or per chain:

Listing Accounts

Funding Accounts

Set any account’s balance:
The amount is in ETH. This replaces the current balance (it doesn’t add to it).

Impersonating Accounts

Allow transactions from any address without the private key:
Useful for:
  • Interacting with contracts as their owner
  • Simulating transactions from whale addresses
  • Testing governance as specific voters

Generating Accounts

Create additional funded accounts:
Generates 5 deterministic addresses, each funded with 10,000 ETH.

Multi-Chain

All account commands support --chain for multi-chain setups:

Account Generation

Dokrypt generates accounts deterministically from a seed. This means:
  • The same accounts are generated every time
  • Accounts are reproducible across machines
  • Private keys are derived using ECDSA/secp256k1
  • Addresses use EIP-55 checksumming