Skip to content
TypeScript wrapper allowing to interact with Arkvatar API.
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__
src
.gitignore
.prettierrc
LICENSE
README.md
jestconfig.json
package-lock.json
package.json
tsconfig.json
tslint.json

README.md

arkvatar-ts

alt-text alt-text alt-text alt-text

API Wrapper to interact with Arkvatar.

Built with

Installation

yarn add arkvatar-ts

Usage

Showing an existing Arkvatar

const arkvatar = require('arkvatar-ts');

(async () => {
    const response = await arkvatar.show("validCryptoAddress");
    console.log(response);
})();

Verifying an identifier

const arkvatar = require('arkvatar-ts');

(async () => {
    const response = await arkvatar.verify("validCryptoAddress");
    console.log(response);
})();

Creating a new Arkvatar

const arkvatar = require('arkvatar-ts');

(async () => {
    // Crypto Type are the full name of a cryptocurrency, Ethereum or Ark for example.
    const response = await arkvatar.store("validCryptoAddress", "validCryptoType");
    console.log(response);
})();

Authors

  • Jolan Beer - Highjhacker

License

arkvatar-ts is under MIT license. See the LICENSE file for more informations.

You can’t perform that action at this time.