neon-js

neon-js

  • Docs
  • API
  • Guides
  • Changelog
  • Help

›Getting Started

Getting Started

  • Overview
  • Installation
  • Structure

Guides

  • Performing a basic transaction
  • Using the NetworkFacade

Structure

The package neon-js is actually composed of several packages, each offering a different functionality.

Core

The core package is neon-core, comprising of the following folders:

  • rpc
  • sc
  • tx
  • u
  • wallet

These are the minimum packages deemed necessary for basic functionality for interaction with the blockchain. Two other sub modules, CONST and settings round off the core module with some defaults.

For users who just require the bare functionality, you may just use the core package:

import { tx, wallet, settings } from "@cityofzion/neon-core";
const t = new tx.Transaction();
const acct = new wallet.Account();

console.log(settings.networks); // {} (empty object as there are no defaults)
← InstallationPerforming a basic transaction →
  • Core
neon-js
Docs
Getting StartedGuidesAPI Reference
Community
Discord ChatNEO Reddit
More
NEOGitHubStar
City of Zion
Copyright © 2021 City of Zion