Skip to content

neo-one-suite/neo-one-3.0.1-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NEO•ONE v3.0.1 release demonstration repo

We provide 2 test suites to demonstrate the new features we have implemented in NEO•ONE.

To get started you can clone this repository and run:

npm install

Transfers using the staging node (synced with testnet)

This test makes use of our currently running 3.0.1 node at https://staging.neotracker.io/rpc.

Using a NEO account with some allocated test gas we can demonstrate transferring and receiving NEO/GAS from our local user-account provider.

to test simply run:

npx jest staging.test.ts

Transfers using a local consensus node with 1-validator

This test requires starting a local development network and then using the defined validator to form a transaction that populates our test wallets for development purposes.

As before when using the current build of our node you may have to set the following environment variables to start:

EDGE_USE_CORECLR=1
EDGE_APP_ROOT=node_modules/@neo-one/node-vm/lib/Debug/netcoreapp3.0

either export these to your local terminal or prepend them to the command below.

to test, open a second terminal and start a local development network with:

npx neo-one start network

this will start a local development network with data being stored at ./.neo-one/.

Once running, you can test a transaction with:

npx jest local.test.ts

Releases

No releases published

Packages

No packages published