Download & Installation

📦 Using Cargo

# Add the package to your Cargo.toml
[dependencies]
solana-oasis-node = "0.1.0"

⚡ From Source

git clone https://github.com/NubsCarson/SolanaOasis-Layer2.git
cd SolanaOasis-Layer2
cargo build --release

🚀 Quick Start

# In your Rust code
use solana_oasis_node::OasisClient;

async fn example() {
    let client = OasisClient::new();
    // Initialize your Layer 2 connection
}

🏃 Running the Node

# Start the Layer 2 node
cd node
cargo run --release --bin solana-oasis-node

# In a new terminal, start the bridge
cd bridge
cargo run --release

# Optional: Enable PyTorch features
cargo run --release --features pytorch

🤖 AI Layer Setup

# Build and run the AI layer
cd ai-layer
cargo build --release

# Start the AI service
cargo run --release

# Test the neural network connection
cargo test --release -- --nocapture

🔍 Development Tools

# Run all tests
cargo test --workspace

# Build documentation
cargo doc --no-deps --open

# Check code formatting
cargo fmt --all -- --check

# Run linter
cargo clippy --all-targets --all-features

Made by @NubsCarson on GitHub •@MoneroSolana on X

© 2024 Solana Oasis Layer2 All Rights Reserved • Last Updated: 12/29/24