Skip to content

decaswap-labs/decastream

Repository files navigation

1SLiquidity Protocol

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.

Boilerplate

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.

Foundry

Built using Foundry for smart contracts.

Build

$ forge build

Test

$ forge test

Format

$ forge fmt

Gas Snapshots

$ forge snapshot

Anvil

$ anvil

Deploy

$ forge script script/Counter.s.sol:CounterScript --rpc-url <your_rpc_url> --private-key <your_private_key>

Cast

$ cast <subcommand>

Help

$ forge --help
$ anvil --help
$ cast --help

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages