Documentation ¶
Index ¶
Constants ¶
View Source
const ( EthDerivationPath string = "m/44'/60'/0'/0/%d" BeaconDerivationPath string = "m/12381/3600/%d/0/0" Mnemonic string = "test test test test test test test test test test test junk" StakeWiseVaultAddressHex string = "0x57ace215eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee" Network string = "localtest" GenesisForkVersionString string = "0x01017000" CapellaForkVersionString string = "0x04017000" GenesisValidatorsRootString string = "0x9143aa7c615a7f7115e2b6aac319c03529df8242ae705fba9df39b79c59fa8b1" User0Email string = "user_0@test.com" User1Email string = "user_1@test.com" User2Email string = "user_2@test.com" User3Email string = "user_3@test.com" DepositAmount uint64 = 32e9 ExitEpoch uint64 = 100 ChainID uint64 = 31337 SuperNodeAddressString string = "0xa4E00CB342B36eC9fDc4B50b3d527c3643D4C49e" WhitelistAddressString string = "0xA9e6Bfa2BF53dE88FEb19761D9b2eE2e821bF1Bf" )
Variables ¶
View Source
var ( StakeWiseVaultAddress common.Address = common.HexToAddress(StakeWiseVaultAddressHex) GenesisForkVersion []byte = common.FromHex(GenesisForkVersionString) CapellaForkVersion []byte = common.FromHex(CapellaForkVersionString) GenesisValidatorsRoot []byte = common.FromHex(GenesisValidatorsRootString) ChainIDBig *big.Int = new(big.Int).SetUint64(ChainID) SuperNodeAddress common.Address = common.HexToAddress(SuperNodeAddressString) WhitelistAddress common.Address = common.HexToAddress(WhitelistAddressString) )
Functions ¶
func GetBeaconPrivateKey ¶
func GetBeaconPrivateKey(index uint) (*types.BLSPrivateKey, error)
Get the BLS private key for the given index
func GetEthPrivateKey ¶
func GetEthPrivateKey(index uint) (*ecdsa.PrivateKey, error)
Get the EL private key for the given index
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.