WrapCrypto.xyz Documentation
Introduction
WrapCrypto.xyz is a cross-chain token wrapping interface for converting native tokens like SOL, ETH, and MATIC into their wrapped equivalents (WSOL, WETH, WMATIC) across major L1 and L2 networks. This page explains how to use the app, how wrapping works under the hood, and how teams can incorporate WrapCrypto into their own flows.
Concepts Overview
Native vs. wrapped tokens
Native tokens are the "base" assets of a blockchain:
- Solana: SOL
- Ethereum: ETH
- Polygon: MATIC
Wrapped tokens are representations of these assets that follow the chain's token standard:
- WSOL is a wrapped SPL token representation of SOL.
- WETH is an ERC-20 representation of ETH.
- WMATIC is an ERC-20 representation of MATIC.
Smart contracts, DeFi protocols, and many dApps expect tokens to follow these standards (SPL, ERC-20), which is why wrapping is necessary.
What WrapCrypto.xyz does (and does not do)
WrapCrypto.xyz:
- Wraps native tokens into their wrapped equivalents.
- Unwraps wrapped tokens back to their native form.
- Supports mainnets and testnets across several chains.
- Provides onboarding guidance for Phantom and MetaMask.
WrapCrypto.xyz does NOT:
- Perform swaps or trades.
- Route through AMMs or order books.
- Take custody of user funds.
Supported Networks & Assets
Solana
Ethereum
Base
Arbitrum
Polygon
Optimism
Using WrapCrypto.xyz (User Guide)
1. Select environment and network
- Open WrapCrypto.xyz and navigate to the app.
- Choose Mainnet or Testnet in the environment toggle.
- Select the network you want to use (e.g. Solana, Ethereum, Base, etc.).
The app uses this selection to know which wallet type and token pair to show.
2. Connect your wallet
For Solana:
- The app will suggest Phantom.
- Connect Phantom when prompted.
- If you want to use Devnet, enable "Testnet Mode" in Phantom's settings.
For EVM chains:
- The app will suggest MetaMask.
- Connect MetaMask when prompted.
- Ensure that you are on the correct network (e.g. Sepolia, Base Sepolia, etc.).
3. Wrap tokens
- Switch to the "Wrap" tab.
- Enter the amount of native token you want to wrap.
- Verify the "From" and "To" tokens, e.g. SOL → WSOL or ETH → WETH.
- Click the Wrap button.
- Approve the transaction in your wallet.
Once confirmed, your wrapped token balance should increase and your native token balance should decrease by the same amount (minus any network fees).
4. Unwrap tokens
- Switch to the "Unwrap" tab.
- Enter the amount of wrapped token you want to convert back.
- Verify the "From" and "To" tokens, e.g. WSOL → SOL or WETH → ETH.
- Click the Unwrap button.
- Approve the transaction in your wallet.
After confirmation, your native token balance should increase and the wrapped balance should decrease accordingly.
Testnet Usage
Phantom testnet setup (Solana)
- Open Phantom.
- Go to Settings → Developer Settings.
- Enable Testnet Mode.
- Choose Devnet as the active network.
- Request test SOL from a Devnet faucet if needed.
MetaMask testnet setup (EVM networks)
- Open MetaMask.
- Open the network selector and go to Settings or "Show test networks".
- Enable display of test networks.
- Select the desired testnet (Sepolia, Base Sepolia, Arbitrum Sepolia, Amoy, Optimism Sepolia).
- Request test ETH or MATIC from the appropriate faucet.
Once set up, select Testnet in the WrapCrypto environment toggle and the app will align with your wallet network.
Developer Notes
Use cases for developers
Developers can:
- Use WrapCrypto as a recommended tool for onboarding users to WSOL/WETH/WMATIC.
- Link directly to the app with a preselected network (e.g. ?chain=solana&env=testnet) if your implementation supports URL parameters.
- Integrate documentation links to WrapCrypto in tutorials or workshops.
Integration ideas
"Before you start this tutorial, wrap some of your SOL into WSOL using WrapCrypto.xyz."
"To provide liquidity to this pool, first wrap your ETH into WETH at WrapCrypto.xyz."
"For testnet demos, enable testnets in your wallet and wrap small amounts via WrapCrypto."
Troubleshooting
Common issues
Issue: My wallet is connected, but the app says "wrong network".
Cause: Your wallet is on a different chain or environment than the one selected in the app.
Fix: Switch to the correct network in your wallet (e.g. Mainnet vs Sepolia, Devnet vs Mainnet) and retry.
Issue: My balances are not updating.
Cause: The wallet may not have refreshed balances yet or the app cache needs a refresh.
Fix: Wait a few seconds and refresh the page, or reconnect your wallet.
Issue: I don't see testnet accounts or networks.
Cause: Testnet mode/visibility is disabled in Phantom or MetaMask.
Fix: Enable testnet mode in Phantom, or enable "Show test networks" in MetaMask.
Contact & Feedback
If you encounter issues, want to propose features, or plan an integration with WrapCrypto.xyz:
- Website:https://wrapcrypto.xyz
- Email:contact@wrapcrypto.xyz
- GitHub:(link to be added)
- Twitter / X:(link to be added)