Add initial project structure and documentation files
- Created .gitignore to exclude sensitive files and directories. - Added API documentation in API_DOCUMENTATION.md. - Included deployment instructions in DEPLOYMENT.md. - Established project structure documentation in PROJECT_STRUCTURE.md. - Updated README.md with project status and team information. - Added recommendations and status tracking documents. - Introduced testing guidelines in TESTING.md. - Set up CI workflow in .github/workflows/ci.yml. - Created Dockerfile for backend and frontend setups. - Added various service and utility files for backend functionality. - Implemented frontend components and pages for user interface. - Included mobile app structure and services. - Established scripts for deployment across multiple chains.
This commit is contained in:
74
docs/NON_EVM_CHAINS.md
Normal file
74
docs/NON_EVM_CHAINS.md
Normal file
@@ -0,0 +1,74 @@
|
||||
# Non-EVM Chain Support
|
||||
|
||||
This document outlines the architecture for supporting non-EVM chains (Solana, Cosmos) in ASLE.
|
||||
|
||||
## Architecture Overview
|
||||
|
||||
### Bridge Adapters
|
||||
|
||||
The system uses a bridge adapter pattern to support different blockchain architectures:
|
||||
|
||||
1. **EVM Chains**: Uses Chainlink CCIP
|
||||
2. **Solana**: Uses Wormhole bridge
|
||||
3. **Cosmos**: Uses IBC (Inter-Blockchain Communication)
|
||||
|
||||
### Components
|
||||
|
||||
#### 1. Bridge Adapter (`bridge-adapter.ts`)
|
||||
- Base interface for all bridge adapters
|
||||
- Factory pattern for creating adapters
|
||||
- Handles cross-chain messaging
|
||||
|
||||
#### 2. Solana Adapter (`solana-adapter.ts`)
|
||||
- Integrates with Solana programs
|
||||
- Uses Wormhole for bridging to/from EVM chains
|
||||
- Handles Solana-specific operations (pools, liquidity)
|
||||
|
||||
#### 3. Cosmos Adapter (`cosmos-adapter.ts`)
|
||||
- Integrates with Cosmos SDK
|
||||
- Uses IBC for cross-chain communication
|
||||
- Handles Cosmos-specific operations
|
||||
|
||||
#### 4. Cross-Chain Manager (`cross-chain-manager.ts`)
|
||||
- Orchestrates cross-chain operations
|
||||
- Manages adapter instances
|
||||
- Handles message routing
|
||||
|
||||
## Implementation Status
|
||||
|
||||
### Solana
|
||||
- [x] Bridge adapter structure
|
||||
- [x] Wormhole integration interface
|
||||
- [ ] Solana program deployment
|
||||
- [ ] Full liquidity pool implementation
|
||||
- [ ] Testing on devnet
|
||||
|
||||
### Cosmos
|
||||
- [x] Bridge adapter structure
|
||||
- [x] IBC integration interface
|
||||
- [ ] Cosmos SDK module implementation
|
||||
- [ ] Full liquidity pool implementation
|
||||
- [ ] Testing on testnet
|
||||
|
||||
## Next Steps
|
||||
|
||||
1. **Solana Program Development**
|
||||
- Create ASLE Solana program
|
||||
- Implement liquidity pool logic
|
||||
- Integrate with Wormhole
|
||||
|
||||
2. **Cosmos SDK Module**
|
||||
- Create ASLE Cosmos module
|
||||
- Implement IBC handlers
|
||||
- Integrate with existing Cosmos chains
|
||||
|
||||
3. **Testing**
|
||||
- Unit tests for adapters
|
||||
- Integration tests with testnets
|
||||
- End-to-end cross-chain tests
|
||||
|
||||
4. **Documentation**
|
||||
- API documentation
|
||||
- Deployment guides
|
||||
- User guides
|
||||
|
||||
Reference in New Issue
Block a user