$ npm install @projectsophon/whitelistThis package contains utilities for working with DarkForest whitelist keys.
You can install this package using npm or
yarn by running:
npm install --save @projectsophon/whitelist
yarn add @projectsophon/whitelist
When using this in a plugin, you might want to load it with skypack
import * as whitelist from 'http://cdn.skypack.dev/@projectsophon/whitelist'
• Const keysPerTx: 400
▸ bigIntFromKey(key): bigint
| Name | Type |
|---|---|
key | string |
bigint
▸ generateKey(): string
string
▸ generateKeys(count): string[]
| Name | Type |
|---|---|
count | number |
string[]
▸ keyHash(key): string
| Name | Type |
|---|---|
key | string |
string