Quick Start Guide
Get up and running with Neo Service Layer in minutes. This guide will walk you through the installation process and help you deploy your first smart contract.
Prerequisites
System Requirements
- .NET 8.0 SDK or later
- Neo CLI or Neo Express
- Visual Studio Code (recommended)
- Git for version control
Installation
Clone the Repository
Start by cloning the Neo Service Layer repository to your local machine.
git clone https://github.com/neo-project/neo-service-layer.git
cd neo-service-layer
Install Dependencies
Restore the required NuGet packages and build the solution.
dotnet restore
dotnet build
Run Tests
Verify your installation by running the test suite.
./scripts/testing/run-all-tests.sh
Deploy Your First Contract
Deploy a sample contract to test your setup.
cd src/contracts/UserManagementContract
dotnet build
neo-express contract deploy bin/sc/UserManagementContract.nef
Next Steps
Need Help?
If you encounter any issues during setup, check out our troubleshooting guide or reach out to the community.