0.0.6 • Published 1 year ago

@df0/whitelist v0.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@df0/whitelist

This package contains utilities for working with DarkForest whitelist keys.

Installation

You can install this package using npm or yarn by running:

npm install --save @df0/whitelist
yarn add @df0/whitelist

When using this in a plugin, you might want to load it with skypack

import * as whitelist from 'http://cdn.skypack.dev/@df0/whitelist';

Table of contents

Variables

Functions

Variables

keysPerTx

Const keysPerTx: 400

Functions

bigIntFromKey

bigIntFromKey(key): BigInteger

Parameters

NameType
keystring

Returns

BigInteger


generateKey

generateKey(): string

Returns

string


generateKeys

generateKeys(count): string[]

Parameters

NameType
countnumber

Returns

string[]


keyHash

keyHash(key): string

Parameters

NameType
keystring

Returns

string