Skip to content

Instantly share code, notes, and snippets.

View LanfordCai's full-sized avatar
:octocat:
Focusing

lanford33 LanfordCai

:octocat:
Focusing
View GitHub Profile
@LanfordCai
LanfordCai / svg_generator.js
Last active March 27, 2022 11:55
SVG Animation Demo
var fs = require('fs');
let frame1 = [
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1],
@LanfordCai
LanfordCai / solsender.js
Last active April 9, 2024 16:52
Solana Batch Transfer
'use strict'
const web3 = require('@solana/web3.js')
const splToken = require('@solana/spl-token')
const bs = require('bs58')
const connection = new web3.Connection(
web3.clusterApiUrl('devnet'),
'confirmed',
)
@LanfordCai
LanfordCai / attestation.txt
Created September 6, 2021 09:22
Attestation
I contributed to the clr.fund Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: qvt32
Contributor # 753
Hash: 36ca9e03 5837c80c d183ec20 56d9b31e
ccd50503 7862b0ca 03da3d28 977aad9b
4879be71 664df03f 2ec306c3 dc01c236
1a584087 a4483170 89b01824 da602339
{"sig":"bfc33913bbc45d0e927bfa4b615fbc81419fed85f01600f2f138aa3cb7a0c61d62d11e4678cd2ab5168e85987bcf50a6f1aca76b4f0129046520e34c09e494431","msghash":"6968c285f189971e8761ca6cc7ab4a1ae728455940a74f8c5087f303ae9d46db"}