https://github.com/bnb-chain/bsc-mev-sentry

https://github.com/bnb-chain/bsc-mev-sentry

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.1%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: bnb-chain
  • Language: Go
  • Default Branch: main
  • Size: 940 KB
Statistics
  • Stars: 7
  • Watchers: 7
  • Forks: 9
  • Open Issues: 0
  • Releases: 0
Created over 2 years ago · Last pushed 10 months ago
Metadata Files
Readme

README.md

BSC-MEV-Sentry

BSC-MEV-Sentry serves as the proxy service for BSC MEV architecture, It has the following features:

  1. Forward RPC requests: mevsendBid, mevparams, mevrunning, mevbestBidGasFee to validators.
  2. Forward RPC request: mev_reportIssue to builders.
  3. Pay builders on behalf of validators for their bids.
  4. Monitor validators' status and health.

See also: https://github.com/bnb-chain/BEPs/pull/322

For the details of mev_params, here are some notices:

  1. The builder can call mev_params to obtain the delayLeftOver and bidSimulationLeftOver time settings, and then call the BidBetterBefore to calculate the deadline for sending the bid.
  2. The builder can call mev_params to obtain the gasCeil of the validator, to generate a valid header in the block building settlement.
  3. The builder can call mev_params to obtain the builderFeeCeil of the validator, to help to decide the builder fee.

Usage

  1. make build
  2. .build/sentry -config ./configs/config.toml

❗❗❗This is an important security notice: Please do not configure any validator's private key here. Please create entirely new accounts as pay bid accounts.

config-example.toml: ``` [Service] HTTPListenAddr = "localhost:8555" # The address to listen on for HTTP requests. RPCConcurrency = 100 # The maximum number of concurrent requests. RPCTimeout = "10s" # The timeout for RPC requests.

[[Validators]] # A list of validators to forward requests to. PrivateURL = "https://bsc-fuji" # The private rpc url of the validator, it can only been accessed in the local network. PublicHostName = "bsc-fuji" # The domain name of the validator, if a request's HOST info is same with this, it will be forwarded to the validator. PayAccountMode = "privateKey" # The unlock mode of the pay bid account. PrivateKey = "59ba8068eb256d520...2bd306e1bd603fdb8c8da10e8" # The private key of the pay bid account.

[[Validators]] PrivateURL = "https://bsc-mathwallet" PublicHostName = "bsc-mathwallet" PayAccountMode = "keystore" KeystorePath = "./keystore" # The keystore file path of the pay bid account. PasswordFilePath = "./password.txt" # The path of the pay bid account's password file. PayAccountAddress = "0x12c86Bf9...845B98F23" # The address of the pay bid account.

[[Validators]] PrivateURL = "https://bsc-trustwallet" PublicHostName = "bsc-trustwallet" PayAccountMode = "privateKey" # The unlock mode of the pay account. PrivateKey = "59ba8068eb...d306e1bd603fdb8c8da10e8" # The private key of the pay account.

[[Builders]] Address = "0x45EbEBe8...664D59c12" # The address of the builder. URL = "http://bsc-builder-1" # The public URL of the builder.

[[Builders]] Address = "0x980A75eC...fc9b863D5" URL = "http://bsc-builder-2"

```

Owner

  • Name: bnb-chain
  • Login: bnb-chain
  • Kind: organization

For BNB Chain: BNB Smart Chain, BNB Beacon Chain

GitHub Events

Total
  • Release event: 3
  • Watch event: 1
  • Issue comment event: 2
  • Member event: 5
  • Push event: 8
  • Pull request review event: 7
  • Pull request event: 13
  • Fork event: 3
  • Create event: 6
Last Year
  • Release event: 3
  • Watch event: 1
  • Issue comment event: 2
  • Member event: 5
  • Push event: 8
  • Pull request review event: 7
  • Pull request event: 13
  • Fork event: 3
  • Create event: 6

Committers

Last synced: 12 months ago

All Time
  • Total Commits: 21
  • Total Committers: 6
  • Avg Commits per committer: 3.5
  • Development Distribution Score (DDS): 0.571
Past Year
  • Commits: 12
  • Committers: 3
  • Avg Commits per committer: 4.0
  • Development Distribution Score (DDS): 0.417
Top Committers
Name Email Commits
irrun i****t@g****m 9
buddho g****r@g****m 7
Raina r****n@q****m 2
zzzckck 1****k 1
Roshan 4****7 1
Mars z****i@p****e 1
Committer Domains (Top 20 + Academic)
pm.me: 1 qq.com: 1

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 1
  • Total pull requests: 21
  • Average time to close issues: 24 days
  • Average time to close pull requests: 6 days
  • Total issue authors: 1
  • Total pull request authors: 6
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.1
  • Merged pull requests: 19
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 4
  • Average time to close issues: N/A
  • Average time to close pull requests: 12 days
  • Issue authors: 0
  • Pull request authors: 3
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Alanvalenci (1)
Pull Request Authors
  • irrun (25)
  • allformless (2)
  • Jolly23 (2)
  • zjubfd (1)
  • pythonberg1997 (1)
  • unclezoro (1)
  • buddh0 (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 14
proxy.golang.org: github.com/bnb-chain/bsc-mev-sentry
  • Versions: 14
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 8.2%
Average: 8.8%
Dependent repos count: 9.3%
Last synced: 10 months ago