neon-js

neon-js

  • Docs
  • API
  • Examples
  • Changelog
  • Help

›Plugin Modules

Overview

  • API

Core Modules

  • Wallet
  • Transactions
  • RPC
  • Smart Contract
  • Utility
  • Constants
  • Settings
  • Logging

Plugin Modules

  • api
  • NEP5
  • NEP9
  • neon-domain

neon-domain

The domain module is available as the plugin @cityofzion/neon-domain.

import _Neon from "@cityofzion/neon-js";
import domainPlugin from "@cityofzion/neon-domain";

const Neon = domainPlugin(_Neon);

const provider = Neon.domain.nns.instance("NnsContractAddress");
const blockchainAddress = provider.resolveDomain(
  mainNetRpcUrl,
  "myaddress.neo"
);

The module's purpose is to integrate the common functionality of translating a human-readable address to a blockchain address.

This package is not included in neon-js by default. Consumers are required to include this package in by themselves.

← NEP9
neon-js
Docs
Getting StartedGuidesAPI Reference
Community
Discord ChatNEO Reddit
More
NEOGitHubStar
City of Zion
Copyright © 2020 City of Zion