Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ascartabelli committed Sep 9, 2024
1 parent ec209bd commit c7f75f9
Show file tree
Hide file tree
Showing 10 changed files with 1,833 additions and 10 deletions.
38 changes: 28 additions & 10 deletions web-wallet/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions web-wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"@web3modal/wagmi": "5.1.0",
"bip39": "3.1.0",
"css-doodle": "0.39.2",
"dexie": "4.0.8",
"lamb": "0.61.1",
"qr-scanner": "1.4.2",
"qrcode": "1.5.3",
Expand All @@ -66,6 +67,7 @@
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-custom-alias": "1.3.2",
"eslint-plugin-svelte": "2.41.0",
"fake-indexeddb": "6.0.0",
"jsdom": "24.1.0",
"jsdom-worker": "0.3.0",
"lamb-types": "0.61.7",
Expand Down
73 changes: 73 additions & 0 deletions web-wallet/src/lib/mock-data/cache-history.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
/* eslint-disable camelcase */

/** @type {WalletCacheHistoryEntry[]} */
export default [
{
history: [
{
amount: 400,
block_height: 201605,
direction: "In",
fee: 0.000290986,
id: "678e9430fd8ca2e8b6161dd6ea30e4b923505a446dac77bdbe911ef3f50e450d",
tx_type: "TRANSFER",
},
{
amount: 5000,
block_height: 201643,
direction: "In",
fee: 0.00030326,
id: "eeeca070ed7650fc2692be43ba36f5d74c0168eca92680debe0de172f64a130b",
tx_type: "TRANSFER",
},
{
amount: -15.00030345,
block_height: 3504088,
direction: "Out",
fee: 0.00030345,
id: "e3d9b492474d76da6edc415dd04d47d3fc40ecb0b49ee8e1dd087eb3dab0100a",
tx_type: "TRANSFER",
},
{
amount: -8.000291559,
block_height: 3504122,
direction: "Out",
fee: 0.000291559,
id: "8e435db8584eac07e3a7f69afbdf2d00b8176271695ea1e1b4da79922f3c050c",
tx_type: "TRANSFER",
},
],
lastBlockHeight: 3504122,
psk: "43UC3K4oy7wNBDQR4AUdkwrT1iB9ucU65GvJ8kkqB6BGwz9fwPEqzwqsJD2Rgc1UYegxXSsJmrqN2zEm2ycHitWG",
},
{
history: [
{
amount: 10,
block_height: 3101148,
direction: "In",
fee: 0.00029775,
id: "5847cc9b96407fdc9ff973c3095f0d34958a47ba7272053f43038ba8e6afaf02",
tx_type: "TRANSFER",
},
{
amount: -5.000284098,
block_height: 3101191,
direction: "Out",
fee: 0.000284098,
id: "84d0c5727b93c47e9827524a77ea1c7492cc775faf117d26a53df6a97b791309",
tx_type: "TRANSFER",
},
{
amount: 1,
block_height: 3101764,
direction: "In",
fee: 0.000296467,
id: "4d9bb16589f6b723408305744eada6c05aaa4b27296ec440055c487694ce0a05",
tx_type: "TRANSFER",
},
],
lastBlockHeight: 3101764,
psk: "4Vd2cY4XAuqpcpiVFVCtveuZq7o9PV1WhmqqdNNAsZwWEojKwctU3ud7PqciKCpUnJWjZPspudQwbNwYT6Fq8Bzo",
},
];
Loading

0 comments on commit c7f75f9

Please sign in to comment.