Skip to main content

Overview

NEAR uses the Ed25519 elliptic curve — the same as Solana. NEAR implicit accounts are simply the hex-encoded 32-byte public key. Transactions use Borsh (Binary Object Representation Serializer for Hashing) serialization and are submitted via JSON-RPC.

Dependencies

Derive Address

NEAR implicit accounts are the hex-encoded Ed25519 public key — the simplest derivation of all chains:

Sign a Message

Sign the raw UTF-8 bytes of the message using the Solana wallet:

Verify a Signature

Verify the Ed25519 signature against the raw message bytes:

Check Balance

Query the NEAR balance via JSON-RPC:

Send a Transfer

Build a Borsh-serialized transaction, sign with the Solana wallet, and submit via JSON-RPC.

Borsh Serialization Primitives

Full Transfer Implementation

Last modified on March 28, 2026