Add additional params to send cmd
Compare changes
- Anthony GRAIGNIC authored
Add hd_index to select the same address derived from the HD wallet Add waiting time to sleep between 2 send
+ 101
− 42
@@ -39,10 +40,14 @@ struct SendParams {
@@ -54,7 +59,7 @@ struct SimulateBxFromCsv {
@@ -62,7 +67,7 @@ struct MineParams {
@@ -111,51 +116,91 @@ async fn main() -> Result<(), anyhow::Error> {
let data = Bytes::from_str("0x015d8eb90000000000000000000000000000000000000000000000000000000000878c1c00000000000000000000000000000000000000000000000000000000644662bc0000000000000000000000000000000000000000000000000000001ee24fba17b7e19cc10812911dfa8a438e0a81a9933f843aa5b528899b8d9e221b649ae0df00000000000000000000000000000000000000000000000000000000000000060000000000000000000000007431310e026b69bfc676c0013e12a1a11411eec9000000000000000000000000000000000000000000000000000000000000083400000000000000000000000000000000000000000000000000000000000f4240").unwrap();
@@ -188,11 +233,16 @@ async fn main() -> Result<(), anyhow::Error> {
@@ -200,7 +250,10 @@ async fn main() -> Result<(), anyhow::Error> {
@@ -252,32 +305,38 @@ async fn main() -> Result<(), anyhow::Error> {