• Stars
    star
    196
  • Rank 198,553 (Top 4 %)
  • Language
    TypeScript
  • License
    Apache License 2.0
  • Created about 4 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A curated list of known less-than-honest operators on Polkadot and Substrate networks. Includes a simple JS utility function to check any host or address against this list.

@polkadot/phishing

A curated list of potentially less-than-honest sites inclusive of a simple JS utility function to check any host against this list.

Additions

To add a new site, edit all.json and add any new entries, single or multiples is allowed per edit.

To add a new scam address (typically per site), edit address.json and add it in the correct section (which is keyed by the site providing them).

Availability

Making additions to the list will be reflected on merge at polkadot.js.org/phishing/all.json & polkadot.js.org/phishing/address.json. These can be consumed via @polkadot/phishing and other tools capable of parsing JSON.

The {address, all}.json files are also published to IPFS, via ipns/phishing.dotapps.io. Libraries can also consume from here for a decentralized approach.

Notable users

The following wallets integrate either address or site blocking from these lists:

Integration

Since the lists are published as JSON, integration for any non-JS wallets (only a JS library that is provided) should be simple - retrieve the applicable list, parse the JSON and do the required checks either on host or address as per the requirements. The Javascript library does have some features that may be worth thinking about for other integrations -

  • instead of retrieving the list each time a request is made, a local copy is cached for 45 mins and then re-retrieved when the timer expires (as a request is made)
  • for address checks the check is done on the decoded ss58 address to ensure that network-jumps with the same keys are avoided (so addresses does not have to be re-added for other networks, a single entry will cover all)

Contributing

This lists are intended to be maintained with active input from the community, so contributions are welcome, either via a pull request (edit above as described in additions) or by logging an issue.

More Repositories

1

apps

Basic Polkadot/Substrate UI for interacting with a Polkadot and Substrate node. This is the main user-facing application, allowing access to all features available on Substrate chains.
TypeScript
1,743
star
2

api

Promise and RxJS APIs around Polkadot and Substrate based chains via RPC calls. It is dynamically generated based on what the Substrate runtime provides in terms of metadata.
TypeScript
1,065
star
3

extension

Simple browser extension for managing Polkadot and Substrate network accounts in a browser. Allows the signing of extrinsics using these accounts. Also provides a simple interface for compliant extensions for dapps.
TypeScript
972
star
4

tools

Various cli tools for Polkadot and Substrate chains, including basic node monitoring, making API queries via a cli app and other command-line tools
TypeScript
278
star
5

common

Utilities and base libraries for use across polkadot-js for Polkadot and Substrate. Includes base libraries, crypto helpers and cross-environment helpers.
TypeScript
252
star
6

docs

This is the documentation portal for all Polkadot and Substrate related tools and libraries in the polkadot-js family of repos.
JavaScript
164
star
7

wasm

A collection of WASM wrappers (mostly around Rust libraries) that are used as faster versions of JS-native functions on Polkadot and Substrate networks.
TypeScript
126
star
8

ui

Re-usable browser libraries and React UI components used inside the polkadot.{js} family of Polkadot and Substrate applications. Full documentation & examples available
TypeScript
120
star
9

dotapps.io

IPNS with dnslink for the apps UI to interact with Polkadot and Substrate chains.
HTML
102
star
10

client

An alternative Polkadot Runtime Environment implementation acting as a full-node (excluding block production for validators) for syncing with Substrate-based chains.
TypeScript
83
star
11

dev

Development configuration, scripts and and CI setup for polkadot-js projects. It acts as templates for other projects to reduce boilerplate, making everything consistent.
JavaScript
44
star
12

polkadot-js.github.io

Simple landing and project overview page for the polkadot-js family of repos.
HTML
34
star
13

build-deno.land

Package publishing for deno.land/x/polkadot
TypeScript
30
star
14

ts

Misc. TypeScript definitions that are not yet available on DefinitelyTyped but required by other projects in this repo. Should be merged with upstream projects or the DT project.
TypeScript
14
star
15

polkadot-identicon

Deprecated. Moved to partitytech/oo7.
JavaScript
8
star
16

ss58

The SS58 address encoder/decoder
JavaScript
8
star
17

build-bundle

Browser bundles that can be included as-is, without a build step
JavaScript
6
star
18

oo7-polkadot

Polkadot Bonds library
JavaScript
4
star
19

polyfill

Deprecated. Moved to the common repo. A collection of cross-environment polyfills
TypeScript
3
star