mirror of
https://github.com/getwax/bls-single-pool-dex.git
synced 2026-01-07 23:03:52 -05:00
master
🏗 scaffold-eth | 🏰 BuidlGuidl
BLS Minimum Viable Exchange
This dApp was based off Challenge 3: Single Pool DEX from Speed Run Ethereum. It has been integrated with BLS Wallet, for more information see:
Getting started
yarn install
yarn start
Open http://localhost:3000 to view it in the browser.
A new browser wallet is generated when you visit the site (just like Punk Wallet) and everything is deployed to Arbitrum Goerli.
To get started you just need to transfer a tiny amount of testnet eth (like 0.01) to the browser wallet address. Then click the ethToToken function in the UI.
Running locally
Coming soon... Instructions are not straightforward due to having to spin up two local aggregators (BLS Wallet components)
BLS Wallet features
- Multi-action transactions - separate transactions can be bundled together into one e.g.
approveandtransferFrom. If you want to test that out, you can call thetokenToEthfunction after you've swapped eth for the erc20 token which includesapproveandtransferFromfunction calls. - dApp-sponsored transactions - all transactions are sponsored so the end user doesn't have to pay any transaction fees.
💬 If you have any questions, suggestions or comments then please reach out to me on Telegram: @JohnGuilding
Languages
CSS
84.8%
JavaScript
14.1%
Shell
0.7%
Dockerfile
0.2%
HTML
0.1%