Skip to Content
SDK & CLICLIGenerate Wallet

Generate Wallet

Generate a fresh wallet funded with native tokens (e.g. ETH on an Ethereum Stagenet) in one step.

You can use it to send transactions immediately — without manually generating keys then using the faucet.

Usage

With a contract.dev.js at your project root (see Setup):

contract.dev generate-wallet

This will log a new funded wallet:

Generated wallet Address: 0xAbC1234567890abcdef1234567890abcdef12345 Private key: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef (save the private key now — it is not stored) Funding wallet... Funded with 1,000,000 native tokens.

Copy the private key into your wallet, .env file, or secret store before closing the terminal — it is only shown once.

Last updated on