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

NEP9

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

import _Neon from "@cityofzion/neon-js";
import nep9Plugin from "@cityofzion/neon-nep9";

const Neon = nep9Plugin(_Neon);

const intent = Neon.nep9.parse("neo:AeNkbJdiMx49kBStQdDih7BzfDwyTNVRfb?asset=gas&amount=123.456");

console.log(intent);

The NEP9 Standard describes a simple protocol to represent a partial transaction as a URI.

This package deals with the decoding of the URI into an intent object that is then usable the neon-js system.

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

A QR code reader is not included in this package.

URI generation is not included in this package.

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