@dfdao/whitelist
v6.7.31
Published
This package contains utilities for working with DarkForest whitelist keys.
Downloads
2
Readme
@dfdao/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 @dfdao/whitelist
yarn add @dfdao/whitelist
When using this in a plugin, you might want to load it with skypack
import * as whitelist from 'http://cdn.skypack.dev/@dfdao/whitelist';
Table of contents
Variables
Functions
Variables
keysPerTx
• Const
keysPerTx: 400 = 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