Skip to main content

Crate test_utils_keypairs

Crate test_utils_keypairs 

Source
Expand description

Constant keypairs with well known addresses for use in tests.

Each constant holds the 64 byte secret key of a deterministic account so that tests across crates can rely on the same addresses.

Constants§

SECRET_KEY_ADMIN
Account for the admin address during testing. Add this to your .env file
SECRET_KEY_AUTHORITY
EjxoynXa5jTq4MyZzWtTz6Uq8UHQDxebkWhvEkDXoZxH
SECRET_KEY_TREASURY
tBuug63EhqE836n1dirg3sZ5KwZuG6P6i5nDHYrryyX
SECRET_KEY_WALLET
B6FAryxc6pfLuK4to1BuvhqVJQm2V1cthguAmSPvqPug

Functions§

get_admin_keypair
The admin Keypair for 4z5X2suocz9szaQnSshj2AW8tuLgUVmYUxiW9hhPaRHs.
get_authority_keypair
The authority Keypair for EjxoynXa5jTq4MyZzWtTz6Uq8UHQDxebkWhvEkDXoZxH.
get_treasury_keypair
The treasury Keypair for tBuug63EhqE836n1dirg3sZ5KwZuG6P6i5nDHYrryyX.
get_wallet_keypair
The user wallet Keypair for B6FAryxc6pfLuK4to1BuvhqVJQm2V1cthguAmSPvqPug.