Create a Coffer
A Coffer is created by the factory in one transaction from the wallet that will own it. In the app the create wizard collects what the factory needs and sends that transaction at the end. Before you create a Coffer covers the three credential paths.
The predicted address
Section titled “The predicted address”The factory deploys deterministically, so a Coffer’s address is known before it exists, and on one network the same owner and validator public key always produce the same address. The factory’s own address goes into the result, so the same owner and key give a different address on Hoodi and on mainnet, and deposit data made for one cannot serve the other. The key is 48 bytes, written as 96 hex characters. The wizard shows the address as Your Coffer address, and it is the withdrawal address for the deposit data. The address is computed from the owner and the key, so the deposit data has to be made for that same key, see Point your validator at the Coffer. A Coffer that already exists at an address cannot be created again.
The terms
Section titled “The terms”Your starting balance and your terms go into the deploy, each within these bounds. The field names are the wizard’s.
| Field | Unit | Bounds |
|---|---|---|
| Amount (ETH) | ETH | 32–2048 ETH, your validator’s starting balance |
| Interest rate | % / yr | above zero, at most 100 percent |
| Min duration | days | above zero, at most the max duration |
| Max duration | days | at most 50 years |
| Issue size buffer | bps | under 10000, where 100 bps is 1 percent |
| Minimum amount to accept | ETH | at most the buffer scaled starting balance |
The amount is the balance your validator will hold, and the contract derives your opening issue size from it at the buffer discount. Report it honestly, holders check it against the beacon chain before buying. The buffer is your reserve against penalties, How a bond works explains what it protects. Most terms can change later, see Terms and what can change.
The owner
Section titled “The owner”The factory makes the wallet that sends the deploy the Coffer’s owner, and the address depends on that owner. A deploy from a wallet other than the owner you entered creates a different Coffer at a different address, so deploy from the owner’s wallet.
After the deploy
Section titled “After the deploy”For a key with no validator yet, your new Coffer reads Status Unknown until a deposit with a valid signature for that key is in the beacon queue. Its mark is red too, because the Coffer already has an issue size and the stake is not on the beacon chain yet. Point your validator at the Coffer covers the deposit, and Statuses explains each status and mark.