From 02c721937280fc935b5e2f57206ee4c7877b9861 Mon Sep 17 00:00:00 2001 From: Vid Kersic Date: Sat, 22 Oct 2022 12:35:04 +0200 Subject: [PATCH] project setup --- .cargo/config.toml | 2 ++ .gitignore | 1 + Cargo.lock | 16 ++++++++++++++++ Cargo.toml | 14 ++++++++++++++ README.md | 7 +++++++ bin/bundler.rs | 6 ++++++ rust-toolchain | 1 + src/lib.rs | 0 8 files changed, 47 insertions(+) create mode 100644 .cargo/config.toml create mode 100644 .gitignore create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 README.md create mode 100644 bin/bundler.rs create mode 100644 rust-toolchain create mode 100644 src/lib.rs diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 00000000..7520df80 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[env] +RUSTC_BOOTSTRAP = "1" diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..ea8c4bf7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 00000000..bb79e23c --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,16 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "aa-bundler" +version = "0.1.0" +dependencies = [ + "anyhow", +] + +[[package]] +name = "anyhow" +version = "1.0.66" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "216261ddc8289130e551ddcd5ce8a064710c0d064a4d2895c67151c92b5443f6" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 00000000..eb8050bb --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,14 @@ +[package] +name = "aa-bundler" +version = "0.1.0" +authors = ["Vid Kersic "] +edition = "2021" +description = "AA - Bundler implementation" +default-run = "bundler" + +[dependencies] +anyhow = "1" + +[[bin]] +path = "bin/bundler.rs" +name = "bundler" diff --git a/README.md b/README.md new file mode 100644 index 00000000..b3b931c5 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +#

AA - Bundler

+ +Rust implementation for Bundler - Account Abstraction. + +## Running + +`cargo run` \ No newline at end of file diff --git a/bin/bundler.rs b/bin/bundler.rs new file mode 100644 index 00000000..0201bd24 --- /dev/null +++ b/bin/bundler.rs @@ -0,0 +1,6 @@ +use anyhow::Result; + +fn main() -> Result<()> { + println!("Hello world!"); + Ok(()) +} diff --git a/rust-toolchain b/rust-toolchain new file mode 100644 index 00000000..2bf5ad04 --- /dev/null +++ b/rust-toolchain @@ -0,0 +1 @@ +stable diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 00000000..e69de29b