@darkforest_eth/whitelist
TypeScript icon, indicating that this package has built-in type declarations

6.7.29 • Public • Published

@darkforest_eth/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 @darkforest_eth/whitelist
yarn add @darkforest_eth/whitelist

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

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

Table of contents

Variables

Functions

Variables

keysPerTx

Const keysPerTx: 400

Functions

bigIntFromKey

bigIntFromKey(key): BigInteger

Parameters

Name Type
key string

Returns

BigInteger


generateKey

generateKey(): string

Returns

string


generateKeys

generateKeys(count): string[]

Parameters

Name Type
count number

Returns

string[]


keyHash

keyHash(key): string

Parameters

Name Type
key string

Returns

string

Readme

Keywords

none

Package Sidebar

Install

npm i @darkforest_eth/whitelist

Weekly Downloads

5

Version

6.7.29

License

MIT

Unpacked Size

9.65 kB

Total Files

7

Last publish

Collaborators

  • ichub_df