Skip to content

Instantly share code, notes, and snippets.

View podefr's full-sized avatar

POde - Olivier Scherrer podefr

View GitHub Profile
@podefr
podefr / sign.mjs
Created March 6, 2024 15:10
Verify Message signed by Account Abstraction / Smart Account [DFNS + ALCHEMY]
import "dotenv/config";
import { DfnsWallet } from "@dfns/lib-viem";
import { DfnsApiClient } from "@dfns/sdk";
import { AsymmetricKeySigner } from "@dfns/sdk-keysigner";
import { LocalAccountSigner, polygonMumbai } from "@alchemy/aa-core";
import { createModularAccountAlchemyClient } from "@alchemy/aa-alchemy";
import { generatePrivateKey } from "viem/accounts" ;
import { createPublicClient, http } from "viem";
@podefr
podefr / gist:3928740
Created October 21, 2012 22:24
issue #8 Olives
<!DOCTYPE html>
<html>
<head>
<title>Olives experiments</title>
</head>
<body>
<div class="doStuffHere">
<p data-model="bind: show, stuff"></p>
</div>
@podefr
podefr / LICENSE.txt
Created October 25, 2011 12:54 — forked from 140bytes/LICENSE.txt
Finite State Machine
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Olivier Scherrer
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE