How to use @cityofzion/neon-api - 1 common examples

To help you get started, we’ve selected a few @cityofzion/neon-api examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github CityOfZion / neon-js / packages / neon-js / src / index.ts View on Github external
import apiPlugin from "@cityofzion/neon-api";
import * as neonCore from "@cityofzion/neon-core";
import nepPlugin from "@cityofzion/neon-nep5";

const neonWithApi = apiPlugin(neonCore);
const neonJs = nepPlugin(neonWithApi);

export const {
  api,
  nep5,
  settings,
  sc,
  rpc,
  wallet,
  CONST,
  u,
  tx,
  logging
} = neonJs;
import defaultNetworks from "./networks";
const bootstrap: {

@cityofzion/neon-api

Neon-API module: High level API for neon-js

MIT
Latest version published 2 years ago

Package Health Score

57 / 100
Full package analysis

Popular @cityofzion/neon-api functions