Skip to content

Instantly share code, notes, and snippets.

@prabal-banerjee
prabal-banerjee / avail-common.js
Last active January 18, 2023 13:13
A sample script to send data to Avail and prove data inclusion on Ethereum. enabled by the Nomad data attestation bridge.
import { ApiPromise, WsProvider } from '@polkadot/api'
import { rejects } from 'assert';
import { resolve } from 'path';
export async function createApi(url) {
const provider = new WsProvider(url)
// Create the API and wait until ready
return ApiPromise.create({
provider,
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore16
Contributor # 235
Hash: 42056a0e 5420a08e 6fff43b9 60fdc858
64223175 3275baa1 9e81ea12 79055273
a979073b 513a1099 217e8f1c 6d4f498e
0d9a31a6 56560332 06db701a b47d2d01