Expired

Payout
20 DAI

$19.58

Remaining Balance
80 DAI

$78.33

Add support for a new cryptocurrency to @ensdomains/address-encoder

typescript

engineering

code

Project scope

ENS is the decentralised internet's naming service. We're currently adding support for resolving ENS names to addresses of cryptocurrencies other than Ethereum.

This is achieved by storing cryptocurrency addresses on ENS in binary format. As a result, each cryptocurrency requires support for translating between text format and binary - encoding and decoding.

A JavaScript library exists at https://github.com/ensdomains/address-encoder for encoding and decoding addresses in a number of formats. We want to expand this to encompass as many widely-used cryptocurrency address formats as possible.

Requirements

To claim this bounty, add support for a new cryptocurrency to @ensdomains/address-encoder. The cryptocurrency must meet the following criteria:

  1. Must have a market cap of at least $200M on CoinMarketCap.
  2. Must not already be supported by the library. For example, you cannot add support for Maker, since it is a token on Ethereum and thus already supported.
  3. Must have a SLIP-44 entry.

If adding this cryptocurrency also requires adding one or more new address formats, you may also claim the related "Add support for a new address format" bounty, potentially more than once.

Resources

Definition of Done

Your PR must met the following requirements:

  1. Add the encoding to the formats list in index.ts.
  2. Add at least one passing test case to __tests__/index.test.ts, preferably more.
  3. Add the cryptocurrency to the list of supported cryptocurrencies in the README.
  4. Not break the build.

The bounty is complete once your PR has been merged.

365views
10 monthsexpired
Intermediatedifficulty
1 revisionsexpected

Submissions

12

Comments

2

Add support for Tezos (XTZ) addresses tz1, tz2, tz3 and KT1.

Added support for IOTA

Accepted

Add support for DASH

Add support for Polkadot

Accepted

EOS public key address format.

Add ONT (Ontology) address format support

Accepted

Adds support for NEM(XEM) public key address format.
Added 'nem-sdk' library as a dependency.

Added support for zCash (ZEC).

Add support for XDAI

Accepted

Adds support for TRX public key address format.
Added tronweb library as a dependency.