Skip to content

Instantly share code, notes, and snippets.

View samheutmaker's full-sized avatar
👻

Sam Hogan samheutmaker

👻
View GitHub Profile
@samheutmaker
samheutmaker / harkl.js
Created October 28, 2021 03:58 — forked from h4rkl/harkl.js
Can't get the correct signing authority for solana serum anchor implementation
const anchor = require("@project-serum/anchor");
const serumCmn = require("@project-serum/common");
const { TOKEN_PROGRAM_ID } = require("@solana/spl-token");
describe("harkl-tests", () => {
// Configure the client to use the local cluster.
anchor.setProvider(anchor.Provider.env());
const program = anchor.workspace.Harkl;