algoworldnft / algoworld-swapper Goto Github PK
View Code? Open in Web Editor NEW⚡️ Free and trustless ASA swapper, powered by Algorand
Home Page: https://swapper.algoworld.io
License: GNU General Public License v3.0
⚡️ Free and trustless ASA swapper, powered by Algorand
Home Page: https://swapper.algoworld.io
License: GNU General Public License v3.0
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Warning
These dependencies are deprecated:
Datasource | Name | Replacement PR? |
---|---|---|
npm | react-tsparticles |
|
npm | web3.storage |
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
node
, @types/node
)@testing-library/jest-dom
, @testing-library/react
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@commitlint/cli
, @commitlint/config-conventional
, @emotion/react
, @emotion/styled
, @fontsource/roboto
, @hookform/resolvers
, @mui/icons-material
, @mui/lab
, @mui/material
, @mui/x-data-grid
, @perawallet/connect
, @playwright/test
, @reduxjs/toolkit
, @testing-library/jest-dom
, @testing-library/react
, @testing-library/user-event
, @txnlab/use-wallet
, @types/jest
, @types/node
, @types/react
, @types/react-dom
, @vercel/node
, algosdk
, amondnet/vercel-action
, autoprefixer
, axios-retry
, dotenv
, eslint
, eslint-config-next
, eslint-config-prettier
, eslint-import-resolver-typescript
, jest
, jest-environment-jsdom
, lint-staged
, node
, postcss
, pre-commit/action
, react
, react-dom
, react-redux
, react-tsparticles
, react-use
, styfle/cancel-workflow-action
, ts-jest
, tsparticles
, typescript
, web3.storage
)@commitlint/cli
, @commitlint/config-conventional
)These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
.github/workflows/ci.yml
actions/checkout v3
actions/setup-node v3
bahmutov/npm-install v1
pre-commit/action v3.0.0
wagoid/commitlint-github-action v5
codecov/codecov-action v3
.github/workflows/codeql-analysis.yml
actions/checkout v3
github/codeql-action v2
github/codeql-action v2
github/codeql-action v2
.github/workflows/e2e.yml
styfle/cancel-workflow-action 0.11.0
actions/checkout v3
actions/setup-node v3
bahmutov/npm-install v1
amondnet/vercel-action v25.1.1
actions/upload-artifact v3
.github/workflows/release.yml
actions/checkout v3
amondnet/vercel-action v25
api/storage/package.json
typescript 5.1.6
web3.storage 4.5.4
@vercel/node 2.15.5
package.json
@algorandfoundation/algokit-utils ^2.2.0
@blockshake/defly-connect ^1.1.5
@daffiwallet/connect ^1.0.3
@emotion/cache 11.11.0
@emotion/react 11.11.1
@emotion/server 11.11.0
@emotion/styled 11.11.0
@fontsource/roboto 5.0.8
@hookform/resolvers 3.1.1
@mui/icons-material 5.14.0
@mui/lab 5.0.0-alpha.136
@mui/material 5.14.0
@mui/x-data-grid 6.10.0
@perawallet/connect 1.3.1
@reduxjs/toolkit 1.9.5
@txnlab/use-wallet ^2.1.0
@vkruglikov/react-telegram-web-app ^1.11.0
@walletconnect/modal-sign-html ^2.5.5
algosdk ^2.4.0
axios 1.4.0
axios-retry 3.5.1
next 13.4.13
next-pwa 5.6.0
nextjs-google-analytics 2.3.3
prop-types 15.8.1
react 18.2.0
react-dom 18.2.0
react-markdown 8.0.7
react-number-format 4.9.4
react-redux 8.1.1
react-toastify 9.1.3
react-tsparticles 2.11.0
react-use 17.4.0
swr 1.3.0
telegram-webapps-types 1.0.5
tsparticles 2.11.0
@commitlint/cli 17.6.6
@commitlint/config-conventional 17.6.6
@playwright/test 1.36.1
@testing-library/jest-dom 5.16.5
@testing-library/react 14.0.0
@testing-library/user-event 14.4.3
@types/jest 29.5.3
@types/node 18.16.19
@types/react 18.2.15
@types/react-dom 18.2.7
@typescript-eslint/eslint-plugin 5.62.0
@typescript-eslint/parser 5.62.0
autoprefixer 10.4.14
cd 0.3.3
commitizen 4.3.0
cz-conventional-changelog 3.3.0
dotenv 16.3.1
eslint 8.45.0
eslint-config-next 13.4.10
eslint-config-prettier 8.8.0
eslint-import-resolver-typescript 3.5.5
eslint-plugin-prettier 4.2.1
jest 29.6.1
jest-canvas-mock 2.5.2
jest-environment-jsdom 29.6.1
lint-staged 13.2.3
node-fetch 3.3.2
postcss 8.4.26
prettier 2.8.8
ts-jest 29.1.1
typescript 5.1.6
.nvmrc
node 18.16
api/swaps/requirements.txt
The card is in the escrow account so the swap is still active (at time of writing): https://algoexplorer.io/address/YJSR2I5QU7H4TCALVRVGAUIZQNJ5JZB2WYWBCCH6WWNDWAJ2SOFA3N3FLE
Same problem on both:
My wallet is connected on mainnet
I successfully made a swap ~10 days ago on mobile
I had a login on the swapper via MyAlgo. I have been trying to logout, but no luck. The swapper still keeps me logged in, even after refreshing. Interestingly, the "active account" dropdown on my account doesn't show my wallet and it's empty. See attached screenshot.
Browser is Brave 1.50.121 for Mac (intel)
Right now, addresses are shown in Public Swappers list that don't have active swaps. This dilutes the visibility of the addresses that offer swaps, but are not on the first page.
I have created 5 public swaps between asa 978590908 and AWT (233939122):
However, the only one showing both on public swaps and in My Swaps is the last one for 300 AWT. All transactions and fees for swaps went through (blocks 25634034 to 25634106)
Hey Al. Unfortunately the swaps from the Build Manager Wallet won't display on "My Swaps" page. See the screenshot attached. The public address is 75BMV3IXUMULXWV4JCCEET3OXZQU5J32J5CZ62A4DOH4HHF3KTFFX56ZZQ.
Same problem on mobile and Desktop (both Safari and Chrome). I also changed to IPFS provider, with no effect on the result. Thanks for your help!
When creating a new ASA to Algo swap, the requested Algo amount is limited to current creator wallet balance, while there shouldn't be any limit.
I tried to perform the swap below. After I hit Perform Swap there was a pop-up with Cancel an Proceed buttons. I clicked Proceed and nothing happened either in my mobile Pera wallet or on the swapper website. I tried several times and nothing happened.
I have few things that I miss from v1 of swapper.
there is no disable swap button. If I want to disable it but keep my link and just enable it later I dont have that option yer. I can delete it but then I have to do whole new swap.
v1 of swapper had this nice option where I would send multiple assets to the address and when I opened the swap screen I could see how many assets is there left. I can then track how many there is left in the swapper.
Issue have been completed by @leetdev, due to a bug on Gitcoin, bounty was paid out manually. Ticket is to be closed after response from Gitcoin support team.
Setup and integrate jest
and React Testing Library
into algoworld-swapper
that would work with typescript, nextjs and playwright without compatibility issues or over bloating config files at the root folder.
After the integration is ready, implement at least 1 unit and component test for a page and helper method in utils
folder of your preference to showcase this initial testing setup.
After those initial tests are written, make sure to update the CI
github action workflow to trigger unit tests on each PR.
Make sure that test execution from CI produces artifacts for coverage reporting.
When goal is completed, submit a PR against master branch, make sure to fill the PR template and describe the changes in detail. If you picked up this issue and something isn't clear simply leave a comment and tag me in the issue and Ill reach out with clarifications.
If you have proposal for an alternative framework for testing for this stack, please suggest in the comment to the issue.
I have gradually switches some swaps that I use the most from old swapper to new one and I get a lot of issues reported by the users.
The general issue is mostly from the first click on the link that leads to a swap.
Most people just get this situation
they feel that the swap is empty.
Then I have to explain the they first need to connect wallet at switch to mainnet.
after they do that they need to go back to the link and enter the screen again
some people get this situation even tho the swap is active and had assets and funds
then they need to try and follow link to a swap again and it might work or not.
I feel there is some issue with entering swapper for the first time or when your wallet is not connected.
Im just writing from some user feedback. The switch between mainnet and testnet is bit confusing.
it would either be better to put MainNet title insted of testnet. Or just have testnet activate when the slider is moved right and it turns green,
the way people think it works is that when you move slider right and it goes green it should activate testnet
It looks like the public swaps are displayed for 5 wallets only. The other wallets can be found via the search field but are not displayed straight away on the main page of public swaps.
Navigating to perform swap page doesnt inform users if they need to switch chain if swap was created on different chain (testnet needs to say its testnet on mainnet toggle enabled and vice-versa)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.