Skip to content

Instantly share code, notes, and snippets.

@jeluard
jeluard / semaphore-v4-ceremony_attestation.log
Created June 13, 2024 10:41
Attestation for Semaphore V4 Ceremony MPC Phase 2 Trusted Setup ceremony
Hey, I'm jeluard-359723 and I have contributed to the Semaphore V4 Ceremony.
The following are my contribution signatures:
Circuit # 1 (semaphorev4-1)
Contributor # 12
Contribution Hash:
2dc8ffea 22363695 d7bc0fc5 ca6d0cfc
0e95898f b4994611 01f9fdc5 cdc6238a
79aba3f5 38965b5e 3081a6ce b9c83396
df866b9a 43cedd6a 5413134c fb41c0f8
@jeluard
jeluard / anon-aadhaar-v2-trusted-setup-ceremony_attestation.log
Created June 11, 2024 14:13
Attestation for Anon Aadhaar V2 Trusted Setup Ceremony MPC Phase 2 Trusted Setup ceremony
Hey, I'm jeluard-359723 and I have contributed to the Anon Aadhaar V2 Trusted Setup Ceremony.
The following are my contribution signatures:
Circuit # 1 (aadhaarverifier)
Contributor # 44
Contribution Hash: bfba78b9 829f7017 7939ed26 91f3e623
930eccb7 79977a1d f94cb201 b7d2721d
14b6ea4b b60f2ecc fb806cc9 f44fe098
31794b78 0e45bc8e 924c5682 fc4ea3e6
@jeluard
jeluard / README.md
Created February 13, 2024 16:42
Towards better alternate runtime environment support

Towards better alternate runtime environment support (e.g. browser, Bun, React Native, ...)

Focus first on light-client / prover and their dependencies.

NodeJS dependencies

A number of node modules are used in both modules or their dependencies. This forces non node consumers to shim/polyfill those methods, which is not ideal. Some of the dependencies ship with polyfill, adding to the confusion. Unless specified, it should be assumed that lodestar libs do not depend on env specific modules.

@jeluard
jeluard / README.md
Last active January 23, 2024 10:53
Beacon-APIs Test Cases

Introduce a method to embed Test Cases in the specification

It is desirable to have a way to define valid Test Cases in the specification.

This would allow to:

  • fully clarify the specification and detail expected outcome
  • improve implementations compatibility
  • allow for automated tests of implementations
@jeluard
jeluard / index.html
Last active March 1, 2024 10:46
[object Object]
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title></title>
<script type="module">
import Web3 from "https://esm.sh/web3@4.4.0";
import {createVerifiedExecutionProvider, LCTransport} from "https://esm.sh/@lodestar/prover@1.14.0";
const {provider, proofProvider} = createVerifiedExecutionProvider(
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title></title>
<script type="module">
import {ApiError, getClient} from "https://esm.sh/@lodestar/api@1.14.0";
import {createChainForkConfig} from "https://esm.sh/@lodestar/config@1.14.0";
import {networksChainConfig} from "https://esm.sh/@lodestar/config@1.14.0/networks";
import {
@jeluard
jeluard / parcel.log
Created December 1, 2022 08:53
Parcel tree-shaking
yarn run v1.22.19
$ rm -rf .parcel-cache dist node_modules yarn.lock
✨ Done in 2.52s.
yarn install v1.22.19
info No lockfile found.
[1/4] 🔍 Resolving packages...
warning parcel > @parcel/config-default > @parcel/optimizer-htmlnano > svgo > stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning " > react-iconly@2.2.5" has incorrect peer dependency "react@^16.8.6 || ^17".
@jeluard
jeluard / index.html
Last active November 11, 2022 20:24
<!DOCTYPE html>
<title>Estaminet</title>
<script type="module" src="https://esm.sh/estaminet?bundle"></script>
<es-uniques-item-media provider="statemine" collection="11" item="1"></es-uniques-item-media>
@jeluard
jeluard / playground.marlowe
Created December 1, 2020 11:29
Test Marlowe
When [
(Case
(Deposit
(Role "alice")
(Role "alice")
(Token "" "")
(Constant 450))
(When [
(Case
(Choice

In general very few concepts are clearly modeled in the codebase. UI and logic blocks are mostly intertweened and the seperation is not clear.

Logic

Wallet

Collectibles Request Send