7cf5c1f6fe
- For the active swap, switch from polling to websocket. The returned data is now the Charge data from the commerce, so some parsing will be required. - Allow the user to send other coins that the commerce supports. - Only save the 'chargeCode' to the wallet. The other data can be repopulated from this. - Store the receipt currency. I'm not sure if the commerce supports sending bits from various coins. Take the coin that came with the 'COMPLETED' message for now. - Fix 'lbc' calculation to match IAPI side. - Allow users to see full detauls from "View Past Swaps". - String cleanup - GUI cleanup.
21 lines
399 B
JavaScript
21 lines
399 B
JavaScript
// @flow
|
|
import React from 'react';
|
|
import Page from 'component/page';
|
|
import WalletSwap from 'component/walletSwap';
|
|
|
|
type Props = {};
|
|
|
|
export default function SwapPage(props: Props) {
|
|
return (
|
|
<Page
|
|
noSideNavigation
|
|
className="main--swap"
|
|
backout={{
|
|
backoutLabel: __('Done'),
|
|
title: __('Swap Crypto'),
|
|
}}
|
|
>
|
|
<WalletSwap />
|
|
</Page>
|
|
);
|
|
}
|