Installation
Install
To install
npm install @cityofzion/neon-js
or
npm install @cityofzion/neon-core
This will give you the release that is compatible for the neo3 mainnet and testnet.
Note For most use-cases, we recommend
neon-js
. Do not useneon-js
andneon-core
in the same project. The classes are not cross-package compatible. See https://github.com/CityOfZion/neon-js/issues/850.
Node
Support policy is to support the maintainence and LTS versions of Node. At the time of writing, this is:
- Node 12
- Node 14
- Node 16
Web
Both neon-core
and neon-js
are packaged for the web. Use script tags:
<script src="https://unpkg.com/@cityofzion/neon-js@next"></script>
The library will be loaded under the variable Neon
.