Skip to main content

newton_testing_utils/
anvil.rs

1//! Anvil utilities
2use alloy::primitives::{address, Address};
3
4// Addresses and private keys of accounts generated by anvil
5
6/// Address of the first default account generated by anvil
7pub const FIRST_ADDRESS: Address = address!("f39Fd6e51aad88F6F4ce6aB8827279cffFb92266");
8/// Private key of the first default account generated by anvil
9pub const FIRST_PRIVATE_KEY: &str = "ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80";
10
11/// Address of the second default account generated by anvil
12pub const SECOND_ADDRESS: Address = address!("70997970C51812dc3A010C7d01b50e0d17dc79C8");
13/// Private key of the second default account generated by anvil
14pub const SECOND_PRIVATE_KEY: &str = "59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d";
15
16/// Address of the third default account generated by anvil
17pub const THIRD_ADDRESS: Address = address!("3C44CdDdB6a900fa2b585dd299e03d12FA4293BC");
18
19/// Private key of the third default account generated by anvil
20pub const THIRD_PRIVATE_KEY: &str = "5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a";
21
22/// Address of the fifth default account generated by anvil
23pub const FIFTH_ADDRESS: Address = address!("9965507D1a55bcC2695C58ba16FB37d819B0A4dc");
24/// Private key of the fifth default account generated by anvil
25pub const FIFTH_PRIVATE_KEY: &str = "8b3a350cf5c34c9194ca85829a2df0ec3153be0318b5e2d3348e872092edffba";
26
27/// Bls private key
28pub const OPERATOR_BLS_KEY: &str = "1371012690269088913462269866874713266643928125698382731338806296762673180359922";