Installation
Install MPP-NEAR to start building payment-gated APIs or empowering agents with gasless payments.
Note: MPP-NEAR is not yet available on crates.io. Please install from source.
Build Requirements
- Rust 1.70 or later
- Cargo (comes with Rust)
Option 1: Install CLI Tool
For agents, clients, and command-line usage:
# Clone the repository
git clone https://github.com/kampouse/mpp-near.git
cd mpp-near
# Install with intents feature
cargo install --path . --features intentsOption 2: Add as Library
For building payment-gated APIs in Rust:
# Cargo.toml
[dependencies]
mpp-near = { git = "https://github.com/kampouse/mpp-near" }Verify Installation
CLI Tool
mpp-near --version