did-op

0.0.1 • Public • Published

did-op

npm version Node.js CI

A library to cast ERC20 addresses to Ocean Protocol DIDs

Get Started | Changelog

Installation

$ npm i did-op

Get Started

import { v3 } from "did-op";

console.log(v3.fromDID(""));
// 0x7bce67697ed2858d0683c631dde7af823b7eea38

console.log(v3.toDID("0x7bce67697ed2858d0683c631dde7af823b7eea38"));
// did:op:7Bce67697eD2858d0683c631DdE7Af823b7eea38

Contributing

We love contributions from the community. Find a good first issue.

Want to suggest a feature or even better raise a PR for it? Head over to the issues section or join our discord.

You can also get paid for a PR. For more information read our handbook.

Changelog

The changelog is avaliable at CHANGELOG.md.

License

See License.

Package Sidebar

Install

npm i did-op

Weekly Downloads

3

Version

0.0.1

License

GPL-3.0-only

Unpacked Size

38.2 kB

Total Files

6

Last publish

Collaborators

  • timdaub