Skip to content

Commit e03d1f6

Browse files
committed
Intro
1 parent 1e67146 commit e03d1f6

3 files changed

Lines changed: 33 additions & 0 deletions

File tree

src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use log::{Level, error, warn};
44
use std::env::var;
55
use std::process::exit;
66

7+
use deterministic_deployer_evm::utils::print_intro::print_intro_log;
78
use deterministic_deployer_evm::client::wallet_client::create_deployers;
89
use deterministic_deployer_evm::data::contracts::create_contract_spec_from_args;
910
use deterministic_deployer_evm::helpers::contract_searcher::resolve_contract;
@@ -51,6 +52,7 @@ fn init_logger() {
5152

5253
#[tokio::main]
5354
async fn main() {
55+
print_intro_log();
5456
init_logger();
5557
dotenv::dotenv().ok();
5658

src/utils/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ pub mod init_explorers;
66
pub mod init_rpc;
77
pub mod read_buf;
88
pub mod verifier;
9+
pub mod print_intro;

src/utils/print_intro.rs

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
const INTRO: &'static str = r#"
2+
___________________
3+
/ Deploy \ █████ █████ ███ ███ █████ ███
4+
___________ / Contract in one \ ░░███ ░░███ ░░░ ░░░ ░░███ ░░░
5+
(_( ___ ___ ) \ shot Cross-chain! / ███████ ██████ ███████ ██████ ████████ █████████████ ████ ████████ ████ █████ ███████ ████ ██████
6+
/_/-( c) (c )< \ \ ________________/ ███░░███ ███░░███░░░███░ ███░░███░░███░░███░░███░░███░░███ ░░███ ░░███░░███ ░░███ ███░░ ░░░███░ ░░███ ███░░███
7+
| | <_ | | / ░███ ░███ ░███████ ░███ ░███████ ░███ ░░░ ░███ ░███ ░███ ░███ ░███ ░███ ░███ ░░█████ ░███ ░███ ░███ ░░░
8+
|_| ` () ' | ___/ ░███ ░███ ░███░░░ ░███ ███░███░░░ ░███ ░███ ░███ ░███ ░███ ░███ ░███ ░███ ░░░░███ ░███ ███ ░███ ░███ ███
9+
__\_ ( __ ) _/__ ░░████████░░██████ ░░█████ ░░██████ █████ █████░███ █████ █████ ████ █████ █████ ██████ ░░█████ █████░░██████
10+
/ /| \ / |\ \ ░░░░░░░░ ░░░░░░ ░░░░░ ░░░░░░ ░░░░░ ░░░░░ ░░░ ░░░░░ ░░░░░ ░░░░ ░░░░░ ░░░░░ ░░░░░░ ░░░░░ ░░░░░ ░░░░░░
11+
( ) ~ ~ ( )
12+
( |\ ( . . ) /| ) █████ ████
13+
( ) \ -- -- / ( ) ░░███ ░░███
14+
| ,| | ___ | ,| | ███████ ██████ ████████ ░███ ██████ █████ ████ ██████ ████████ ░███████ ░██ ░██ ░█████████████
15+
\__/ \| / - | - \ |/ \__/ ███░░███ ███░░███░░███░░███ ░███ ███░░███░░███ ░███ ███░░███░░███░░███ ░██ ░██ ░██ ░██ ░██ ░██ ░██
16+
\oooO\_____________/Oooo/ ░███ ░███ ░███████ ░███ ░███ ░███ ░███ ░███ ░███ ░███ ░███████ ░███ ░░░ ░█████████ ░██ ░██ ░██ ░██ ░██
17+
\ _____ / ░███ ░███ ░███░░░ ░███ ░███ ░███ ░███ ░███ ░███ ░███ ░███░░░ ░███ ░██ ░██░██ ░██ ░██ ░██
18+
\. D | D ./ ░░████████░░██████ ░███████ █████░░██████ ░░███████ ░░██████ █████ ░███████ ░███ ░██ ░██ ░██
19+
| \_____/ | ░░░░░░░░ ░░░░░░ ░███░░░ ░░░░░ ░░░░░░ ░░░░░███ ░░░░░░ ░░░░░
20+
/ / \ \ ░███ ███ ░███
21+
(____) (____) █████ ░░██████
22+
/_____| |_____\ ░░░░░ ░░░░░░
23+
___| | | |___
24+
(_______| |_______)
25+
"#;
26+
27+
28+
pub fn print_intro_log() {
29+
println!("\x1b[32m{INTRO}\x1b[0m");
30+
}

0 commit comments

Comments
 (0)