Skip to main content

Recommended: JavaScript SDK for React Native

While this SDK is still supported, we recommend using newer JavaScript SDK, which is optimized for React Native, but also comes with a host of other benefits.

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 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:

Sign a Transaction

Build a Borsh-serialized transaction, sign with the Solana wallet, and submit via JSON-RPC:
For the Borsh serialization primitives (borshU8, borshU32, borshU64, borshU128, borshString) and nearRpc helper, see the JavaScript NEAR guide. The only difference in React Native is the signing call.

Verify a Signature

Check Balance

Last modified on July 24, 2026