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:
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.
Coming soon... Instructions are not straightforward due to having to spin up two local aggregators (BLS Wallet components)
- Multi-action transactions - separate transactions can be bundled together into one e.g.
approve
andtransferFrom
. If you want to test that out, you can call thetokenToEth
function after you've swapped eth for the erc20 token which includesapprove
andtransferFrom
function 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