Skip to content

Conversation

@Lykhoyda
Copy link
Contributor

Pages:

  • Receive
  • Transaction history

@Lykhoyda Lykhoyda marked this pull request as ready for review January 20, 2025 13:48
@Lykhoyda Lykhoyda requested review from BeroBurny and ec2 January 20, 2025 13:48
Comment on lines +5 to +61
const data = [
{
recipient: 'Shielded Recipient',
amount: '+0.008',
status: 'Received',
date: 'Oct 31, 2023',
},
{
recipient: 'zs13h7mt2xyk5t2xy38...2xvxser2',
amount: '-0.001',
status: 'Sent',
date: 'Jun 12, 2024',
},
{
recipient: 'zs13h7mt2xyk5t2xy38...2xvxser2',
amount: '-0.001',
status: 'Sent',
date: 'Jun 12, 2024',
},
{
recipient: 'zs13h7mt2xyk5t2xy38...2xvxser2',
amount: '-0.001',
status: 'Sent',
date: 'Jun 12, 2024',
},
{
recipient: 'zs13h7mt2xyk5t2xy38...2xvxser2',
amount: '-0.001',
status: 'Sent',
date: 'Jun 12, 2024',
},

{
recipient: 'u1jjfvrz0jt2xy38...a77mt2xy383x',
amount: '+0.000',
status: 'Sent',
date: 'May 11, 2024',
},
{
recipient: 'Shielded recipient',
amount: '+0.001',
status: 'Sent',
date: 'Mar 14, 2024',
},
{
recipient: 'Shielded recipient',
amount: '-0.001',
status: 'Received',
date: 'Dec 23, 2023',
},
{
recipient: 'Shielded Recipient',
amount: '+0.008',
status: 'Received',
date: 'Oct 31, 2023',
},
];

Choose a reason for hiding this comment

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

Hardcoded history data?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The idea is to have a method to retrieve history from webzjs library. It's not implemented yet (even from zcash community perspective), so I keep it hardcoded for now

@Lykhoyda Lykhoyda merged commit 0535f55 into main Jan 22, 2025
5 checks passed
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.

3 participants