LogoLogo
  • Introduction
  • Quick Start
    • Developing Cross Chain Dapps
      • Standard Relayer
      • Specialized Relayer
    • Tutorials
      • Hello Wormhole
        • Hello Wormhole Explained
        • Beyond Hello Wormhole
      • Hello Token
      • CCTP
        • USDC Transfers With Connect SDK
      • Simple Relayer
        • Advanced Relayer Example
    • Demos
    • Wormhole Connect: Bridging Made Easy
  • Explore Wormhole
    • Architecture
    • Security
    • Core Contracts
    • Guardians
    • VAAs
    • Relayers
    • Spy
    • Gateway
      • Onboarding
  • Reference
    • Constants Reference
    • Development Environment
      • Tilt
      • Tooling
    • Blockchain Platforms
      • Algorand
      • Aptos
      • CosmWasm
      • EVM
        • Relayer
      • Near
      • Solana
      • Sui
    • API Docs
      • Wormholescan API
    • SDK Docs
      • Legacy SDK
    • CLI Docs
    • Glossary
  • Wormhole Connect
    • Overview
    • Routes
    • Features
    • Configuration
  • Native Token Transfers
    • Overview
      • System Components
      • Deployment Models
    • Deployment
      • Installation
      • Deploy to EVM
      • Deploy to Solana
      • Post Deployment
    • Configuration
      • Rate Limiting
      • Access Control
    • Security
    • Custom Transceivers
    • Architecture
      • EVM Message Lifecycle
      • Solana Message Lifecycle
  • Queries
    • Overview
    • Getting Started
    • FAQs
  • MultiGov
    • Overview
    • Getting Started
    • Deployment
      • Configuration
    • Upgrading
    • Architecture
    • Guides
    • FAQs
  • External Links
    • Explorer
    • Ecosystem
    • Guardian Dashboard
    • Portal Bridge Docs
    • Discord
    • Twitter
    • Github
Powered by GitBook
On this page
  • Addresses
  • Emitter
  • NEAR
  • Ecosystem
  • Wormhole Details

Was this helpful?

Edit on GitHub
  1. Reference
  2. Blockchain Platforms

Near

Last updated 1 year ago

Was this helpful?

Details for working with the NEAR environment chains

Addresses

Because Wormhole works with many environments, the Wormhole address format is normalized.

For NEAR based chains, because NEAR addresses are arbitrary-length strings, this means a wormhole formatted address is the sha256 hash of the address.

e.g. contract.portalbridge.near => 0x148410499d3fcda4dcfd68a1ebfcdddda16ab28326448d4aae4d2f0465cdfcb7

Emitter

The emitter address on NEAR chains is the sha256 digest of the program address string, normalized to wormhole address format.

NEAR

Ecosystem

Wormhole Details

  • Name: near

  • Chain ID: 15

  • Contract Source: No source file, update

Consistency Levels

Level
Value

Finalized

0

This field is may be ignored since the chain provides instant finality.

Mainnet Contracts (mainnet)

Type
Contract

Core

contract.wormhole_crypto.near

Token Bridge

contract.portalbridge.near

NFT Bridge

N/A

Testnet Contracts (testnet)

Type
Contract

Core

wormhole.wormhole.testnet

Token Bridge

token.wormhole.testnet

NFT Bridge

N/A

Local Network Contract

Type
Contract

Core

wormhole.test.near

Token Bridge

token.test.near

NFT Bridge

N/A

The options for (i.e finality) are:

For more information see

Web site
https://nearblocks.io/
https://docs.near.org/
here
https://nomicon.io/ChainSpec/Consensus
consistencyLevel