Add per-account transaction filtering and QR codes for Monero

This commit is contained in:
2026-05-24 19:58:52 +08:00
parent 932501c32c
commit b1d14e1d8b
6 changed files with 101 additions and 62 deletions
+21
View File
@@ -0,0 +1,21 @@
<script lang="ts">
import { electrobun } from '$lib/electrobun.js'
let { text, size = 128 }: { text: string; size?: number } = $props()
let svgContent = $state('')
$effect(() => {
if (!text || !electrobun.rpc) return
svgContent = ''
electrobun.rpc.request
.generateQrCode({ text, size })
.then((svg) => {
svgContent = svg
})
})
</script>
{#if svgContent}
{@html svgContent}
{/if}