Documentation ¶
Index ¶
- Constants
- type OnBoarding
- func (b *OnBoarding) CreateAccount(ethereumAddress string) (*OnboardingResponse, string, error)
- func (b *OnBoarding) CreateAccountWithSignatures(derivedKey string, ethereumAddress string, onboardingSig string) (*OnboardingResponse, error)
- func (b *OnBoarding) CreateMessage(msg map[string]interface{}) apitypes.TypedData
- func (b *OnBoarding) DeriveStarkKey(ethereumAddress string) string
- func (b *OnBoarding) DeriveStarkKeyFromSignature(signature []byte) string
- func (b *OnBoarding) GetDefaultApiCredentialsSignature() string
- func (b *OnBoarding) HashMessage(d apitypes.TypedData) ([]byte, error)
- func (b *OnBoarding) Onboard(ethereumAddress string, onboardingParams map[string]interface{})
- func (b *OnBoarding) RecoverDefaultApiCredentials(ethereumAddress string) *types.ApiKeyCredentials
- func (b *OnBoarding) RecoverDefaultApiCredentialsFromSignature(sig []byte) *types.ApiKeyCredentials
- func (b *OnBoarding) SignMessage(d apitypes.TypedData) ([]byte, error)
- type OnboardingResponse
Constants ¶
View Source
const SigningMethodTypedData = "TypedData"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OnBoarding ¶
type OnBoarding struct { base.BaseClient Host string CryptoSigner signer.CryptoSigner }
func (*OnBoarding) CreateAccount ¶ added in v0.2.0
func (b *OnBoarding) CreateAccount(ethereumAddress string) (*OnboardingResponse, string, error)
func (*OnBoarding) CreateAccountWithSignatures ¶ added in v0.3.1
func (b *OnBoarding) CreateAccountWithSignatures(derivedKey string, ethereumAddress string, onboardingSig string) (*OnboardingResponse, error)
func (*OnBoarding) CreateMessage ¶
func (b *OnBoarding) CreateMessage(msg map[string]interface{}) apitypes.TypedData
func (*OnBoarding) DeriveStarkKey ¶
func (b *OnBoarding) DeriveStarkKey(ethereumAddress string) string
func (*OnBoarding) DeriveStarkKeyFromSignature ¶ added in v0.3.1
func (b *OnBoarding) DeriveStarkKeyFromSignature(signature []byte) string
func (*OnBoarding) GetDefaultApiCredentialsSignature ¶ added in v0.2.0
func (b *OnBoarding) GetDefaultApiCredentialsSignature() string
func (*OnBoarding) HashMessage ¶
func (b *OnBoarding) HashMessage(d apitypes.TypedData) ([]byte, error)
func (*OnBoarding) Onboard ¶ added in v0.3.0
func (b *OnBoarding) Onboard(ethereumAddress string, onboardingParams map[string]interface{})
func (*OnBoarding) RecoverDefaultApiCredentials ¶
func (b *OnBoarding) RecoverDefaultApiCredentials(ethereumAddress string) *types.ApiKeyCredentials
func (*OnBoarding) RecoverDefaultApiCredentialsFromSignature ¶ added in v0.3.1
func (b *OnBoarding) RecoverDefaultApiCredentialsFromSignature(sig []byte) *types.ApiKeyCredentials
func (*OnBoarding) SignMessage ¶
func (b *OnBoarding) SignMessage(d apitypes.TypedData) ([]byte, error)
type OnboardingResponse ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.