Goal of the project:
Create a self governing Dapp to group DeFi products in a single easy-to-use and professional looking interface. It will generate money by offering launching services to token developers and charging fees to users.
Proposed roadmap:
- Team building. <
- Specifications. <
- Development.
- Alpha releases of the platform.
- Seek financial support and marketing teams for our pre launch campaign.
- Pre-Launch campaign.
- Official white paper of the governance.
- Private sale to investors and partners.
- Public presale of the governance tokens.
- Audits.
- Full release. (audited version)
- Governance update. (Supervised)
- Ownership renouncement. (Full decentralization)
This is how I envision the iterative process of developement. I am not inventing anything here and simply try to adapt the agile methodologies to a decentralized group. Keep in mind this is just a first pitch, there must be some flaws and problems, you are welcome to suggest improvements and modifications.
It will start with an initial draft that describes in medium detail how I think it should work and what are the steps to reach a final product. It will stay on github where anyone can branch off and propose an updated version. We can then upgrade versions until we have a good idea of our next step. This specification document will represent the ground truth regarding the specifications and steps of the project.
At any time along the execution of the steps, if an ambiguity or uncertainty arises from the interpretation of the specification, we should stop what we are currently working on and go back to the specification in order to clarify it.
To contribute, clone this file, branch, make the modifications you want and add your ideas. Then simply make a pull request and I will accept it.
Last update: 2021-08-06
Specifications Version: 1
Note: A lot more information is needed to create a complete plan, keep in mind this is a first version.
The Jungle exchange is built in 4 separate parts interacting with each other.
- Solidity Jungle Exchange Contract Collection.
- Solidity Governance contracts.
- React Frontend.
- IPSF Storage.
These four components together create the fully decentralized order book exchange.
These are the backbones of our Dapp, all the payments will be handled by the blockchain. For now it consists of:
- The pancake swap contracts and interfaces.
- The p2p order book contract.
- The Launchpad contract.
- Collection of Openzeppelin standards
The governance contract is used by the community to accept or reject coins from the exchanges launchpad. It will also serve to participate early in launchpools and other exclusive rewards.
Governance is not necessary and is unsafe for the alpha release. It should only be implemented after the platform has been audited.
The frontends main task is to display the information from a bunch of contracts. The problem is it can not know what contracts exist and what are the address without something telling it. If we simply encode these in our frontend it would then become a centralized application. Then, the process to fetch the information directly from the blockchain is slow and would not be pleasing for a user.
That’s why I propose to make it first fetch from a trusted decentralized source source then validate the information against the chain. The decentralized source will be voted by the holders of the governance tokens.
Note that this way the frontend has absolutely no influence on the mechanism of the exchange and contains no sensible information.
The off chain order book is simply a bunch of files on the IPFS system. These files contain the contracts address and latest logs of the blockchain but condensed in a quick access format. It will be immutable since IPFS stores data according to their hash. Periodically, the files will be updated and a new hash will be accepted and verifiable by the community. Anyone trying to affect that file with bad intentions would change its hash and alert the community.
The scrapper used to extract the logs from the blockchain is also considered a part of this component.
The last part of this IPFS storage section is the information for the charts on our exchange and a list of the valid currencies.
subgraph urls
''''
ETH:
Honeyswap: "https://api.thegraph.com/subgraphs/name/luzzif/swapr-mainnet-alpha"
UniswapV3: 'https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v3'
sushiswap: "https://api.thegraph.com/subgraphs/name/sushiswap/exchange"
BSC:
Pancakeswap: 'https://api.thegraph.com/subgraphs/name/pancakeswap/exchange'
''''