Skip to content

Instantly share code, notes, and snippets.

View 0xjjpa's full-sized avatar
🔒
Hiding encrypted secrets

Jose Aguinaga 0xjjpa

🔒
Hiding encrypted secrets
View GitHub Profile
@0xjjpa
0xjjpa / attestation.txt
Created September 6, 2021 19:49
Attestation
I contributed to the clr.fund Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: qvt32
Contributor # 808
Hash: undefined
Circuit: batchUst 32
Contributor # 735
Hash: bb9fc3f4 f88a6022 b36c0056 f649f3cb
8d532b96 9f579a7e ea31e68a 2e8d32c7
@0xjjpa
0xjjpa / key.sh
Last active March 11, 2024 06:28
Generate an Ethereum compatible private key one-liner using OpenSSL
openssl ecparam -name secp256k1 -genkey -noout \
| openssl ec -outform DER 2>/dev/null \
| tail -c +8 | head -c 32 \
| xxd -p -c 32
@0xjjpa
0xjjpa / key_generator.js
Last active April 26, 2024 23:25
One-liner for generating 32-bytes keys
((_=>_.reduce((a, v)=>`${v.toString(16).padStart(2,"0")}${a}`,""))((_=>crypto.getRandomValues(_))(new Uint8Array(32))))
@0xjjpa
0xjjpa / bootstrap-with-ip.sh
Created October 29, 2020 06:04
gcloud scripts to deploy virtual machines as containers
#!/bin/bash
# Requires gcloud
# Create generic VM with a given container and a static IP while creating a disk
INSTANCE_NAME=basodino-develop-bootstrap-hoprd-1-17-6-02
DISK_NAME=$INSTANCE_NAME
SERVER_TAGS=hopr-node,grpc-server,web-client,envoy-server
DOCKER_IMAGE=gcr.io/hoprassociation/hoprd:1.17.6
IP=
@0xjjpa
0xjjpa / 3box.verification.v2
Created July 10, 2020 10:09
3Box Profile Verification 2020
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreiap3fps55yswcof4b6sg6kbuszh3y47q7w7jvyxlfmog24td5m75m ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
@0xjjpa
0xjjpa / address.txt
Created May 30, 2019 21:53
Verifying personal main address
0x6442c72aBD1a9d14c303277a8C994Fae295b6BCB
@0xjjpa
0xjjpa / 3box.verification
Created April 27, 2019 14:24
3Box Profile Verification
3Box is a social profiles network for web3. This post links my 3Box profile to my Github account!
✅ did:muport:QmR8cw5e7B4YWeUiYVrJP8APLqedwWQKSJwD6BPJZKY9iF ✅
Create your profile today to start building social connection and trust online. https://3box.io/
@0xjjpa
0xjjpa / 3box.verification
Created March 7, 2019 21:53
3Box Profile Verification
3Box is a social profiles network for web3. This post links my 3Box profile to my Github account!
✅ did:muport:QmR8cw5e7B4YWeUiYVrJP8APLqedwWQKSJwD6BPJZKY9iF ✅
Create your profile today to start building social connection and trust online. https://3box.io/
@0xjjpa
0xjjpa / TTAU_Crowdsale.sol
Created July 4, 2018 19:45
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.24+commit.e67f0147.js&optimize=false&gist=
pragma solidity ^0.4.24;
import "github.com/OpenZeppelin/zeppelin-solidity/contracts/crowdsale/validation/CappedCrowdsale.sol";
import "github.com/OpenZeppelin/zeppelin-solidity/contracts/crowdsale/emission/MintedCrowdsale.sol";
import "github.com/OpenZeppelin/zeppelin-solidity/contracts/token/ERC20/MintableToken.sol";
/**
* @title SampleCrowdsaleToken
* @dev Very simple ERC20 Token that can be minted.
@0xjjpa
0xjjpa / blockstack.md
Created October 26, 2016 16:57
Blockstack.org Verififcation