A test dapp for the MetaMask Multichain API on Stellar.
- Node.js (version 18 or higher)
- Yarn package manager
git clone <repository-url>
cd test-dapp-stellar
yarn installCopy the example environment file:
cp .env.example .envEdit the .env file:
# Default recipient address for testing transactions (Optional)
# If not provided, uses a default Stellar test address
VITE_DEFAULT_RECIPIENT=
# WalletConnect Project ID (Required for WalletConnect connector)
# Get your project ID from: https://cloud.reown.com/
VITE_WALLETCONNECT_PROJECT_ID=Note: VITE_WALLETCONNECT_PROJECT_ID is only required when testing the WalletConnect connector.
Start the development server:
yarn devThe application will be available at http://localhost:8081.
yarn buildOnce the development server is running, you can:
- Connect a Stellar wallet (MetaMask, Freighter, LOBSTR, WalletConnect, etc.)
- Test message signing functionality
- Test USDC transfers
- Test Stellar transaction XDR signing
- Test Soroban auth entry signing
The application supports multiple Stellar networks:
- Public Network (Mainnet): Production network
- Testnet: Test network for development
- Futurenet: Future protocol testing network
Network configuration and contract addresses are managed in src/config.ts.