Neo-Express is a private net optimized for development scenarios, built on the same Neo platform core as neo-cli and neo-gui to maximize compatibility between local development and public chain environments. Neo-Trace is a tool for generating trace files for the Neo Smart Contract Debugger.
These tools provide developers with a complete local development environment for building, testing, and debugging Neo smart contracts efficiently.
Neo-Express:
Neo-Trace:
neoxp.exe
command in the terminal from the directory where you unzipped the package.To install the latest version of Neo-Express as a global tool, run the following command in a terminal window:
dotnet tool install Neo.Express -g
To update Neo-Express to the latest version, run the following command:
dotnet tool update Neo.Express -g
The installation and update process for Neo-Trace is identical:
dotnet tool install Neo.Trace -g dotnet tool update Neo.Trace -gAdditional Neo-Express Requirements
Note: While Microsoft has instructions for installing .NET via Snap, there is a known issue with this approach that leads to a segmentation fault in Neo Express. Unfortunately, this issue with the .NET snap installer has been closed and will not be fixed. As such, we recommend using APT to install .NET on Ubuntu instead.
Installing on Ubuntu requires installing libsnappy-dev
, libc6-dev
, and librocksdb-dev
via apt-get:
sudo apt install libsnappy-dev libc6-dev librocksdb-dev -y
Installing on macOS requires installing rocksdb via Homebrew:
Note: .NET 6 Arm64 has full support for Apple Silicon. Homebrew likewise also supports Apple Silicon. If you have any issues running Neo-Express on Apple Silicon hardware, please open an issue in the Neo-Express repo.
Get started with Neo-Express in just a few commands:
# Install Neo-Express dotnet tool install Neo.Express -g # Create a new blockchain neoxp create # Start the blockchain neoxp run # Check wallet balances neoxp show balances genesis
Create a new local Neo network:
List all wallets:
Show genesis account balance:
genesis
to use the consensus node multi-sig account which holds the genesis NEO and GAS.
neoxp show balances genesis
Send 1 gas from genesis account to node1 account:
neoxp transfer 1 gas genesis node1
Please review the Command Reference to get an understanding of Neo-Express capabilities.
Generate a trace file for a block:
neotrace block 365110 --rpc-uri testnet
Generate a trace file for a transaction:
neotrace tx 0xef1917b8601828e1d2f3ed0954907ea611cb734771609ce0ce2b654bb5c78005 --rpc-uri testnet
Note: Neo-Trace depends on the StateService plugin module running with
FullState
enabled. The official JSON-RPC nodes for MainNet and TestNet (such ashttp://seed1.neo.org:10332
andhttp://seed1t5.neo.org:20332
) are configured to run the StateService plugin withFullState
enabled.
Thank you for using Neo-Express and Neo-Trace! We welcome your feedback to make these tools more accessible, intuitive, and powerful.
Please visit the issues page to report problems or suggest new features. When creating a new issue, try to keep the title and description concise and provide context, such as a code snippet or an example of a feature and its expected behavior.
Neo-Express and Neo-Trace are licensed under the MIT License.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4