Skip to content

is-banned-near-address 1.0.3

Install from the command line:
Learn more about npm packages
$ npm install @aurora-is-near/is-banned-near-address@1.0.3
Install via package.json:
"@aurora-is-near/is-banned-near-address": "1.0.3"

About this version

Is Banned NEAR Address

A utility package to check if a NEAR address is banned.

Installation

yarn add @aurora-is-near/is-banned-near-address

Usage

import { isBannedNearAddress } = "@aurora-is-near/is-banned-near-address";

isBannedNearAddress('0x0048501436e6325eff9756d804160dce4aaf3f3f'); // => true

It is strongly recommended to not use this directly from the browser. The list of ~5000 addresses will add ~280KB to the bundle size. Instead, add an API endpoint to your application or similar and call that to perform the check.

Details


Assets

  • is-banned-near-address-1.0.3.tgz

Download activity

  • Total downloads 13
  • Last 30 days 13
  • Last week 13
  • Today 0

Recent versions

View all