Skip to content

Instantly share code, notes, and snippets.

const pkcs11 = require("pkcs11js");
const ffi = require("ffi");
const ref = require("ref");
const ArrayType = require('ref-array')
const StructType = require("ref-struct");
const KEYPAIR_ID = Buffer.from("GOST keypair");
// PKCS11 types
const CK_BYTE = ref.types.byte;
@ang-st
ang-st / add-new-crypto-to-peatio.md
Created January 19, 2018 10:19 — forked from brossi/add-new-crypto-to-peatio.md
Adding A New Cryptocurrency to Peatio

State: Draft
Based on the Peatio Stable branch


Coin Daemon

To the coin daemon's {coin}.conf file, include the -walletnotify command:

# Notify when receiving coins