hedera-state-proof-verifier-go

module
v0.0.0-...-2cb8fe2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: Apache-2.0

README

GitHub Discord

Hedera State Proof Verifier in Go

Cryptographically prove a transaction is valid on Hedera Network in Go. Based on official documentation.

Install

go get github.com/hashgraph/hedera-state-proof-verifier-go

How to use?

import "github.com/hashgraph/hedera-state-proof-verifier-go/stateproof"

verified, err := stateproof.Verify(txnID, stateProof)
Verify scheduled transaction
import "github.com/hashgraph/hedera-state-proof-verifier-go/stateproof"

verified, err := stateproof.VerifyScheduled(txnID, stateProof)

Examples

V2 Record Stream State Proof Verification

V5 Record Stream State Proof Verification with Full Record File

V5 Record Stream State Proof Verification with Compact Record File

V5 Record Stream State Proof Verification of Scheduled Transactions

V5 Record Stream State Proof Verification with Failing Node

Directories

Path Synopsis
examples
v2
internal

Jump to

Keyboard shortcuts

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