File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[package ]
22name = " renegade-sdk"
3- version = " 0.1.13 "
3+ version = " 0.1.14 "
44edition = " 2021"
55description = " A Rust SDK for the Renegade protocol"
66homepage = " https://renegade.fi/"
@@ -86,8 +86,8 @@ serde = { version = "^1.0.197" }
8686serde_json = " 1.0.64"
8787
8888# === Ethereum === #
89- alloy = { version = " 1.0.1 " , features = [" essentials" ] }
90- alloy-rpc-types-eth = " 1.0.1 "
89+ alloy = { version = " >=0.12, <2.0 " , features = [" essentials" ] }
90+ alloy-rpc-types-eth = { version = " >=0.12, <2.0 " }
9191
9292# === Misc === #
9393base64 = " 0.22"
Original file line number Diff line number Diff line change 11//! Example of getting the order book depth for a token
2- use renegade_sdk:: { example_utils:: build_renegade_client, ExternalMatchClient } ;
2+ use renegade_sdk:: example_utils:: build_renegade_client;
33
44#[ tokio:: main]
55async fn main ( ) -> Result < ( ) , eyre:: Error > {
66 // Get the external match client
7- let api_key = std:: env:: var ( "EXTERNAL_MATCH_KEY" ) . unwrap ( ) ;
8- let api_secret = std:: env:: var ( "EXTERNAL_MATCH_SECRET" ) . unwrap ( ) ;
97 let client = build_renegade_client ( false /* use_base */ ) . unwrap ( ) ;
108
119 // Fetch supported tokens
You can’t perform that action at this time.
0 commit comments