tiding up a bit
This commit is contained in:
parent
613053c062
commit
0200c31ded
@ -2,6 +2,7 @@
|
|||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
import { checkAndSignAuthMessage } from '@lit-protocol/lit-node-client';
|
import { checkAndSignAuthMessage } from '@lit-protocol/lit-node-client';
|
||||||
import { LOCAL_STORAGE_KEYS } from '@lit-protocol/constants';
|
import { LOCAL_STORAGE_KEYS } from '@lit-protocol/constants';
|
||||||
|
import Send from '$lib/Send.svelte';
|
||||||
|
|
||||||
let authSig = null;
|
let authSig = null;
|
||||||
let error = null;
|
let error = null;
|
||||||
|
21
src/lib/components/Wallet.svelte
Normal file
21
src/lib/components/Wallet.svelte
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<script>
|
||||||
|
import AuthSig from '$lib/components/AuthSig.svelte';
|
||||||
|
import Wallet from '$lib/Wallet.svelte';
|
||||||
|
import Send from '$lib/Send.svelte';
|
||||||
|
import WalletConnect from '$lib/WalletConnect.svelte';
|
||||||
|
import Balance from '$lib/components/Balance.svelte';
|
||||||
|
|
||||||
|
let pkpWallet;
|
||||||
|
let authSig;
|
||||||
|
let pkpPubKey =
|
||||||
|
'046da3ba67065fd1e2726242ca01cd4601524893f4aa4b0042578fa6cbec28fa8c9a28eb9f7893932fc09717edc9e1db57e157a21eed346247c1db5a722a01f571';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<AuthSig />
|
||||||
|
<div class="flex flex-col items-center justify-center p-4 bg-gray-200">
|
||||||
|
<Wallet bind:pkpWallet bind:authSig />
|
||||||
|
<Send bind:pkpWallet />
|
||||||
|
<Balance />
|
||||||
|
|
||||||
|
<WalletConnect bind:pkpWallet bind:authSig bind:pkpPubKey />
|
||||||
|
</div>
|
@ -1,14 +1,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import Wallet from '$lib/Wallet.svelte';
|
|
||||||
import Send from '$lib/Send.svelte';
|
|
||||||
import WalletConnect from '$lib/WalletConnect.svelte';
|
|
||||||
import GoogleAuth from '$lib/components/GoogleAuth.svelte';
|
import GoogleAuth from '$lib/components/GoogleAuth.svelte';
|
||||||
import Composite from '$lib/components/Composite.svelte';
|
import Composite from '$lib/components/Composite.svelte';
|
||||||
|
|
||||||
let pkpWallet;
|
|
||||||
let authSig;
|
|
||||||
let pkpPubKey =
|
|
||||||
'046da3ba67065fd1e2726242ca01cd4601524893f4aa4b0042578fa6cbec28fa8c9a28eb9f7893932fc09717edc9e1db57e157a21eed346247c1db5a722a01f571';
|
|
||||||
let componentsData = {
|
let componentsData = {
|
||||||
layout: `
|
layout: `
|
||||||
grid-template-areas:
|
grid-template-areas:
|
||||||
@ -35,17 +28,6 @@
|
|||||||
|
|
||||||
<Composite {componentsData} />
|
<Composite {componentsData} />
|
||||||
|
|
||||||
<!-- <LitStatus />
|
|
||||||
<AuthSign /> -->
|
|
||||||
|
|
||||||
<!-- <div class="flex flex-col items-center justify-center p-4 bg-gray-200">
|
|
||||||
<Wallet bind:pkpWallet bind:authSig />
|
|
||||||
<Send bind:pkpWallet />
|
|
||||||
<Balance />
|
|
||||||
|
|
||||||
<WalletConnect bind:pkpWallet bind:authSig bind:pkpPubKey />
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<!-- <div class="fixed top-0 left-0 w-full h-full overflow-hidden">
|
<!-- <div class="fixed top-0 left-0 w-full h-full overflow-hidden">
|
||||||
<main class="grid grid-rows-[auto,1fr,auto] min-h-screen">
|
<main class="grid grid-rows-[auto,1fr,auto] min-h-screen">
|
||||||
<header class="p-4 text-black bg-gray-100">
|
<header class="p-4 text-black bg-gray-100">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user