Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentityHolder ¶
type IdentityHolder interface { identity.Signer PublicKeyProvider }
func FromKeystore ¶
func FromKeystore(keystore *keystore.KeyStore, address common.Address) IdentityHolder
type PublicKeyParts ¶
func SplitPublicKey ¶
func SplitPublicKey(key *ecdsa.PublicKey) PublicKeyParts
type PublicKeyProvider ¶
type RegistrationData ¶
type RegistrationData struct { PublicKey PublicKeyParts Signature *identity.DecomposedSignature }
func CreateRegistrationData ¶
func CreateRegistrationData(identityHolder IdentityHolder) (*RegistrationData, error)
func (*RegistrationData) String ¶
func (proof *RegistrationData) String() string
type Registry ¶
type Registry struct { generated.IdentityRegistrySession Address common.Address }
func DeployRegistry ¶
func DeployRegistry(owner *bind.TransactOpts, erc20address common.Address, backend bind.ContractBackend) (*Registry, error)
func (*Registry) LookupPublicKey ¶
func (*Registry) RegisterIdentity ¶
func (registry *Registry) RegisterIdentity(data *RegistrationData) (*types.Transaction, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.