How tomi2107/eth-kipu-front-react works
SimpleDEX is a browser-based Ethereum DEX. A user connects a MetaMask wallet, then uses the app to add or remove liquidity, swap tokens, or query a token price through the SimpleDEX contract. The app also initializes an ethers provider and checks the network. The README documents these product capabilities; excerpts confirm wallet/provider and contract setup, but do not show the full operation handlers or Solidity implementation, so those links are documented rather than inferred from unseen code.
Main entry points: app.js DEX interface and workflow · SimpleDEX_corr.sol SimpleDEX contract · ether.js RPC and gas helper
Components 13
DEX application
- DEX interface and workflow
app.js - Add liquidity
app.js - Remove liquidity
app.js - Swap tokens
app.js - Query token price
app.js
On-chain contracts
- SimpleDEX contract
contratos/SimpleDEX_corr.sol - Token A contract
contratos/TokenA.sol - Token B contract
contratos/TokenB.sol
RPC access
- RPC and gas helper
ether.js
Other components
- User
- MetaMask wallet
- Ethereum network
- Alchemy RPC service
Connections 13
- User → DEX interface and workflow: uses
README.md - DEX interface and workflow → MetaMask wallet: requests accounts
app.js - DEX interface and workflow → Ethereum network: checks network
app.js - DEX interface and workflow → SimpleDEX contract: initializes contract
app.js - DEX interface and workflow → Add liquidity: offers
README.md - DEX interface and workflow → Remove liquidity: offers
README.md - DEX interface and workflow → Swap tokens: offers
README.md - DEX interface and workflow → Query token price: offers
README.md - Add liquidity → SimpleDEX contract: calls
README.md - Remove liquidity → SimpleDEX contract: calls
README.md - Swap tokens → SimpleDEX contract: calls
README.md - Query token price → SimpleDEX contract: queries
README.md - RPC and gas helper → Alchemy RPC service: queries
ether.js