-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bitcoin] Cli bitcoin address binding #1282
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
@@ -5,7 +5,8 @@ use crate::cli_types::CommandAction; | |||
use crate::commands::account::commands::balance::BalanceCommand; | |||
use async_trait::async_trait; | |||
use commands::{ | |||
create::CreateCommand, list::ListCommand, nullify::NullifyCommand, switch::SwitchCommand, | |||
binding::BindingCommand, create::CreateCommand, list::ListCommand, nullify::NullifyCommand, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there an option for updating the existing or created bitcoin address on Rooch?
use bitcoincore_rpc::{Auth, Client, RpcApi}; | ||
use clap::Parser; | ||
use rooch_types::{ | ||
address::{BitcoinAddress, MultiChainAddress, RoochAddress}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it included BitcoinAddress to the MultiChainAddress? We were using only two types of addresses before.
|
||
#[clap( | ||
long, | ||
env = "BITCOIN_RPC_URL", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a plan to include Bitcoin Lightning RPC URL?
)?; | ||
let wallet_context = self.context_options.build()?; | ||
let sender = wallet_context.resolve_address(self.tx_options.sender)?; | ||
match self.l1_chain { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a binding for Ethereum L1?
@@ -2,6 +2,7 @@ | |||
// SPDX-License-Identifier: Apache-2.0 | |||
|
|||
pub mod balance; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest this mod to be renamed to inquire
? Never mind if it's only for inquire about account balance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be merged I guess?
9be4751
to
aefcdff
Compare
Summary
Summary about this PR