Skip to content

Commit

Permalink
feat(bin): Introduce Kona ExEx Binary (#1)
Browse files Browse the repository at this point in the history
**Description**

Introduces a stub entrypoint for the kona execution extension.
  • Loading branch information
refcell authored Aug 22, 2024
1 parent f19a8df commit e4861a6
Show file tree
Hide file tree
Showing 4 changed files with 247 additions and 2 deletions.
221 changes: 221 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ keywords = ["ethereum", "crypto"]
categories = ["cryptography", "cryptography::cryptocurrencies"]

[workspace]
members = []
default-members = []
members = ["bin/kona-exex"]
default-members = ["bin/kona-exex"]

# Explicitly set the resolver to version 2, which is the default for packages with edition >= 2021
# https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html
Expand Down Expand Up @@ -142,3 +142,4 @@ reth-tracing = { git = "https://github.com/paradigmxyz/reth", version = "1.0.5"

# misc
tracing = "0.1.0"
eyre = "0.6.12"
16 changes: 16 additions & 0 deletions bin/kona-exex/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[package]
name = "kona-exex"
version = "0.1.0"
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true
categories.workspace = true

[dependencies]
# Workspace
eyre.workspace = true
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
tracing.workspace = true
7 changes: 7 additions & 0 deletions bin/kona-exex/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
use eyre::Result;

#[tokio::main]
async fn main() -> Result<()> {
println!("Hello, kona!");
Ok(())
}

0 comments on commit e4861a6

Please sign in to comment.