Integration Grants Application '24: Ginseng Swap
Application Introduction
Currently Ginseng Swap is deployed on conflux testnet and it is productionized to start getting feedback/build email list to engage followers with updates/product feature launches. (https://ginsengswap.vercel.app/). This will also be used for demoes to help build investor interest in product.
Stablecoins represent a huge opportunity - we are seeing increasing adoption of USDC and USDT and their ability to cross-borders. The growing acceptance of stablecoins for on-ramp and off-ramp means that it is possible to make the cost of remittances at low cost with quicker settlement on the blockchain. There remains a lack of full-suite solution that can guide a customer from on-ramp to off-ramp while taking advantage of blockchain technology to swap between tokenized stablecoins.
Ginseng Swap aims to tackle this - by introducing a DEX focused on stablecoins and then working on financial partnerships that will help customers with remittances and cross-border swaps.
Ginseng Swap
- Currently swaps on Swappi are higher cost than v3 and Ginseng Swapâs DEX will focus on stablecoins which will have low 0.05% trading fees
- We have seen on Uniswap whereby the lower trading fees has allowed Uniswap to build on stablecoin volume and surpass stablecoin volume on Curve. v2âs trading fees of 0.30% are not commensurate with the risk/volatility of stablecoins but concentrated liquidity and 0.05% on v3 are much more suitable. Ginseng Swap attends to address this and attract stablecoin trading/swapping
Benefit to the Conflux Ecosystem:
- Stablecoins represent a huge opportunity to bridge between blockchain and real world economy. A DEX focused on stablecoins and focused on on-ramp/off-ramp partnership will allow for a payment/remittance app. There are billions of dollar of remittance that can be done on blockchain settlement and as institutions accept stablecoins for conversion to fiat, a blockchain app that can swap and guide customers from on-ramp/off-ramp will be valuable as it allows for self-custodial over assets between swaps, lower transaction costs, and quicker settlement through the tokenization of currency.
Economic benefit:
- More transactions will occur between stablecoin pairs (lower transaction cost vs. swappi) and Ginseng Swap will be pushing towards consumer use-age to make swaps on Ginseng Swap for remittances to increase on-ramps/off-ramps onto/off Conflux. This reduces the barrier/friction from using a blockchain for real world purposes and also allows institutions to recognize stablecoins on Conflux
Demonstrate a competitive edge that differentiates it from other projects
- Ginseng Swap currently allows for concentrated liquidity and different fee ranges. We have seen stablecoins increase transactions on Uniswap and surpass curve when v3 allowed for 0.05% transaction fees on stablecoins on concentrated ranges. There is low volatility between stablecoin pairs and the lower fees is commensurate with the risk (allowing for higher volume).
- Ginseng Swap will also focus on a roadmap that will work towards a full-suite integration between onboarding and offboarding. For example, it is currently difficult to set-up a wallet on Conflux eSpace using metamask for non web-3 users. As an idea, a custom hardware wallet (i.e. every passport has NFC) and can be hashed to create a private key/public address pair. Ginseng Swap will explore integrations like these to allow customers to login through their passport and access the Conflux blockchain for their stablecoin balances and swapping.
Links to the projects webpage, DApp, socials and chat groups
- Project webpage: https://ginsengswap.vercel.app/
- Project video intro demo: https://www.youtube.com/watch?v=et9X_D8ZCTk
- Project webpage currently allows for swapping and adding liquidity on testnet. All contracts are verified and we have recieved quotes for contract audit. A faucet is on the website to allow you to recieve testnet stablecoins to test the app. A email newsletter subscription is also there to start getting feedback/iteration, while we improve the app with product features, UX and move the app to mainnet production
- Post on testnet launch on X: https://x.com/intrepid_crypto/status/1827010145777303613
- Post on linkedin on launch: https://www.linkedin.com/posts/tony-kp-lau_super-excited-to-have-deployed-ginseng-swap-activity-7232774265564020736-RKlQ?utm_source=share&utm_medium=member_desktop
- X acount for Ginseng Swap: https://x.com/GinsengSwap
Conflux eSpace grant recipient wallet address: To be provided at later date
Are you an incorporated startup?
- Yes - incorporated in Canada. I would like to see what possibilities exist to move the start-up to Hong Kong Cyberport. There seems to be a push in incentives to attract start-ups to Hong Kong
Technical Introduction
Two core contracts govern Ginseng Swap.
Ginsengv3Factory
Pool
There is a bunch of periphery contracts that help with interacting with core contracts (i.e. constructing the SVG for the NFT that is issued to represent the liquidity position added). A full list of contracts are found in the FAQ and it is contract verified on conflux scan. https://ginsengswap.vercel.app/faq
For the roadmap, we aim to:
- further features found on uniswap v3 (i.e. using the increaseLiquidity and decreaseLiquidity functions)
- visualize liquidity positions
- make it easier to onboard consumers, for example, consumers should be able to create or login to a generated wallet with NFC data of their passport. this would effectively be a hardware wallet for Ginseng Swap
- partnerships with institutions to on-ramp and off-ramp to attract remittance users
Refer back to problem statement
- currently the main dex on conflux is v2 with a uniform 0.3% fee that is unsuitable for stablecoins. swappi also serves all tokens and ginseng swap will be focused on remittances/stablecoins for easier onboard/offboard ramp
Purpose of the system
- allow users to send remittances by using a dex on conflux espace and have stablecoins on conflux recognized by financial insitutions for easier on/off-ramp
Scope of the system
Objectives and success criteria of the project
- more transactions on blockchain/ginseng swap
- partners with ginseng swap to on-board/off-board stablecoins
- consumer app that makes blockchain friction less difficult from web2 using easier onboard/offboard flow of stablecoins
Functional overview of your system
- contracts are all open-sourced on testnet
- liquidity is held in pools and created from the factory
- swaps are routed and leverage uniswap v3 contract structure
- https://ginsengswap.vercel.app/faq
Identify all of the core aspects of your system and elements to uphold its functionality
Legal/licensing aspects
- none needed. uniswap v3 license limits use of the v3 source code in a commercial or production setting until April 1st, 2023. After this, the license will convert to a general public license. This means anyone can fork the code for their own use â as long as it is kept open source.
- Ginseng Swap will be open source
Usability
- we intend to launch new product features that will make ginseng swap similar to use as uniswap v3. the focus will be on remittances and stablecoins
Reliability
- we intend to build a backend on supabase for events/logs to provide quick information about liquidity positions for users. everytime an event is emitted, we intend to log it
Performance
- the contracts are optimized and battletested on many different chains. ginseng swap will also go through a contract audit to ensure users are comfortable with ginseng swapâs contracts
Implementation
- roadmap includes further work on making ginseng swap mobile compatible / easier on-ramp through wallet creation / partnering with institutions for on-ramp/off-ramp
User interface
- we have launched testnet app to play around with the user interface but we realize it is a work in progress on UX.
- we have launched it so that we can start interacting with community, get community feedback, iterate and launch a better product on mainnet
Total Budget
- we would like to cover costs for contract audit on Ginseng Swap contracts. A quote has been provided and we can leverage the subsidy from Ginseng Swapâs hackathon ($2,000 credit)
- there is also opportunity to more fully explore incentives by Hong Kong for web3 companies. A budget will allow Ginseng Swap to more fully produce better demoes/presentation materials to advance the project and get startup funding
Grant Size:
- $18,500 USD
- A non-binding Letter of Intent on providing liquidity on Stablecoin Pairs (i.e. $400,000 on liquidity pairs USDC/USDT or HKD/USDC), conditional on Conflux further due diligence, to assist Ginseng Swap with seeking early investors to help fund additional development of Ginseng Swap.
Justification:
- There is about $10,000 in credits/prize that Ginseng Swap would like to convert to a more upfront grant and re-purpose for working capital needs (vs. waiting for mainnet deployment and needing to spend on specific vendors). This represents $8,000 in new grants to help support continued development
- $3,500 of the $8,000 USD will be needed to cover contract audit of Ginseng Swap. This covers both the core and periphery contracts.
- This leaves about $5,000 USD to further focus on development of Ginseng Swap
- For context, currently Ginseng Swap has $4,000 prize that can be claimed from U-Hack upon deployment onto mainnet. However, this will take some time since there is a lot more development work that needs to be done. Ginseng Swap also has credits of $4,000 USD from RAK DAO which it would like to re-purpose for examining start-up opportunities in Hong Kong. Ginseng Swap also has credits of $2,000 USD from Google Cloud which it has not claimed but would like to re-purpose to explore other hosting for subgraphs (i.e. Supabase).
- Would like to request this for earlier payment to support working capital needs.
- Hong Kong has fintech week in October 2024 which Ginseng Swap would like to attend and promote demo and seek further assistance from startup ecosystem. There is also Token2049 in September 2024 which Ginseng Swap would like to attend.
Development Roadmap
- Continue with product features of Ginseng Swap (add/decrease liquidity) and demoes / marketing materials
Timeline and milestones
- Go to Singapore (September for Token 2049) and Hong Kong (October for Fintech Week and Chainlink SmartCon) to seek venture funding to continue developing a remittance app using money raised to hire developers to improve UX and speed development â> Travel to Singapore and Hong Kong to be completed by October 31
- Additional product features on testnet app (increase/decrease liquidity on existing positions) --> To be completed by October 31
- Visualization of positions / liquidity pools --> To be completed by December 31
- Build team if venture capital funding achieved to bring mobile compatibility and build financial partners
Requested funding per milestone
- $10,000 USD repurpose of future-dated awards/credits - Go to Singapore (September for Token 2049) and Hong Kong (October for Fintech Week and Chainlink SmartCon) to seek venture funding to continue developing a remittance app using money raised to hire developers
- The earlier funding is needed to start building relationships with institutions that can partner with onboard/offboard stablecoins and also work on raising venture capital to help with additional runway to hire developers to build protocol
- To be completed October 31
- $3,500 USD contract audit of Ginseng Swap contracts deployed on mainnet (verified on mainnet) - Revised quote came in at $3,500 To be completed in 13 days by auditor as soon as funding approved
- $2,500 USD Additional product features on testnet app (increase/decrease liquidity on existing positions) (Completion Anticipated October 31)
- $2,500 USD Visualization of positions / liquidity pools (Completion anticipated December 31)
Specification of software/deliverable
$10,000 USD
- (1) Preparation of marketing materials/powerpoint/demoes to get booth with InvestHK for Startup HK or at HKâs Fintech Week as Canadian Pavilion delegate.
- (2) Attendance of HK fintech week
- (3) Attendance of Chainlink SmartCon
- (4) Attendance of Token2049 / ETHGlobal Singapore
- Completion October 31
Goal is to start building relationships with on-ramps/off-ramps, and seek venture funding to have more runway to hire developers to build out protocol. The funding will help go towards demoes/marketing material/powerpoint presentations, and improving the protocol that is currently deployed on testnet. This will repurpose the $10,000 in future-dated credits from U-Hack hackathon to be used for working capital earlier.
-
$3,500 USD for contract audit of Ginseng Swap contracts deployed. The $3,500 USD takes into consideration the $2,000 credit that was won. (i.e. $3,500 is remaining price for audit of both core and periphery contracts)
-
$2,500 USD Additional product features on testnet app (ability for users to increase/decrease liquidity on existing positions)
-
$2,500 USD Visualization of positions / liquidity pools (ability for users to see liquidity positions depth and also the NFTs) - the grant will also support backend development of subgraphs
-
KPIs tracked will be followers on twitter, TVL, liquidity positions created on testnet, # of swaps tested
Team
Currently the team is only Tony Lau - founder of Ginseng Swap. In 2024, I have continued to build on my web3 skillset.
- Completed Uniswap v4 Incubator successfully - with a v4 hook
- Based in Toronto but attended multiple developer workshops in Brussels, NY, and Greece specifically for web3
- Joined multiple hackathons using various protocols which could potentially be incorporated into Ginseng Swap in the future. Winner of several.
- Produced developer content for Alephium, a layer 1 blockchain
- Attended buildspace (in San Francisco) with Ginseng Swap - a demonstration of continued commitment to build Ginseng Swap over the last few months
- Attended conflux workshops in the past and contributed to documentation
- Twitter: https://x.com/intrepid_crypto
Terms of Use
Confirm that you agree to the terms of use for applying to a Conflux Ecosystem Grant by including the entirety of the following statement and conditions:
I agree to all of the following terms of use in applying to a Conflux Ecosystem Grant
[x] I have read and understood the Conflux Grants Ecosystem Overview
[x] I have read about and understood that the Conflux Technical Grants are subject to a No-Sale rule
[x] I agree to provide KYC information to the Conflux Foundation for the sake of overall ecosystem security
[x] I understand that I will be required to follow public grant reporting requirements