Skip to main content
The addresses below are the live NEAR Auth deployment on NEAR testnet. Use them for development and integration testing — testnet needs no approval, and you can point your SDK at these contracts today with the shared credentials on this page.
Testnet requires no sign-off. When you’re ready to go live, review the mainnet contracts and apply for production access.

Contract addresses

ContractAccount idDescriptionExplorer
NEAR Authfast-auth.testnetEntry-point contract that routes verification and requests MPC signatures.View
JWT Guard Routerjwt.fast-auth.testnetRegistry mapping each guard name to its guard contract.View
Auth0 Guardauth0.jwt.fast-auth.testnetGuard that RS256-verifies Auth0 JWTs and their claims on-chain.View
MPCv1.signer-prod.testnetMulti-Party Computation network that produces signatures from distributed key shares.View
In the SDKs, fast-auth.testnet is the fastAuthContractId and v1.signer-prod.testnet is the mpcContractId. To learn what each contract does, see the contracts overview.

Network information

SettingValue
NetworkNEAR Testnet
Chain idtestnet
RPC endpointhttps://rpc.testnet.near.org
Explorertestnet.nearblocks.io
import { connect } from "near-api-js";

const { connection } = await connect({
  networkId: "testnet",
  nodeUrl: "https://rpc.testnet.near.org",
});

Auth0 credentials

Testnet ships with a shared Auth0 client so you can start authenticating users without registering your own tenant. The JavaScript provider fills in the domain and signing audience from the testnet network, so clientId is the only value you need to supply.
SettingValue
clientIdnp8paqIpMWmNbzT4xAvOOapZBjsOpptl
domainlogin.testnet.fast-auth.com
signing audienceauth0.jwt.fast-auth.testnet
import { JavascriptProvider } from "@fast-auth-near/javascript-provider";

const provider = new JavascriptProvider({
  network: "testnet",
  clientId: "np8paqIpMWmNbzT4xAvOOapZBjsOpptl",
});
This clientId is shared across testnet apps and is intended for development only. Provision your own Auth0 credentials before moving to mainnet.

Wire it up

The full browser client config for testnet combines the contract addresses and the Auth0 provider above.
main.ts
import { FastAuthClient } from "@fast-auth-near/browser-sdk";
import { JavascriptProvider } from "@fast-auth-near/javascript-provider";
import { connect } from "near-api-js";

const provider = new JavascriptProvider({
  network: "testnet",
  clientId: "np8paqIpMWmNbzT4xAvOOapZBjsOpptl",
});

const { connection } = await connect({
  networkId: "testnet",
  nodeUrl: "https://rpc.testnet.near.org",
});

const client = new FastAuthClient(provider, connection, {
  fastAuthContractId: "fast-auth.testnet",
  mpcContractId: "v1.signer-prod.testnet",
});

await client.login();
const signer = await client.getSigner();

Mainnet contracts

Production addresses and credentials for NEAR mainnet.

Networks

Compare testnet and mainnet configuration side by side.

Quickstart

Log in and sign your first transaction on testnet.