mrxvt / -1_eth_oxford

Home Page:https://1-eth-oxford.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

-1(minus one)


-1(minus one) is a investment application built using Farcaster Frame that can be used in WrapCast


Dual-Profit

Currently we are focusing one investment Idea, Which we call as 2 Fold Capital

Imagine trading a coin with a certain margin. What if I told you that you could earn a profit whether the margin of the coin is reached or not?

HOW?

1

Let's understand the flowchart with an example of selling ETH for USDC with a margin of 10%:

  1. The user clicks on "Sell at High."

  2. The user sets the margin at 10% and defaults to 6 days.

  3. If the value of ETH is greater than or equal to the margin:

----- The user's coin is sold at that margin, and the respective coin is given.

----- Any profit earned within the network is kept within the coin itself.

  1. If the value of ETH is less than or equal to the margin:

----- Then the user is refunded with the initial ETH and a certain percentage of the initial ETH invested.

**Same Goes with Buy At Low **

2

This way, the user profits even if the set margin is reached or not.

How does the contract give extra coin if the margin is not reached?

Using Gnosis Chain

background

Difficulties faced during building:

  1. Discovered that DeFi protocols like Uniswap had to be deployed on the mainnet and couldn't be used on the testnet due to liquidity issues.
  2. Pancake Swapping Protocol had to be deployed on Binance, but there were compatibility issues with other contracts.

Contract deployed in sepolia address : 0x23d0BF0DD147f2833F69b3E8836eae96225E87FC image

About

https://1-eth-oxford.vercel.app


Languages

Language:TypeScript 83.1%Language:Solidity 13.8%Language:CSS 1.2%Language:HTML 1.1%Language:JavaScript 0.8%