Technical Architecture
Last updated
Was this helpful?
Last updated
Was this helpful?
WiseWallet stands as a beacon of innovation in the world of decentralized finance (DeFi) on the Comdex blockchain. Below, we delineate its intricate architecture, covering components from wallet contracts to the cutting-edge integration of GPT interpretations for transaction intent.
At the heart of the Comdex lies the Wallet Contract, streamlining complex transactional functions and making them accessible for the end-users.
Token Transfers: Manages the primary functions of dispatching and receiving tokens.
Holding: Facilitates users in securely storing their tokens in the contract.
Approvals: Offers permissions for third-party applications to carry out actions using user tokens, aiding in DeFi processes.
This architecture provides a holistic environment for users to conduct a multitude of transaction types.
The Entrypoint Contract acts as a gatekeeper and relay for bundled transactions, ensuring security and efficiency in transactional processes.
Signature Verification: The contract first ensures the transaction's authenticity by scrutinizing its associated signatures.
Transaction Relay: Upon validation, the contract sends the transaction to its intended target, ensuring user instructions are carried out precisely.
One of the most groundbreaking features of WiseWallet, Limit Hooks enable users to set up transactions based on future timestamps. Users can provide signatures indicating their intent, and when specific conditions like price limits are met, the transaction is executed using the provided signature.
Non-Custodial Approach: Users don't have to keep their assets locked in a platform, ensuring security and flexibility.
Future-Proof Transactions: Users can plan for future market conditions, automating their actions based on anticipated price movements.
Integration of GPT models in WiseWallet represents a step towards bridging the gap between everyday users and the technicalities of the blockchain world.
User-Friendly: Converts everyday language into valid transaction requests.
Dynamic Interpretation: The versatility of the GPT models ensures a broad range of user inputs can be processed and translated into valid blockchain commands.
Seamless Collaboration: Works cohesively with other components like the bundler mempool and solvers.
Dynamic entities, solvers actively scan the bundler's mempool, ensuring that transactions are executed optimally.
Mempool Monitoring: Constantly searches the mempool for viable transactions.
Best Path Identification: On finding a suitable transaction, solvers execute it, ensuring maximum value for users.
Commission-based Service: Solvers take a commission, incentivizing them to provide the most beneficial paths for users.
To prevent potential fraudulent activities like artificial price manipulation through Flash Loans, WiseWallet utilizes Oracles on Comdex. These oracles independently verify off-chain prices, ensuring that solvers can't exploit the system to deceive users.
Reliable Price Verification: Oracles provide a trustworthy source for price data, ensuring the integrity of transactional decisions based on price limits.
Anti-Fraud Mechanism: By taking data from a verified off-chain source, the possibility of malicious actors manipulating prices for their gain is substantially reduced.
WiseWallet's intricate architecture is a blend of tried-and-tested blockchain mechanisms combined with cutting-edge technology. By leveraging user-friendly interfaces, proactive solvers, and the latest in AI interpretation technology, WiseWallet sets the stage for a user-centric DeFi platform, ensuring accessibility, security, and efficiency for all users.