- https://github.com/flashbots/mev-boost-relay (extensive documentation in the README)
- https://flashbots.notion.site/Running-mev-boost-relay-at-scale-draft-4040ccd5186c425d9a860cbb29bbfe09
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
$ type jf | |
jf is a function | |
jf () | |
{ | |
journalctl -f -u $1 -o cat | ccze -A | |
} |
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
# Script to print mev-boost bids with increasing value over time per slot, over a range of slots | |
# | |
# - Output format: slot \t ms_sice_first_bid \t value | |
# - Example output: | |
# | |
# 5796970 0 5449783315635486 | |
# 5796970 382 5846633010618753 | |
# 5796970 383 10851145321068865 | |
# 5796970 905 11416821942543104 | |
# |
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
""" | |
Quick and dirty script to download the delivered payloads from relay data API and write into CSV file. | |
Relays: | |
https://boost-relay.flashbots.net | |
https://bloxroute.max-profit.blxrbdn.com | |
https://bloxroute.ethical.blxrbdn.com | |
https://bloxroute.regulated.blxrbdn.com | |
https://builder-relay-mainnet.blocknative.com |
List of mev-boost builder payout addresses.
Who | Address | ENS |
---|---|---|
Flashbots | 0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5 | flashbots-builder.eth |
bloXroute (max-profit) | 0xf2f5c73fa04406b1995e397b55c24ab1f3ea726c | bloxroute-maxprofit.eth |
bloXroute (non-sandwich) | 0xf573d99385c05c23b24ed33de616ad16a43a0919 | bloxroute-ethical.eth |
bloXroute (regulated) | 0x199d5ed7f45f4ee35960cf22eade2076e95b253f | [bloxroute-regulated.eth](https://etherscan.io/enslo |
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
/* | |
Example for using CloudWatch in Golang. | |
- https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html | |
- https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/working_with_metrics.html | |
Install dependencies: | |
go get github.com/aws/aws-sdk-go github.com/google/uuid github.com/zhexuany/wordGenerator |
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
function update_in_place(old_root, new_root) { | |
function are_compatible(lhs, rhs) { | |
return lhs.nodeType === rhs.nodeType && lhs.tagName === rhs.tagName && lhs.id === rhs.id | |
} | |
if (old_root.nodeType === 3 && new_root.nodeType === 3) { | |
old_root.textContent = new_root.textContent; | |
return old_root | |
} | |
if (!are_compatible(old_root, new_root) || old_root.nodeType !== 1) { | |
old_root.parentElement.replaceChild(new_root, old_root); |
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
# http://editorconfig.org | |
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
indent_size = 2 | |
indent_style = space | |
insert_final_newline = true | |
trim_trailing_whitespace = true |
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
--- | |
- hosts: all | |
gather_facts: false | |
become: yes | |
tasks: | |
- name: Pull sources from the repository | |
become_user: node | |
shell: git pull | |
args: |
Context: https://www.youtube.com/watch?v=4M1jWsD0KJQ
Docker commands
docker rm $( docker ps -qa ) -f
docker run --rm -d --name neo-privatenet -p 20333-20336:20333-20336/tcp -p 30333-30336:30333-30336/tcp cityofzion/neo-privatenet
docker exec -it neo-privatenet /bin/bash
Inside the container
NewerOlder