Documentation
¶
Index ¶
- func AddRemoteHandler(ctx context.Context, db *gorm.DB, lotusClient jsonrpc.RPCClient, ...) (*model.Wallet, error)
- func AddWalletHandler(ctx context.Context, db *gorm.DB, datasetName string, wallet string) (*model.WalletAssignment, error)
- func ImportHandler(ctx context.Context, db *gorm.DB, lotusClient jsonrpc.RPCClient, ...) (*model.Wallet, error)
- func ListHandler(ctx context.Context, db *gorm.DB) ([]model.Wallet, error)
- func ListWalletHandler(ctx context.Context, db *gorm.DB, datasetName string) ([]model.Wallet, error)
- func RemoveHandler(ctx context.Context, db *gorm.DB, address string) error
- func RemoveWalletHandler(ctx context.Context, db *gorm.DB, datasetName string, wallet string) error
- type AddRemoteRequest
- type ImportRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRemoteHandler ¶
func AddWalletHandler ¶
func ImportHandler ¶
func ListWalletHandler ¶
Types ¶
type AddRemoteRequest ¶
type ImportRequest ¶
type ImportRequest struct {
PrivateKey string `json:"privateKey"` // This is the exported private key from lotus wallet export
}
Click to show internal directories.
Click to hide internal directories.