local

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package local provides functions for local key and signer generation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(
	keyIndex, weight int,
	signAlgo crypto.SignatureAlgorithm,
	hashAlgo crypto.HashAlgorithm,
) (*flow.AccountKey, *keys.Private, error)

func Signer

func Signer(ctx context.Context, key keys.Private) (crypto.Signer, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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