A liquidity-based cross-chain bridge connecting Ethereum and Solana with minimal slippage using StableSwap AMM. Read about the Architecture Plan Here
- Node.js 18+
- Rust 1.70+
- Solana CLI 1.17+
- Anchor 0.29+
# Clone the repository
git clone https://github.com/Emengkeng/cross-chain-bridge
cd cross-chain-bridge
# Run setup script
./scripts/setup.sh
# Open workspace in VS Code
code cross-chain-bridge.code-workspacecross-chain-bridge/
├── solana-bridge/ # Solana programs (Rust/Anchor)
│ ├── programs/
│ │ └── bridge/ # Cross-chain gateway
│ └── tests/ # Integration tests
├── ethereum-bridge/ # Ethereum contracts (Solidity)
│ ├── contracts/
│ │ ├── core/ # Main contracts
│ │ ├── libraries/ # Shared libraries
│ │ └── security/ # Security modules
│ └── test/ # Unit & integration tests
├── docs/ # Documentation
└── scripts/ # Utility scripts
cd solana-bridge
# Build programs
anchor build
# Run tests
anchor test
# Deploy to devnet
anchor deploy --provider.cluster devnetcd ethereum-bridge
# Compile contracts
npm run compile
# Run tests
npm test
# Deploy to local network
npm run deploy:local
# Deploy to testnet
npm run deploy:goerli./scripts/test-all.sh- Dev A: AMM Specialist
- Dev B: Math Engine
- Dev B: Bridge & Security
MIT