Skill 4.1.2

Configure wallets, RPC endpoints and test ether for deployment

Key Concepts

A deployment account is an externally owned account whose key is held in a wallet such as MetaMask, a hardware wallet or an encrypted keystore. The wallet must be connected to the target network; MetaMask includes Sepolia as a built-in test network that can be shown in its network list.

Scripts and tools submit transactions through an RPC endpoint: a URL of a node the team runs or of a node provider such as Infura, Alchemy or QuickNode, usually including an API key. In Hardhat, a network entry such as sepolia: { type: "http", url: configVariable("SEPOLIA_RPC_URL"), accounts: [configVariable("SEPOLIA_PRIVATE_KEY")] } combines the endpoint with the signing key.

Testnet ether comes from faucets, which give small amounts of free Sepolia ether, often with limits or requirements such as a small mainnet balance to deter abuse. Deployment and testing need enough test ether for every transaction's gas.