Skip to content

Instantly share code, notes, and snippets.

View tynes's full-sized avatar
👽
take me to your leader

Mark Tyneway tynes

👽
take me to your leader
View GitHub Profile
@tynes
tynes / pub.pgp
Created February 22, 2025 18:19
PGP Key
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBGe6EWYBEAC0MxfC80sshLaqE6XDmExyTcKYPpFWypxDCXFCHqIBfTEhr/rl
EJdVPvi3GMHCdDzIxThoCiqN3gM3j9b1Cgv9tbGVVBxY/LUJ3/mchrQav/Xo9h+z
LkjvLohAazOzh86FJCS9TSJonkruKi/kPHnN81XO9uJkKgL6O49wV0vgS8DStp3U
gCxqx9B4zk2Ozq0EAsvTanF8wHyZ4UoxazZ7o2mdEZtmG9OIjVSiKCQL6unXTyqa
D7OtEJv0KL8vwj3jxXq0dSQxREzsHOkCYqcJkyJ3anjf45Nm8KBFc7uM3+LmhnnH
/PSRTyoSNzok8DiVDm3CZOKl9L/HzBVl7b8tRwXx8NNIVyYAMKcI9wnVlPgppviJ
R6nsb0kDmspMb9ufhMSt9iirNsae15HiCpOhm45FqWrPtXb9yl+KQd1DW7DZJ+Z0
gmkDB4ed5gWbXMrj6zcjh00guFQm3sWt1p9zwWmLSgFYlDtB1dmP7LSZfJXzjF+4
@tynes
tynes / privacy-pools-ceremony_attestation.log
Created February 19, 2025 23:57
Attestation for Privacy Pools Ceremony MPC Phase 2 Trusted Setup ceremony
Hey, I'm tynes-6626818 and I have contributed to the Privacy Pools Ceremony.
The following are my contribution signatures:
Circuit # 1 (withdraw)
Contributor # 17
Contribution Hash: fc75fbc7 ddae5a94 1ac89266 264271db
0863cb0a 013edd23 7b95e4a5 5bf7d5fd
0b528064 9a54b419 b710a290 50bc32de
cc9b00f0 ceeee754 b4445b77 94c8f6e7
@tynes
tynes / 7702-interop.sol
Created November 17, 2024 15:52
example 7702 smart contract wallet with op stack interop support
// SPDX-License-Identifier: MIT
pragma solidity 0.8.25;
/// @title L2ToL2CrossDomainMessenger
/// @notice Gives replay protection and domain binding to cross chain calls.
interface L2ToL2CrossDomainMessenger {
function crossDomainMessageSender() external view returns (address sender_);
function sendMessage(uint256 _chainid, address _target, bytes memory _data) external;
}
@tynes
tynes / geth.diff
Created September 3, 2024 03:56
gas burn precompile prototype
diff --git a/core/vm/contracts.go b/core/vm/contracts.go
index 6f894790f..2c533bfdd 100644
--- a/core/vm/contracts.go
+++ b/core/vm/contracts.go
@@ -36,6 +36,7 @@ import (
"github.com/ethereum/go-ethereum/crypto/kzg4844"
"github.com/ethereum/go-ethereum/crypto/secp256r1"
"github.com/ethereum/go-ethereum/params"
+ "github.com/holiman/uint256"
"golang.org/x/crypto/ripemd160"
@tynes
tynes / opti-geth-diff.sh
Created September 24, 2021 00:00
View the geth diff
#/bin/bash
# view a diff based on a branch that recreates the strucutre
# of actual geth
git clone [email protected]:ethereum-optimism/optimism.git
cd optimism
git checkout only-l2geth
@tynes
tynes / attack.js
Last active August 10, 2020 16:40
quick urkel tree test
const bcrypto = require('bcrypto');
const random = require('bcrypto/lib/random');
const BN = require('bcrypto/lib/bn.js');
const urkel = require('urkel/radix');
//const urkel = require('urkel/trie');
const {BLAKE2b} = bcrypto;
const {randomBytes} = random;
const {Tree, Proof} = urkel;
const dir = process.cwd();
@tynes
tynes / hsd-auction-scan.js
Created May 26, 2020 17:52
Scan the Handshake Blockchain for Outputs Related to an Auction
const {NodeClient} = require('hs-client');
const sha3 = require('bcrypto/lib/sha3');
const TX = require('hsd/lib/primitives/tx');
const client = new NodeClient({
host: '127.0.0.1',
port: 12037
});
(async () => {
@tynes
tynes / music-reveal.md
Created May 21, 2020 19:02
.music reveal tx
{
  "hash": "30f4c0b5832e8a86231f04d9be0820c6df0f6da3be7ba44b0d92a0469b0c30e8",
  "witnessHash": "5cb8a7eeecc50a159516827d3f006176568859402bacca21a0ed42fd53f647f0",
  "mtime": 1589852464,
  "version": 0,
  "inputs": [
    {
      "prevout": {
        "hash": "0090099cae23b7c7b877f7391782e8fe3ba0a94c61251ad9e192506ff719b20d",
@tynes
tynes / ens.json
Created May 13, 2020 20:36
ENS Name Claim and Register
{
"outputs": [
{
"outpoint": {
"hash": "87109e75e6b28cb2d4695fab9f2c091d894840b28aaa961528f64dc838b181c4",
"index": 1
},
"output": {
"value": 136503385487,
"address": "hs1q9rpvmy58x6alnry6u0fy6zfd9fsq3sstcev9g0",
@tynes
tynes / D3CD8BD764ACE995.txt
Created April 30, 2020 18:53
tynes pubkey
-----BEGIN PGP PUBLIC KEY BLOCK-----
mFIEXnlZUhMIKoZIzj0DAQcCAwQhuVLb3ZGRJ/EpcvO/02F1PNpcuT6tIw5BhHdt
xc97gENYp6XrhtemC51M6/igxITiSIhwRvUjuVenVo/fww6RtCVNYXJrIFR5bmV3
YXkgPG1hcmsudHluZXdheUBnbWFpbC5jb20+iIAEExMIABwFAl55WVICCwkCGwME
FQgJCgQWAgMBAheAAh4BABYJENPNi9dkrOmVCxpUUkVaT1ItR1BHrDoA/00pjZ58
d0DoAmQs8Qnytkwyiewk+l5gUwGGgL1PzXj1AP9VPARuoWOMMlxItVExaTmD0y6e
a1rc21ANUAoBa53T77hWBF55WVISCCqGSM49AwEHAgME+UsSeTWeDdE1MJjJwZKS
xGHLkzRp5gcL9i1qETII3mVAQwIx+vZ/vn2XsXGBgLSoGQLIEDix8wKPbc77G8MR
LQMBCAeIbQQYEwgACQUCXnlZUgIbDAAWCRDTzYvXZKzplQsaVFJFWk9SLUdQR+4Q