Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
Pause
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Lau <[email protected]>
  • Loading branch information
aurexav committed Feb 1, 2024
1 parent 26977ea commit b5fcaeb
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 3 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,37 @@

</div>

When creating and open-sourcing this project, I hoped to support those who love the Atomicals protocol and promote community development.

Thanks to the language features of Rust, before GPU mining algorithms were introduced, atomicalsir's hash computation speed surpassed all other tools. We are glad that I could help those in need and received some Stars.

However, during a piece of test code, a BTC mainnet private key was inadvertently used, leading to an incorrect transfer of some $QUARK worth about $10,000 into what should have been only for testing purposes. Although the amount is not large, the act of reading the code and then secretly transferring assets is utterly intolerable.

This project is entirely non-profit and born out of a love for open source and technology.

Stolen address: `bc1p2y56txyct5xfws8la3cdng802p96trmx6rj07pc094avxllmuryql08fgv`

The above is merely personal reflection. The fundamental reason is my own mistake, but I am deeply disappointed with this atmosphere.

Lastly, if a technology can't protect the bad guys, then it can't protect the good guys either. ;)

在创建并开源这个项目时,我希望能助力热爱 Atomicals 协议的人士,并促进社区发展。

得益于 Rust 的语言特性,在 GPU 挖矿算法面世前,atomicalsir 的哈希运算速度超过了所有其他工具。

很高兴我能够帮到需要的人,并收获了一些 Stars。

但是,在一段测试代码中不慎使用了 BTC 主网私钥,本应仅用于测试的私钥错误地转入了一些 $QUARK,价值约 $10,000。虽然金额不大,但阅读代码后偷偷转移资产的行为实在让人无法容忍。

本项目完全非盈利,出于对开源和技术的热爱而生。

被盗地址:`bc1p2y56txyct5xfws8la3cdng802p96trmx6rj07pc094avxllmuryql08fgv`

以上仅为个人感想,其根本原因为个人失误,但对这种氛围深感失望。

最后,如果一项技术保护不了坏人那么也保护不了好人。;)


## Usage
```
Atomicals mining manager.
Expand Down
7 changes: 4 additions & 3 deletions atomicals-electrumx/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ where
F: FnOnce(ElectrumX) -> Fut,
Fut: Future<Output = ()>,
{
let _ = tracing_subscriber::fmt::try_init();
tracing_subscriber::fmt::init();

let e = ElectrumXBuilder::testnet().build().unwrap();

Runtime::new().unwrap().block_on(f(e));
Expand All @@ -19,14 +20,14 @@ where
#[test]
fn get_by_ticker_should_work() {
test(|e| async move {
e.get_by_ticker("quark").await.unwrap();
e.get_by_ticker("atomicalsir").await.unwrap();
});
}

#[test]
fn get_ft_info_should_work() {
test(|e| async move {
e.get_ft_info(e.get_by_ticker("quark").await.unwrap().atomical_id).await.unwrap();
e.get_ft_info(e.get_by_ticker("atomicalsir").await.unwrap().atomical_id).await.unwrap();
});
}

Expand Down

0 comments on commit b5fcaeb

Please sign in to comment.