Socket
Book a DemoInstallSign in
Socket

@projectsophon/whitelist

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@projectsophon/whitelist

This package contains utilities for working with DarkForest whitelist keys.

latest
Source
npmnpm
Version
0.1.3
Version published
Maintainers
2
Created
Source

@projectsophon/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 @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'

Table of contents

Variables

  • keysPerTx

Functions

Variables

keysPerTx

Const keysPerTx: 400

Functions

bigIntFromKey

bigIntFromKey(key): bigint

Parameters

NameType
keystring

Returns

bigint

generateKey

generateKey(): string

Returns

string

generateKeys

generateKeys(count): string[]

Parameters

NameType
countnumber

Returns

string[]

keyHash

keyHash(key): string

Parameters

NameType
keystring

Returns

string

FAQs

Package last updated on 15 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts