Skip to content
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

Closed
wants to merge 2 commits into from

Conversation

jolestar
Copy link
Contributor

@jolestar jolestar commented Jan 2, 2024

Summary

Summary about this PR

  • Closes #issue

Copy link

vercel bot commented Jan 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
rooch ⬜️ Ignored (Inspect) Visit Preview Jan 15, 2024 8:10am

@@ -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,

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},

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",

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 {

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;

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.

Copy link
Collaborator

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?

ghpZ54K8ZRwU62zGVSePPs97yAv9swuAY0mVDR4 pushed a commit to ghpZ54K8ZRwU62zGVSePPs97yAv9swuAY0mVDR4/rooch that referenced this pull request Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants