Skip to content

Repository files navigation

Meshline Contracts

Neo N3 reference contracts for the Meshline Protocol. MeshlineRegistry stores public-relay identities, discovery endpoints, and membership status. The Registry specification defines the interoperable data and interfaces.

Use the Registry

Use the ABI reference to read relay records and call contract methods. For deploying a Registry, registering relays, or managing an existing deployment, follow the operations guide.

For application integration, see the Meshline SDKs for available implementations, setup instructions, and examples.

The Meshline website links to the protocol, SDK, and reference contracts.

Build and test

Install .NET SDK 10.0.401, as specified in global.json, then run from the repository root:

dotnet tool restore
dotnet restore Meshline.Contracts.slnx
dotnet build Meshline.Contracts.slnx --configuration Release --no-restore
dotnet test --project tests/Meshline.Contracts.Tests/Meshline.Contracts.Tests.csproj --configuration Release --no-build --no-restore

The local tool manifest pins the nccs compiler to 3.10.0; the contract uses Neo.SmartContract.Framework 3.9.1. Tests execute the generated NEF in a local Neo VM. CI restores, builds in Release, and runs the tests on Windows and Linux.

Build outputs

The build writes both deployment files to src/Meshline.Contracts/bin/sc/:

File Purpose
MeshlineRegistry.nef Compiled Neo VM executable
MeshlineRegistry.manifest.json Exported ABI, permissions, and contract metadata

Repository layout

Path Contents
src/Meshline.Contracts/ Contract source and build configuration
tests/Meshline.Contracts.Tests/ Contract and ABI tests
docs/abi.md Complete method, event, and record reference
docs/operations.md Deployment, upgrades, relay maintenance, and governance

About

Neo N3 reference contracts for Meshline relay discovery and membership.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages