Overview
With Chain Signatures, you can:- Sign Bitcoin transactions from a NEAR account
- Control Ethereum addresses from NEAR contracts
- Create multi-chain applications with unified account management
- Build cross-chain DeFi products
GitHub Repository
View the complete Chain Signatures example
How it works
Derive chain-specific addresses
NEAR accounts can derive addresses for other chains using a path-based system:
The derivation path ensures deterministic address generation. The same path always produces the same address.
Supported chains
Ethereum
Full support for EVM chains including Ethereum, Polygon, Arbitrum, Optimism
Bitcoin
Native Bitcoin support for BTC transactions
Solana
Solana transaction signing support
Cosmos
Support for Cosmos SDK chains
Dogecoin
DOGE transaction signing
Ripple
XRP Ledger support
Example: Send ETH from NEAR
Complete example of sending ETH using a NEAR account:Using in smart contracts
Smart contracts can also request signatures:Security considerations
Path security
Path security
- Use unique paths for different use cases
- Never share paths publicly if they control valuable assets
- Consider using account-specific path prefixes
- Document your path structure
Key management
Key management
- NEAR private keys control all derived addresses
- Use hardware wallets for mainnet accounts
- Implement access controls for contract-based signing
- Audit signature request flows
Transaction validation
Transaction validation
- Always verify transaction details before signing
- Check recipient addresses carefully
- Validate amounts and gas prices
- Test with small amounts first
Next steps
Multi-chain DAO
Build a DAO that governs multiple chains
Chain Signatures docs
Learn more about Chain Signatures
NEAR Intents
Use intents for cross-chain actions
Omnibridge
Bridge assets across chains