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 <xavier@inv.cafe>
  • Loading branch information
aurexav committed Jan 31, 2024
1 parent 26977ea commit cb5cb55
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 someone reading the code and then secretly transferring assets is utterly intolerable. Considering that this project mainly circulates among Chinese-speaking communities, it's even more disgusting to think that the thief might also be Chinese.

This comment has been minimized.

Copy link
@ken-wizhodl

ken-wizhodl Feb 1, 2024

As far as I know there are many bad actors on github scan for secret credentials to profit. The steal of the fund can be done by anyone, you should be ashamed why you cherrypick Chinese as the accused thief. Even you are Chinese yourself, doesn't give you the right to add such a racist comment.

This comment has been minimized.

Copy link
@aurexav

aurexav Feb 1, 2024

Author Member

I didn't accuse anyone of being the thief.

I said 'might be', and I'll be very disappointed if he is Chinese. Since I'm Chinese myself, I hope my people are good, otherwise, it will definitely make me feel worse.

Again, the above is simply my personal reflection. I didn't claim it to be a conclusion or fact. If he is, that would only make me feel worse.

This comment has been minimized.

Copy link
@ken-wizhodl

ken-wizhodl Feb 1, 2024

I might disagree with you, but thanks for more context anyway.

This comment has been minimized.

Copy link
@aurexav

aurexav Feb 1, 2024

Author Member

Additionally, I used "also" and felt no shame in being Chinese or anything else.

I didn't make any comments about Chinese.

So, I don't believe this comment is racist.

Wouldn't you feel worse if someone you trust betrayed you? Just a kind of personal feeling.

Anyway, I'll remove such comment.


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 cb5cb55

Please sign in to comment.