vrfutils

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor struct {
	*wallets.Storage
	node.Identifier
}

func NewProcessor

func NewProcessor(identifier node.Identifier, wStorage *wallets.Storage) Processor

NewProcessor creates a VRF instruction processor backed by wallet storage.

func (*Processor) ProveRandomness

func (p *Processor) ProveRandomness(
	_ types.SubmissionTag,
	dataFixed *instruction.DataFixed,
	_ []hexutil.Bytes,
	_ []common.Address,
	_ *policy.SigningPolicy,
) ([]byte, []byte, error)

ProveRandomness returns a VRF proof for the given wallet/key pair and nonce.

Jump to

Keyboard shortcuts

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