Skip to content

Instantly share code, notes, and snippets.

@jrwashburn
jrwashburn / mina-signer-test.ts
Last active March 25, 2024 16:11
Validate mina signer fee as string vs. number
import Client from 'mina-signer';
const minaClient = new Client({ network: 'mainnet' });
function demoIssue() {
const senderKeyPair = minaClient.genKeys();
const destinationKeyPair = minaClient.genKeys();
const amount = 5 * 1000000000;
let nonce = 0
const fee = 1000000
@jrwashburn
jrwashburn / mip1.py
Last active May 17, 2023 02:29 — forked from garethtdavies/mip1.py
An analysis of MIP1 results
#cloned from https://gist.github.com/garethtdavies/47be69b6ef8fd4f8052ffaf968925fe1
#changed to implement override method of voting and recount
#prints votes for test verification / instead of summary
# This script replicates the Granola dashboard
from gql import gql, Client
from gql.transport.aiohttp import AIOHTTPTransport
# Select your transport with a defined url endpoint
transport = AIOHTTPTransport(url="https://graphql.minaexplorer.com")

Keybase proof

I hereby claim:

  • I am jrwashburn on github.
  • I am jrwashburn (https://keybase.io/jrwashburn) on keybase.
  • I have a public key ASD0rkaYolgz34MHeEmTWK0Gc5JZ9AZkUBCor1rsnFqejgo

To claim this, I am signing this object:

Verifying my Blockstack ID is secured with the address 13poh3MoWSi6Lu1Sgx2gzh6jVy5XnQ49aA https://explorer.blockstack.org/address/13poh3MoWSi6Lu1Sgx2gzh6jVy5XnQ49aA