βοΈTechnical Approach + Technology Stack + Chain Architecture
Last updated
Last updated
Faster transaction speeds, the Ethereum works on a decentrilised network of nodes makes it resistant to censorship and a single point of failure.
Ethereum uses robust cryptographic techniques to secure transactions and smart contracts. While it has faced some security challenges, the Ethereum and the Eth community continually works to improve the platform's security.
Ethereum has a large and active developer community, which continually works on improving the platform. This results in a steady stream of innovations built on Ethereum and is accessible to anyone with an internet connection, making it a global platform for One80 financial services, applications, and more.
All transactions on the Ethereum blockchain are publicly recorded, providing transparency and traceability. Once data is added to the Ethereum blockchain, it becomes virtually immutable. This ensures that historical records and transactions remain secure and tamper-proof.
One80 uses Solidity smart contracts to facilitate the exchange of digital assets. Solidity is the programming language used for Ethereum-based contracts. They include functions for trading, liquidity provision, staking, and more.
One80 uses Solidity programming language specifically designed for writing smart contracts on blockchain. It enables developers to define the rules and logic governing decentralized applications (DApps) and automate trustless transactions through self-executing agreements. Solidity's syntax and features are tailored for creating secure, decentralized, and transparent systems, incorporating concepts like inheritance, libraries, and events. Its code is compiled into bytecode and executed on the Ethereum Virtual Machine (EVM), allowing developers to create a wide range of decentralized financial services, NFTs, governance systems, and more.
One80's front-end interface interacts with the Ethereum blockchain through Web3.js which is a JavaScript library that serves as a bridge between web applications and blockchain networks, most commonly used with Ethereum. It enables developers to interact with the Ethereum blockchain programmatically, allowing for actions like sending transactions, reading data from smart contracts, and managing accounts. Web3.js abstracts the complexity of blockchain interactions, providing a user-friendly API that facilitates the development of decentralized applications (DApps). It plays a pivotal role in connecting web interfaces with blockchain functionality, making it an essential tool for One80 and our developers.
The user interface (UI) of One80 is built using web technologies such as React js, HTML, CSS, and JavaScript. It provides users with a user-friendly graphical layout and interactive elements to access the One80 DEX, trade tokens, join farms and pools and provide liquidity.
The One80 user Interface aims to be intuitive, user-friendly, and aesthetically pleasing, enhancing the overall user experience. It includes elements like buttons, menus, forms, icons, and the arrangement of content to facilitate efficient and effective communication between the user and the One80 digital ecosystem.
The backend of One80 involves server (Node js & Mongoose) infrastructure responsible for handling non-blockchain-related operations, such as user authentication, data storage, and API integration.
Node.js is a JavaScript runtime environment that allows you to execute JavaScript code on the server-side. It's commonly used for building scalable and efficient server applications.
Node.js offers several benefits for server-side application development. Its event-driven, non-blocking I/O model makes it highly efficient, allowing applications to handle a large number of concurrent connections without significant overheads. This makes Node.js well-suited for real-time applications. Node.js also uses JavaScript, a widely-used and versatile language, for both the client and server, simplifying code sharing and reducing context switching. Its extensive package ecosystem through npm (Node Package Manager) provides access to a wealth of libraries and modules, Node.js is also known for its active and vibrant community, which contributes to its continual growth and improvement. These factors make Node.js a popular choice for One80 when building our scalable, high-performance, and real-time web applications.
Mongoose is an Object Data Modelling (ODM) library for MongoDB, a popular NoSQL database. It provides a structured way to interact with MongoDB by defining schemas for data and offering a range of features like validation, middleware, and query building. Mongoose simplifies working with MongoDB in Node.js applications, making it easier to manage and manipulate data in a schema-driven manner.
One80 operates as an AMM, Automatic Market Makers (AMM) is a decentralized trading protocol used in blockchain-based decentralized exchanges (DEXs) to facilitate the exchange of assets without the need for traditional order books or intermediaries. AMMs rely on smart contracts and algorithms to automatically determine the price of assets based on a mathematical formula. Users can trade assets by providing liquidity to pools, and the AMM adjusts the prices based on supply and demand. As users trade and add or remove liquidity, the AMM algorithm maintains a balanced pool, ensuring that there are always assets available for swapping. This innovative approach to trading provides continuous liquidity and has become a cornerstone of decentralized finance (DeFi)
One80 primarily deals with tokens that adhere to the ERC-20 standard on the Ethereum blockchain.
ERC-20 defines a common interface that Ethereum tokens must adhere to, facilitating interoperability between different tokens and compatibility with various decentralized applications (DApps) and wallets. ERC-20 tokens are uniform in their behaviour, allowing them to be easily traded, transferred, and integrated into various platforms and services. Key functions defined by the ERC-20 standard include the ability to check a token's balance, transfer tokens, approve others to spend tokens and can represent various digital assets.
One80's architecture includes a combination of smart contracts, off-chain components, and user interfaces:
Smart Contracts are at the core of One80's functionality. They handle functions like token swaps, liquidity provision, farming, and staking.
Liquidity Pools are distributed across various tokens and are essential for providing liquidity and enabling trading.
Security is a critical aspect of the architecture, and measures such as auditing, as well as other additional checks will be in place to protect user funds.
One80 is a decentralized protocol built on the Ethereum Blockchain (ETH). Its development is based on the principles of DeFi (Decentralized Finance) and the automated market maker (AMM) model. Here's a breakdown of the project's technical approach:
One80 utilises the AMM model, which eliminates the need for traditional order books found in centralized exchanges. Instead of relying on buyers and sellers to create orders, One80 uses liquidity pools. Users provide liquidity by depositing pairs of tokens into these pools. The AMM algorithm calculates token prices based on the ratio of assets in these pools.
Liquidity pools are a fundamental component of One80. Users contribute pairs of tokens to these pools, which facilitate trading on the platform.
Users earn fees and rewards for providing liquidity, and these rewards are distributed based on their contributions to the pools.
One80 includes yield farming and staking features, allowing users to earn rewards by locking up their tokens in specified contracts.
Users can stake LP tokens (tokens representing their share of liquidity pools) or other eligible assets to earn platform-specific tokens as rewards.
One80 may have a decentralized governance system where users who hold governance tokens can propose and vote on changes or upgrades to the platform.
This approach enables the community to have a say in the platform's development and evolution.
Security is a top priority for One80. Audits, bug bounties, and security protocols are typically in place to protect users' funds and the integrity of the platform.
One80, as a decentralized exchange (DEX) built on the Ethereum Blockchain (ETH), utilizes a range of features, technologies, and software components to provide users with a seamless and decentralized trading experience. Here are some of the key features and the benefits of using them in One80:
Feature: One80 employs an AMM model, which eliminates the need for traditional order books and allows users to trade tokens directly with liquidity pools.
Benefits:
This model simplifies trading and provides more liquidity for users.
It enables users to trade without relying on centralized intermediaries.
Feature:
One80 is built on the ETH, which offers faster transaction confirmation times and lower fees compared to the Ethereum network.
Benefits:
Faster transactions make trading and interacting with One80 more efficient.
Feature:
Smart contracts written in Solidity power One80's core functionality, including token swaps, liquidity provision, staking, and more.
Benefits:
Trustless and automated execution of trading operations.
Users retain control of their funds without relying on centralized intermediaries.
Feature: Liquidity pools are a core component of One80, enabling users to provide liquidity by depositing token pairs.
Benefits: Liquidity providers earn fees and rewards for their contributions. These pools ensure that there is always enough liquidity for users to trade.
Feature:
One80 offers an intuitive web interface.
Benefits:
Users can easily connect their wallets and perform token swaps, view balances, provide liquidity, and stake tokens.
The user-friendly design promotes broader adoption.
Feature:
One80 includes yield farming and staking features.
Benefits
Users can earn rewards by participating in liquidity provision, staking LP tokens, or farming platform-specific tokens.
Incentivizes users to engage with the platform and contribute to liquidity.
Feature:
One80 takes security seriously and often undergoes audits.
Benefits:
Enhanced security measures protect user funds and the integrity of the platform.
Audits and bug bounty programs help identify and mitigate vulnerabilities.
React.js empowers One80 front-end developers with a powerful set of tools, a robust architecture, making it a go to solution for building modern, efficient, and maintainable user interfaces for One80 web and mobile applications.
Node.js, powered by the V8 JavaScript engine, provided One80 with a fast, scalable, and versatile environment for building server-side applications. Its asynchronous, event-driven architecture, and extensive ecosystem made it a compelling choice for One80 as well as offers solutions for a wide range of backend development tasks.
Interacting with the One80 One80 Protocol on the Ethereum (ETH) blockchain involves using a web-based front end. See high-level overview of how users interact with One80's blockchain functionality through its front end:
Users typically begin by visiting the One80 website or using a mobile app that provides a user-friendly interface for accessing the One80 Protocol.
To interact with the blockchain, users need to connect a compatible cryptocurrency wallet. One80 supports wallets like MetaMask, Trust Wallet, Coinbase, Formatic,and Portis.
Once a wallet is selected, the front end requests authorization to connect to the wallet. Users approve this connection within their wallet's interface.
After successful authorization, the front end retrieves information from the connected wallet, including the user's cryptocurrency balances and permissions.
Users can now access various functions and features offered by One80, such as token swapping, liquidity provision, yield farming.
Smart Contracts:
liquidity & swap
Router Contract
Factory Contract
Yield Farming and Staking
Masterchef Contract
One80 Protocol is built on the Ethereum (ETH) that allows users to swap various cryptocurrencies and tokens. While One80 primarily focuses on providing liquidity and trading services, smart contracts play a critical role in its operation, particularly within the context of liquidity provision and yield farming. Here's how smart contracts work within the One80 product usage lifecycle:
Users provide liquidity to One80 by depositing pairs of tokens into liquidity pools. Each liquidity pool is represented by a smart contract.
The smart contract records the user's contribution to the pool and issues Liquidity Provider (LP) tokens in return. These LP tokens represent the user's share of the liquidity pool.
When users want to swap one token for another, they interact with One80's smart contract. The smart contract calculates the exchange rate based on the available liquidity in the pool and executes the swap if the conditions are met.
One80 offers yield farming and staking opportunities through its various liquidity pools.
Users can stake their LP tokens in specific smart contracts that reward them with One80 tokens, One80's native token, and other tokens for providing liquidity.
One80's smart contract functions as an automated market maker, providing liquidity to traders by using an algorithm that adjusts token prices based on supply and demand within the liquidity pools.
One80 collects fees from token swaps, which are distributed to liquidity providers. Smart contracts manage the fee collection and distribution processes.
Liquidity pool smart contracts continuously adjust token balances to maintain the desired price ratio and liquidity in the pool. These adjustments are automated and determined by the AMM algorithm.
Users interact with One80's user interface, which communicates with the smart contracts behind the scenes to execute swaps, add or remove liquidity, and participate in yield farming.
Smart contracts play a role in the governance of One80. Token holders can vote on proposals through smart contracts to decide the platform's future development and parameters.
One80's smart contracts are deployed on the Etherscan, which provides decentralization and transparency through blockchain technology. All transactions and
contract interactions are publicly recorded on the Ethereum blockchain.
Due to the decentralised nature of the One80 ecosystem, we won't save any user details which guarantees user privacy.
We only save data using Mongoose database relating to the execusion of swapping, liquidity history, and yield farming.