This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
trap 'rm -f -- "${TMPFILE}"' EXIT | |
TMPFILE=$(mktemp) || exit 1 | |
cat << EOF > ${TMPFILE} | |
pragma solidity ^0.8.0; | |
contract Hasher { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
# Experiment to see how using foundry for deploys would work | |
if [ "${BASH_VERSINFO:-0}" -lt 4 ]; then | |
echo "script requires bash version >= 4" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nodeID": "NodeID-[REDACTED]", | |
"networkID": 1, | |
"networkName": "mainnet", | |
"uptime": { | |
"rewardingStakePercentage": "99.4991", | |
"weightedAveragePercentage": "98.5386" | |
}, | |
"getNodeVersion": { | |
"version": "avalanche/1.9.7", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/multisig-labs/GoGoTools | |
❯ ggt node info | jq | |
{ | |
"nodeID": "NodeID-FfpWLRXCgiQjbrhk4qxKWHrpZGjeBngTA", | |
"networkID": 1337, | |
"networkName": "network-1337", | |
"uptime": { | |
"rewardingStakePercentage": "100.0000", | |
"weightedAveragePercentage": "100.0000" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module github.com/multisig-labs/go-headless | |
go 1.20 | |
require ( | |
github.com/chromedp/cdproto v0.0.0-20230914224007-a15a36ccbc2e | |
github.com/chromedp/chromedp v0.9.2 | |
) | |
require ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://api.starsarena.com/trade/users/trending \ | |
--silent \ | |
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36' \ | |
-H 'Authorization: Bearer <YOUR TOKEN HERE>' \ | |
| jq '[.users[]] | sort_by(.twitterFollowers) | .[] | {twitterHandle: .twitterHandle, twitterName: .twitterName, twitterFollowers: .twitterFollowers, price: ((.keyPrice|rtrimstr("000000000")|tonumber)/1000000000) }' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am 0xjohnnygault on github. | |
* I am johnnygault (https://keybase.io/johnnygault) on keybase. | |
* I have a public key ASDk9YIeIuJmrwYpLHn26zdp7oYmmJIozlpyjGY_U1TLVwo | |
To claim this, I am signing this object: |