arcana

package module
v0.0.0-...-7fa851c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2022 License: GPL-3.0, LGPL-3.0 Imports: 15 Imported by: 0

README

arcana-go-mojeelib

Documentation

Index

Constants

View Source
const (
	DefaultGatewayURL = "https://gateway-dev.arcana.network"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppAddrResp

type AppAddrResp struct {
	Address common.MixedcaseAddress `json:"address"`
}

type InitializationOptions

type InitializationOptions struct {
	GatewayURL string
	AppID      uint64
}

type LoginRequest

type LoginRequest struct {
	Signature string `json:"signature"`
	Email     string `json:"email"`
	Address   string `json:"address"`
}

type LoginResponse

type LoginResponse struct {
	Token string `json:"token"`
}

type StorageProvider

type StorageProvider struct {
	// contains filtered or unexported fields
}

func NewStorageProvider

func NewStorageProvider(privateKey *ecdsa.PrivateKey, opts InitializationOptions) (*StorageProvider, error)

type SystemConfig

type SystemConfig struct {
	DIDContractAddr       common.MixedcaseAddress `json:"DID"`
	DKGContractAddr       common.MixedcaseAddress `json:"DKG"`
	FactoryContractAddr   common.MixedcaseAddress `json:"Factory"`
	ForwarderContractAddr common.MixedcaseAddress `json:"Forwarder"`
	RPCURL                string                  `json:"RPC_URL"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL