Giter Club home page Giter Club logo

atomicalsir's People

Contributors

aurevoirxavier avatar dependabot[bot] avatar eltociear avatar miralandlabs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

atomicalsir's Issues

zsh: command not found: atomicalsir

Hi bro:
i was worked on Mac,after i run cargo build --release success, i open new ternimal,and show
zsh: command not found: atomicalsir, so where is the atomicalsir

Error: missing field `response` at line 1 column 65

./atomicalsir --max-fee 90 --rust-engine ../wallets --ticker sophon

2024-01-17T17:33:06.202336Z INFO atomicalsir::wallet: loaded wallet: ../wallets/wallet.json
Error: missing field response at line 1 column 65

missing field `unconfirmed_n_tx`

Error: error decoding response body: missing field unconfirmed_n_tx at line 1 column 28

Caused by:
missing field unconfirmed_n_tx at line 1 column 28

Attempting cargo build encountered a question

error: external crate `async_trait` unused in `atomicalsir`: remove the dependency or add `use async_trait as _;`
  |
note: the lint level is defined here
 --> src/main.rs:1:23
  |
1 | #![deny(missing_docs, unused_crate_dependencies)]
  |                       ^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0706]: functions in traits cannot be declared `async`
  --> src/electrumx.rs:22:2
   |
22 |       async fn post<U, P, R>(&self, uri: U, params: P) -> Result<R>
   |       ^----
   |       |
   |  _____`async` because of this
   | |
23 | |     where
24 | |         U: AsRef<str>,
25 | |         P: Serialize,
26 | |         R: DeserializeOwned;
   | |____________________________^
   |
   = note: `async` trait functions are not currently supported
   = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
   = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
   = help: add `#![feature(async_fn_in_trait)]` to the crate attributes to enable

error[E0706]: functions in traits cannot be declared `async`
  --> src/electrumx.rs:37:2
   |
37 |       async fn get_by_ticker<S>(&self, ticker: S) -> Result<Ticker>
   |       ^----
   |       |
   |  _____`async` because of this
   | |
38 | |     where
39 | |         S: AsRef<str>,
   | |______________________^
   |
   = note: `async` trait functions are not currently supported
   = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
   = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
   = help: add `#![feature(async_fn_in_trait)]` to the crate attributes to enable

error[E0706]: functions in traits cannot be declared `async`
  --> src/electrumx.rs:51:2
   |
51 |       async fn get_ft_info<S>(&self, atomical_id: S) -> Result<ResponseResult<Ft>>
   |       ^----
   |       |
   |  _____`async` because of this
   | |
52 | |     where
53 | |         S: AsRef<str>,
   | |______________________^
   |
   = note: `async` trait functions are not currently supported
   = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
   = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
   = help: add `#![feature(async_fn_in_trait)]` to the crate attributes to enable

error[E0706]: functions in traits cannot be declared `async`
  --> src/electrumx.rs:64:2
   |
64 |       async fn get_unspent_address<S>(&self, address: S) -> Result<Vec<Utxo>>
   |       ^----
   |       |
   |  _____`async` because of this
   | |
65 | |     where
66 | |         S: AsRef<str>,
   | |______________________^
   |
   = note: `async` trait functions are not currently supported
   = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
   = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
   = help: add `#![feature(async_fn_in_trait)]` to the crate attributes to enable

error[E0706]: functions in traits cannot be declared `async`
  --> src/electrumx.rs:74:2
   |
74 |       async fn get_unspent_scripthash<S>(&self, scripthash: S) -> Result<Vec<Utxo>>
   |       ^----
   |       |
   |  _____`async` because of this
   | |
75 | |     where
76 | |         S: AsRef<str>,
   | |______________________^
   |
   = note: `async` trait functions are not currently supported
   = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
   = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
   = help: add `#![feature(async_fn_in_trait)]` to the crate attributes to enable

error[E0706]: functions in traits cannot be declared `async`
  --> src/electrumx.rs:94:2
   |
94 |       async fn wait_until_utxo<S>(&self, address: S, satoshis: u64) -> Result<Utxo>
   |       ^----
   |       |
   |  _____`async` because of this
   | |
95 | |     where
96 | |         S: AsRef<str>,
   | |______________________^
   |
   = note: `async` trait functions are not currently supported
   = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
   = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
   = help: add `#![feature(async_fn_in_trait)]` to the crate attributes to enable

error[E0706]: functions in traits cannot be declared `async`
   --> src/electrumx.rs:112:2
    |
112 |       async fn broadcast<S>(&self, tx: S) -> Result<serde_json::Value>
    |       ^----
    |       |
    |  _____`async` because of this
    | |
113 | |     where
114 | |         S: AsRef<str>,
    | |______________________^
    |
    = note: `async` trait functions are not currently supported
    = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
    = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
    = help: add `#![feature(async_fn_in_trait)]` to the crate attributes to enable

error[E0706]: functions in traits cannot be declared `async`
   --> src/electrumx.rs:141:2
    |
141 |       async fn post<U, P, R>(&self, uri: U, params: P) -> Result<R>
    |       ^----
    |       |
    |  _____`async` because of this
    | |
142 | |     where
143 | |         U: AsRef<str>,
144 | |         P: Serialize,
145 | |         R: DeserializeOwned,
    | |____________________________^
    |
    = note: `async` trait functions are not currently supported
    = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
    = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
    = help: add `#![feature(async_fn_in_trait)]` to the crate attributes to enable

For more information about this error, try `rustc --explain E0706`.
error: could not compile `atomicalsir` (bin "atomicalsir") due to 9 previous errors

Can not parse wallet jason

version: atomicalsir 0.2.0-3fd3e3b-x86_64-unknown-linux-gnu
./atomicalsir --rust-engine ./wallets --fee-bound 33,38 --ticker btcsoul
ERROR atomicals_electrumx: failed to parse response into JSON due to error decoding response body: missing field response at line 1 column 129

pls clone the new project and build test

Error: program not found

atomicalsir.exe --max-fee 150 G:\BTC\atomicals

loaded wallet bc1ptna2ltu0tjk9ww9vxdm7xeyzta4vw8d5fxvev53puum34nrnydnsdval45 from G:\BTC\atomicals\wallets\wallet.json

可以正确识别到钱包,
但还是提示找不到程序

connection closed before message completed

日志如下,打得太快了,reveal时,本地节点没连通,也没有重试,导致比特币被卡在了中间地址。有没有办法救回来?或者说这个有没有自动重试的机制?

        TxOut {
            value: Amount(0.00003431 BTC),
            script_pubkey: Script(OP_PUSHNUM_1 OP_PUSHBYTES_32 de595f4b3a42e2d85887d758a32a226f02dc13dc06ec52ccb07d23409263b958),
        },
    ],
}
2024-01-17T18:22:44.462608Z DEBUG atomicalsir::electrumx: {"success":true,"response":"000000c37d5abeb9e31c6862dc903522c40754b25fdb96369ba61bff6412c3d9"}
2024-01-17T18:22:44.512496Z DEBUG atomicalsir::electrumx: {"success":true,"response":[]}
2024-01-17T18:22:44.512515Z  INFO atomicalsir::electrumx: waiting for UTXO...
Error: error sending request for url (http://172.22.223.180:8080/proxy/blockchain.scripthash.listunspent): connection closed before message completed

Caused by:
    connection closed before message completed

Tasks

Mint not recognized as atomicals

I just did a test using latest code (0.1.9) . The mint is very fast, however, after confirmation on chain, it seems the atomicals index didn't recognize the successful mint received in primary wallet as atomicals. It considers it as normal UTXO. How can I fix this? Thanks

Error: exceeded maximum retries

更新了最新代码重新编译后,DEBUG模式后运行就出现Error: exceeded maximum retries,CPU没有波动。正常模式运行直接卡住不提示。 PR:上一个修复gas fee不平衡的版本运行正常,但打darkmatter这种难度的项目,一段时间后会崩溃,难度低耗时低的项目速度很快。
------------MACBOOK:M1 MACOS:14.2.1

怎么设置最小GAS

有时推荐的GAS很少,很可能不能及时确认,怎么设置最小GAS?

rust engine

./atomicalsir --rust-engine ./wallets --ticker dragon
Can I mine dragon using the rust engine? I tried it and found a solution, but I couldn't commit

GPU mining

This is currently in the research phase.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.