Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Feat: Csi 1413 create UI for exchange #328

Draft
wants to merge 9 commits into
base: staging
Choose a base branch
from

Conversation

irshadCypherock
Copy link
Collaborator

No description provided.

Integrated the API calls for the Swap Token functionality
Added a new method that downloads a JS object as a CSV file.
It is used to download the swap transactions that took place.
In the Swap History panel, a drop down
will list all the wallet that are
available and selecting them will list
only the transactions in that wallet
Comment on lines +170 to +172
const { data } = await axios.get(`${baseUrl}/exchangeDetails`, {
params: { from: fromToken.slug, to: toToken.slug, amount: amountToSend }
});
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error handling missing

Comment on lines +186 to +194
const { data } = await axios.get(`${baseUrl}/transaction`, {
params: {
walletId,
from: fromToken.slug,
to: toToken.slug,
amount: amountToSend,
address: receiveAddress
}
});
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error handling missing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants