Skip to content

Instantly share code, notes, and snippets.

Avatar
🔨
Woodworking

Rob Cameron cannikin

🔨
Woodworking
View GitHub Profile
@cannikin
cannikin / verify_txn.js
Created Feb 10, 2022 — forked from joe-p/verify_txn.js
Verify signed algosdk transaction (javascript)
View verify_txn.js
const algosdk = require('algosdk');
const nobleEd25519 = require('@noble/ed25519');
// setup connection to algoexplorer API
const algodClient = new algosdk.Algodv2("", 'https://api.testnet.algoexplorer.io', '');
// generate a standalone account
const account = algosdk.generateAccount();
(async () => {