SDKs

Official MPPFi SDKs for TypeScript, Python, Rust, and Go - enabling seamless integration with the first neobank infrastructure for AI agents built on Solana blockchain with Machine Payments Protocol.

Installation

TypeScript/Node.js

npm install @mppfi/node
# or
yarn add @mppfi/node
# or
pnpm add @mppfi/node

Requirements: Node.js 18+ or modern browsers (Edge Runtime compatible)

Python

pip install mppfi

Requirements: Python 3.9+

Rust

cargo add mppfi

Requirements: Rust 1.70+

Go

Requirements: Go 1.21+


TypeScript SDK

Initialization

Agent Accounts

Payments (Machine Payments Protocol)

Direct Transfers

Policies (On-Chain Enforcement)

Merchants

Analytics

Webhooks

Error Handling

TypeScript Types

Full TypeScript support with auto-completion:


Python SDK

Initialization

Agent Accounts

Payments (Machine Payments Protocol)

Direct Transfers

Policies (On-Chain Enforcement)

Webhooks

Error Handling


Rust SDK

Initialization

Agent Accounts

Payments (Machine Payments Protocol)

Policies (On-Chain Enforcement)

Error Handling


Go SDK

Initialization

Agent Accounts

Payments (Machine Payments Protocol)

Error Handling


SDK Support

Versioning

SDKs follow semantic versioning. Check your current version:

Updates

Stay up to date with the latest SDK releases:

Source Code

SDKs are open source:

Community SDKs

Community-maintained SDKs:

Note: Community SDKs are not officially supported by MPPFi.


Next Steps


Support

  • Documentation: https://docs.mppfi.xyz

  • GitHub Issues: Report SDK bugs on respective repositories

  • Discord Community: https://discord.gg/mppfi

  • Support Email: [email protected]

Last updated

Was this helpful?