Added Send 0.01xdai with PKP

This commit is contained in:
Samuel Andert
2023-07-20 12:50:54 +02:00
parent ff2d6489d1
commit 702c33a373
12 changed files with 473 additions and 167 deletions

View File

@ -20,6 +20,7 @@ export default function Home() {
setAuthSig(null);
setError(null);
try {
console.log("LOG " + (useSigner.data))
const newAuthSig = await ethConnect.signAndSaveAuthMessage({
web3: signer.provider,
account: address.toLowerCase(),
@ -144,7 +145,6 @@ export default function Home() {
<button style={{marginTop: "2rem", padding: "1rem"}} onClick={() => sendTXethereum()}>
send 0.001 eth
</button>
</main>
)
}