Skip to main content

Minimal Python library to interact with the NEAR blockchain and Chain Signatures

Project description

near-omni-client

near-omni-client is a modular Python library to develop cross chain applications using NEAR's Chain Signatures.

Features

  • ✅ Wallet abstraction for Ethereum and NEAR
  • ✅ Pluggable signing system (MPC via chain signatures, local signing for NEAR and Ethereum)
  • ✅ NEAR JSON-RPC API
  • ✅ Defi protocol adapters (Aave, CCTP)
  • ✅ Transaction crafting and query builders
  • ✅ Provider factory for mainnet and testnet
  • ✅ Async-ready, testable, and production-grade structure

📦 Modules

  • wallet - Wallets per chain (EthereumWallet, NearWallet)
  • signers – Pluggable signer implementations (MPC, local NEAR, local Ethereum)
  • json_rpc – Low-level JSON-RPC interface
  • wallets – Chain-safe wallet abstraction
  • adapters – Protocol adapters (USDC, Aave)
  • providers – RPC provider factories (Alchemy, FastNEAR)
  • transactions – Transaction and query builders
  • crypto - Crypto modules to work with NEAR cryptography
  • utils - Conversion utilities
  • chain_signatures - Chain signatures utilities for address derivation

Concepts

🔑 Wallets

Abstractions over per-chain accounts that can build, sign and send transactions. They are signer-agnostic and compatible with NEAR and Ethereum.

🔐 Signers

Responsible for producing valid cryptographic signatures, either locally, via MPC, or remote signer APIs. Fully pluggable.

📡 RPC

Low-level JSON-RPC client, abstracted via a ProviderFactory to switch between testnet, mainnet, or localnet with ease.

Architecture

Getting Started

Install the latest version of near-omni-client by running:

$ pip install near-omni-client

# or if using uv

$ uv add near-omni-client

Create a NEAR account and get your private key using the [NEAR CLI].

Contributing

If you are thinking about contributing to the near-omni-client, first of all thanks a lot ! We would love your contribution !

To understand the process for contributing, see CONTRIBUTING.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

near_omni_client-0.1.2.tar.gz (37.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

near_omni_client-0.1.2-py3-none-any.whl (61.6 kB view details)

Uploaded Python 3

File details

Details for the file near_omni_client-0.1.2.tar.gz.

File metadata

  • Download URL: near_omni_client-0.1.2.tar.gz
  • Upload date:
  • Size: 37.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for near_omni_client-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4c1fd7157d99725cf90433de82b6aa176c7391aa5bf3ce26d5044f8a0f7d5fe5
MD5 baf1ffac9d9b80776bacc75c92e49a50
BLAKE2b-256 629eabcdd58b50a1e5b8a19aebcf7cc5a49973bcdb65f44b18319a85ba6bc6b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for near_omni_client-0.1.2.tar.gz:

Publisher: publish.yml on Omni-rs/near-omni-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file near_omni_client-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for near_omni_client-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2c57b259556c10e376df0b1af4318f60ef7e5e82e881a1b30e942ca33b514495
MD5 605e61cc271d4d8804b7651f618744c1
BLAKE2b-256 5a3b18875c3c1593e761ec139a894ad5c8cc57c50318cbd9078d37f05f9e044d

See more details on using hashes here.

Provenance

The following attestation bundles were made for near_omni_client-0.1.2-py3-none-any.whl:

Publisher: publish.yml on Omni-rs/near-omni-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page