Skip to content

Commit

Permalink
Merge pull request #214 from primitivefinance/ui/v0.2.0
Browse files Browse the repository at this point in the history
UI/v0.2.0
  • Loading branch information
0xJepsen authored Dec 12, 2023
2 parents e66ba35 + 4e6608d commit cc2a1a2
Show file tree
Hide file tree
Showing 102 changed files with 16,335 additions and 15,302 deletions.
1 change: 1 addition & 0 deletions .cursorignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.env
4 changes: 3 additions & 1 deletion .rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ use_field_init_shorthand = true

wrap_comments = true
normalize_comments = true
comment_width = 80
comment_width = 80

ignore = ["crates/bindings/*"]
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ plotters = "0.3.5"
# math
RustQuant = { version = "0.0.39", features = ["seedable"] }
statrs = "0.16.0"
reikna = "0.12.3"

# Storage
linked-hash-map = "0.5.6"
directories-next = "2.0.0"
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ Excalibur is a full-stack client for interacting with EVM blockchain application
- Excalibur implements its own simulation management framework and communicates with Arbiter via an arbiter client. When combined, Excalibur is capable of running parallelized agent based simulations for any integrated ABS module.
- Excalibur integrates various RPC client connections to enable live transaction execution in the application, including a "dev" client that runs Anvil instances.


## UI Components

Excalibur only has a few underlying primitives that can be chosen from to construct color and text.

![](./assets/excalibur_ui_components.png)

## Future

Excalibur's fully vertical application design makes it easy to plug in more components of the Ethereum stack. In the future, Excalibur will be able to easily connect to local RETH nodes.
Expand Down
Binary file added assets/excalibur_ui_components.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/logos/excalibur_logo_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/logos/excalibur_logo_archive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ struct Args {

#[clap(long, global = true)]
arbiter_core: bool,

#[clap(long, global = true)]
dev: bool,
}

/// Defines available subcommands for the `Arbiter` tool.
Expand All @@ -41,10 +44,7 @@ enum Commands {
config_path: String,
},
Analyze,
Ui {
#[clap(index = 1, default_value = "")]
app: String,
},
Ui,
}

fn main() -> Result<()> {
Expand Down Expand Up @@ -81,7 +81,7 @@ fn main() -> Result<()> {
match &args.command {
Some(Commands::Simulate { config_path }) => sim::run(config_path, args.verbose)?,
Some(Commands::Analyze) => todo!(),
Some(Commands::Ui { app: _ }) => app::run()?,
Some(Commands::Ui) => app::run(args.dev)?,
None => Args::command().print_long_help()?,
}
Ok(())
Expand Down
9 changes: 9 additions & 0 deletions crates/app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ edition = "2021"
abi = { path = "../abi" }
datatypes = { path = "../datatypes" }
clients = { path = "../clients" }
cfmm_math = { path = "../cfmm_math" }


# deps
Expand Down Expand Up @@ -43,6 +44,12 @@ revm-primitives = { version = "1.3.0" }
sim.workspace = true

# workspace deps
RustQuant.workspace = true
arbiter-bindings.workspace = true
bindings.workspace = true
async-trait.workspace = true
reikna.workspace = true
statrs.workspace = true
alloy-primitives.workspace = true
arbiter-core.workspace = true
anyhow.workspace = true
Expand All @@ -53,6 +60,8 @@ plotters.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
tokio.workspace = true
tokio-util.workspace = true
serde.workspace = true
serde_json.workspace = true
uuid.workspace = true
alloy-sol-types = "0.5.2"
Loading

0 comments on commit cc2a1a2

Please sign in to comment.