Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUninitializedPrivateKey = errors.New("private key should be initialized") EvmSecretsNotInitialized = errors.New("evm secrets should be initialized") )
Functions ¶
This section is empty.
Types ¶
type EVMSecrets ¶
type EVMSecrets map[string]*ecdsa.PrivateKey
func (*EVMSecrets) PrivateKey ¶
func (e *EVMSecrets) PrivateKey(chain string) *ecdsa.PrivateKey
type NearSecrets ¶
type NearSecrets struct {
// contains filtered or unexported fields
}
func (*NearSecrets) PrivateKey ¶
func (s *NearSecrets) PrivateKey() common.KeyPair
func (*NearSecrets) PublicKey ¶
func (s *NearSecrets) PublicKey() string
type Secret ¶
type Secret struct {
// contains filtered or unexported fields
}
func (*Secret) Bouncer ¶
func (s *Secret) Bouncer() *ecdsa.PrivateKey
func (*Secret) EVM ¶
func (s *Secret) EVM() *EVMSecrets
func (*Secret) Near ¶
func (s *Secret) Near() *NearSecrets
func (*Secret) Solana ¶
func (s *Secret) Solana() *SolanaSecrets
type SolanaSecrets ¶
type SolanaSecrets struct {
// contains filtered or unexported fields
}
func NewSolanaSecrets ¶
func NewSolanaSecrets(key solana.PrivateKey) *SolanaSecrets
func (*SolanaSecrets) PrivateKey ¶
func (s *SolanaSecrets) PrivateKey() solana.PrivateKey
func (*SolanaSecrets) PublicKey ¶
func (s *SolanaSecrets) PublicKey() solana.PublicKey
type VaultConfig ¶
Click to show internal directories.
Click to hide internal directories.