This repo contains the code for the 1SLiquidity Protocol. It is a work in progress and will be updated as it's developed.
Currently the project is in the Specification sprint, where docs and diagrams are being created to outline the project and serve for the team of engineers that will be building the protocol.
Ever gone through the laborious process of checking each DEX to get the best trade? What if you don't care and just send it on whichever DEX you happen to be used to? This exposure to front running, pool manipulation and unpredictable slippage rates will be a thing of the past.
One click and the 1SLiquidity Protocol will route your trade across the DEX with the optimum trade conditions and 'Stream' it out chunk by chunk, block by block. As market conditions change, we adapt, finding the best performing DEX on this stream by stream basis. When your trade is fully settled, you receive your tokens in precisely the threshold you defined. Taking too long? Cancel the trade at any time and return tokens exchanged to that point.
Instasettle furthermore allows anyone to instantly settle a trade across the contract in full. Users get to define thresholds in BPS and viewing traders can settle at these rates in one click. Both maker and taker get instant (block) settling.
Built using Foundry for smart contracts.
$ forge build
$ forge test
$ forge fmt
$ forge snapshot
$ anvil
$ forge script script/Counter.s.sol:CounterScript --rpc-url <your_rpc_url> --private-key <your_private_key>
$ cast <subcommand>
$ forge --help
$ anvil --help
$ cast --help