arkvatar-ts

Typescript package for interacting with the Arkvatar API.

Usage no npm install needed!

<script type="module">
  import arkvatarTs from 'https://cdn.skypack.dev/arkvatar-ts';
</script>

README

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.