Active

Payout
20 DAI

$20.16

Remaining Balance
160 DAI

$161.25

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

code

engineering

typescript

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 $500M 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.

2 monthsremaining
Intermediatedifficulty
1 revisionsexpected

Submissions

2

Comments

2

Accepted

Added support for ATOM

Accepted

Added support for XLM address encoding/decoding.