Search content
Sort by

Showing 20 of 42 results by programmer-frank
Post
Topic
Board Announcements (Altcoins)
Re: Introduction to Vodi X
by
programmer-frank
on 28/03/2022, 05:45:15 UTC
What happened to this project? Homepage shows no advisors anymore and no core team. But still a roadmap Grin
Post
Topic
Board Announcements (Altcoins)
Re: [ANN] PKT - Global Mesh - Bandwidth-hard PoW - Distributed Compute Grid
by
programmer-frank
on 15/03/2022, 07:17:12 UTC
Looks like BitMart is delayed, but the wallet is now active on Bittrex Global:
https://twitter.com/BittrexGlobal/status/1503386467674079235
Trading should start tomorrow.
Current price is 1 PKT = 1 BTC:

This might drop a bit when trading starts Grin
Post
Topic
Board Announcements (Altcoins)
Re: [ANN] PKT - Global Mesh - Bandwidth-hard PoW - Distributed Compute Grid
by
programmer-frank
on 11/03/2022, 02:17:13 UTC
PKT will be listed at BitMart in 3 days, and can be traded 2 days later:

https://support.bmx.fund/hc/en-us/articles/4415940487067
Post
Topic
Board Announcements (Altcoins)
Re: [ANN] PKT - Bandwidth-hard Blockchain
by
programmer-frank
on 27/12/2021, 01:46:07 UTC
CEX and DEX listings are coming!

Nice, it is now at Pancakeswap, see here for price chart and contract number:

https://coinmarketcap.com/currencies/wrapped-pkt/

But still not at a bigger and easier to use exchange like CEX after more than a year. Did CEX say when they will list it?
Post
Topic
Board Announcements (Altcoins)
Re: [ANN][CLAM] CLAMs, Proof-Of-Chain, Proof-Of-Working-Stake, a.k.a. "Clamcoin"
by
programmer-frank
on 01/12/2021, 18:51:34 UTC
You are welcome to update it.  https://github.com/nochowderforyou/clams
Looks like it is dead. There are 3 open PRs, older than 3 years:
https://github.com/nochowderforyou/clams/pulls
and last commit is from 2017. Granted, one of the PR ("Update validation.cpp") probably results in a syntax error for the compiler, but the other 2 look fine and should be merged.

I passed this link to Xploited (the creator of clam and partner at FreeBitcoins.com).

Still the same open pull requests after a month. And looks like some big whale cashed out in November. So sorry to say this, but I guess now it is really dead. Liquidity for the only remaining exchange is 1 (the lowest possible is 0, goes up to 1000), which means you can't even trade it anymore:

https://coinmarketcap.com/currencies/clams/
Post
Topic
Board Altcoin Discussion
Re: Ethereum scanner for USDT transfers
by
programmer-frank
on 21/11/2021, 13:47:07 UTC
Yeah, I posted it first in "Development & Technical Discussion", but some admin moved it Roll Eyes But probably right, because it is not a Bitcoin technical discussion.
Post
Topic
Board Altcoin Discussion
Re: Ethereum scanner for USDT transfers
by
programmer-frank
on 21/11/2021, 13:07:25 UTC
Thanks, this would explain it. If it is traded within an exchange, then it doesn't leave a trace on the blockchain.
Post
Topic
Board Altcoin Discussion
Merits 1 from 1 user
Re: Ethereum scanner for USDT transfers
by
programmer-frank
on 21/11/2021, 12:47:12 UTC
⭐ Merited by vv181 (1)
I fixed the problem with the "Approve" function call. I created a hash from the signature "Transfer(address,address,uint256)", which is then used in the topics array as the first element. With this I could test it and don't get the "Approve" calls anymore.

But I guess there is still a remaining bug. If I sum all transaction from 20th November, the sum is only 2.5 billion USDT. But coinmarketcap says it was 72 billion USDT. So maybe I missed another function call?

BTW, pretty high volume. I did a sort for the highest transactions, and there were 2 with 111 million USDT, just yesterday:

https://etherscan.io/tx/0x95220146c7ec639d001171b4323bb0acafb59da223272b556c0fc8c940250252

https://etherscan.io/tx/0x71c663b408ec4e52fe1bb9899e1f0f4b02023c875f34222aed1d87aabefaf0d7

Some big whales.
Post
Topic
Board Service Announcements
Re: [ANN] bitaddress.org Safe JavaScript Bitcoin address/private key
by
programmer-frank
on 21/11/2021, 09:59:28 UTC
i have btc in wallet created in 2018 by bitaddress.org site and i havent touched them till now.
back then i didnt knew what gpg signature is so i didnt verified.

But i worry too much are my funds safe.  
Should i send them in new address generated via better methods(like linux electrum{python better randomness} offline gpg verified).

It is as safe as your password. If it is multiple words, that are nowhere written in the internet or your computer, or at least 8 random characters with uppercase, lowercase and numbers, then it is safe:

https://en.wikipedia.org/wiki/Password_strength#Guidelines_for_strong_passwords

The problem with moving it is that if you have a malware installed, then it can get stolen when you try to move it.

And nowadays 30% of all computers in the US are malware infected:

https://dataprot.net/statistics/malware-statistics/

And there are new and more sophisticated malware every day. So a hardware wallet is the only safe solution for the average user. Or a computer which is not connected to the internet, and then create and sign the transactions offline. But the average user can't do this.

I think Trezor is a good hardware wallet. It is like a strong brainwallet, but you can still use your coins regularly without the fear that malware steals it. And if you write down the passphrase for it (only on paper, never on any computer or password manager app), the hardware can even get lost or destroyed, and you can just enter it in a new Trezor device to get it back.

It has also a nice feature to create an addtional hidden wallet. In case of a $5 wrench event, you can just tell them the first decoy wallet with less value, and your main value is in the hidden wallet.
Post
Topic
Board Altcoin Discussion
Re: Ethereum scanner for USDT transfers
by
programmer-frank
on 21/11/2021, 01:56:16 UTC
I improved the code: Now it uses a binary search to find the first block to check. So if you want to list all transaction from one day of last year, the previous version needed hours, now only a few minutes. Probably could be improved further with web3 batch requests.
Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Topic OP
Ethereum scanner for USDT transfers
by
programmer-frank
on 20/11/2021, 17:43:39 UTC
⭐ Merited by vv181 (1)
I wrote a scanner which prints all transfers of a specified time and amount range:

https://github.com/FrankBuss/ethscan

Example output:

Quote
search filter:

date from: 2021-11-20 00:00:00 UTC
date to: 2021-11-21 00:00:00 UTC
amount from: 100000 USDT
amount to: 1000000000 USDT

time (UTC),amount (USDT),transaction
2021-11-20 06:33:05,482440.00,https://etherscan.io/tx/0xfe69e999c6844a46a6722a090ee3a9cfe6338c2d02e721840f280953d84c5270
2021-11-20 06:33:05,600887.31,https://etherscan.io/tx/0x8b175f228c3e38d2cc28f4ab6b4bf1a6c6156883045e7c986ec47c0fe5f63157
2021-11-20 06:33:05,221350.48,https://etherscan.io/tx/0xc360f4e183576848701193f7a456234a0e4bb849a94c7ea960b740da9088d830
2021-11-20 06:32:34,518533.00,https://etherscan.io/tx/0xfc4475e64b1f20b90d7837ea8b4129e1ed0b0fe9a4f0240338f59eca4b125572
2021-11-20 06:31:30,109976.00,https://etherscan.io/tx/0xba5ff95164e88ccfb6aaf9101ada7750ec51f935e14a421db5793f90753510b7
2021-11-20 06:30:29,214000.00,https://etherscan.io/tx/0x965dba12cd3c08f391e7b6a64d96d9b93ee13944339709995362b377b864fe30
2021-11-20 06:30:09,161111.00,https://etherscan.io/tx/0x849d668938a5306f1c202cb9c8fc342767856d777a8ce4058cf0b67b264b7375
2021-11-20 06:30:02,134655.46,https://etherscan.io/tx/0xd4d528bba884f1c3f89a8bd2ffb7b5dc37b47814bff7c51bed8cad79b306606b
2021-11-20 06:29:20,2650000.00,https://etherscan.io/tx/0xfff84cdd25b480089e601649b93d3b8ca97f4e5e21b7e0d0572a8448a022c499
2021-11-20 06:28:36,100000.00,https://etherscan.io/tx/0x66d52c1fdfb99253143a20b652136ecd758b3282265dbca100180e83f96103be

See the TODO section for possible improvements. And as with my last project, I'm still relatively new to Rust and alls these Rust crypto crates, so my code might not use it very idiomaticly or could be written shorter. Feel free to critizise my code, or send PRs.

If other tokens should be integrated, the contract needs to be read to determine the number of decimal places, and maybe the ticker label etc. And I'm not sure if transaction_receipt is the right way to get the transfer amount (and from/to addresses, currently unused). Shouldn't all the required data be in the transaction?

It has one remaining problem: It also detects wrongly "approve" calls as "transfer" calls, for example this one:

https://etherscan.io/tx/0x242b0b060d94fb7a07296a9f12ec6b66f437dd9294d4cf9e82be8aa45abb6f92

How can I determine reliably with web3 which function on the contract was called?
Post
Topic
Board Development & Technical Discussion
Re: Bitcoin brainwallet implementation in Rust
by
programmer-frank
on 13/11/2021, 03:10:56 UTC
Maybe NodeJS programs have so many files, because JavaScript programmers like to use a lot of packages, even for one-liners:
https://dev.to/jyotishman/10-useless-npm-package-with-millions-of-downloads-de9
To be fair, the upper-case package can do a lot more, like converting to and from camelCase etc. But is-odd and is-even really doesn't make sense. I mean just import is-odd, and do a negation on the result to get is-even for free, as the source code of the is-even package demonstrates Grin
Post
Topic
Board Development & Technical Discussion
Merits 3 from 2 users
Re: Bitcoin brainwallet implementation in Rust
by
programmer-frank
on 12/11/2021, 02:56:31 UTC
⭐ Merited by pooya87 (2) ,ETFbitcoin (1)
Python is nice, and the programs are shorter and easier to read than the same in Rust. But right, package management is not as nice as with the Rust cargo build system.

Package quality is always a problem. For Rust I use the crates.io site and sort for number of downloads. Usually the more popular a library is, the better the quality and maintained it is. For example for the secp256k1 algorithm this is the search result:
https://crates.io/search?q=secp256k1&sort=downloads
The first library is just a wrapper around a C library, which I want to avoid, to avoid build problems on Windows. Second crate is really big, with lots of different signatures, but i wanted just secp256k1. So 3rd result looked good and I checked the documentation, github, test cases etc., and then I used it for my project (btw, all the 0.x.y packages don't mean beta quality in Rust, it is just a convention that the interface might change until the first 1.0.0 version).

But for larger applications, the lack of static typing in Python can be problem (which is the reason why they introduced type annotations in Python 3.9), and it is much slower and needs more memory, so you don't really want to process gigabytes of blockchain data with it, or use it for a high traffic network node. But I think for such tools like the brainwallet, Python is better than Rust, and I use it often for such tasks. A Python REPL (Python in interactive mode) is also one of the best hand calculator replacements Grin and very useful with Jupyter for interactive data manipulation and visualization.
Post
Topic
Board Development & Technical Discussion
Re: Bitcoin brainwallet implementation in Rust
by
programmer-frank
on 11/11/2021, 22:25:59 UTC
I simplified the code, see the github repository. No extra functions and no macro needed anymore for the Sha256 and Ripemd160 hash, 20 lines shorter and easier to read now.

I think Rust is a good choice for writing blockchain related code. Typesafe and fast like C++, but the Rust compiler is much better. Together with the borrowing memory concept it is really hard to write code which crashes, or has memory leaks or undefined behavior at runtime, which is no problem at all with C++. And there are over 70,000 Rust crates (what other languages call modules or libraries) available for nearly everything you can imagine, usable with one line in the cargo.toml file with the nice "cargo" build system.
Post
Topic
Board Development & Technical Discussion
Re: Bitcoin brainwallet implementation in Rust
by
programmer-frank
on 08/11/2021, 11:56:48 UTC
Maybe no one thinks to try the above procedure for a long time, but one day, someone learns that the above person has a lot of coin, their favorite number is 420, and they like to generate their private keys via non-standard methods. This might lead someone to try to generate private keys via psudo-random methods in various ways using '420' as the seed up to a certain level of entropy that can be easily cracked.

Right, and in cryptography, it is always assumed that the algorithm is known. For example some malware could find the source code, if it is not developed on an offline computer with no storage, which is not how software these days is developed.

But the standard SH256 brainwallets are very safe, if the password is safe. And I don't see a problem with forgetting it. Just write it down on paper and deposit it at a safe place. There are many ways to disguise it as well, like use the first sentence in a diary. If it is personal and not found somewhere else, it would be very safe. Like "This is the diary of the very knowledgeable programmer Frank, born on x, in the city y.". No way this could be discovered with a brute-force program. It would be much more safe than a random 30 character password.
Post
Topic
Board Announcements (Altcoins)
Re: [ANN][CLAM] CLAMs, Proof-Of-Chain, Proof-Of-Working-Stake, a.k.a. "Clamcoin"
by
programmer-frank
on 07/11/2021, 13:59:14 UTC
You are welcome to update it.  https://github.com/nochowderforyou/clams
Looks like it is dead. There are 3 open PRs, older than 3 years:
https://github.com/nochowderforyou/clams/pulls
and last commit is from 2017. Granted, one of the PR ("Update validation.cpp") probably results in a syntax error for the compiler, but the other 2 look fine and should be merged.
Post
Topic
Board Service Announcements
Re: [ANN] bitaddress.org Safe JavaScript Bitcoin address/private key
by
programmer-frank
on 07/11/2021, 13:20:50 UTC
Well thank you very much for implementing new paper wallet designs! I still won't use your repo/website/app as for now since I am not that good of a programmer myself to confirm that it is completely safe. If there are more reputable members that can confirm the safeness in the future then I will try it out!
I did a diff of the original repository and the new repository. Would have been better to just fork the original repository and send it as a PR, but boomdev is right, the only differences I can see (at this moment, version e7ab666c7e754a134e92494c2849eee1909e3ded ) are the new templates, an unnecessary yarn.lock file, no .gitignore file, removed bitaddress copyright in the website (but the original repository is still mentioned), and changed logo. All the security related functions in the JavaScript files are untouched. Should be safe, unless boomdev found a new png image decoder backdoor Smiley
Post
Topic
Board Development & Technical Discussion
Re: Bitcoin brainwallet implementation in Rust
by
programmer-frank
on 07/11/2021, 06:09:10 UTC
In what world 165 quintillion hashes per second is considered "piss in the ocean"?
Well, it is only 0.00000000000000000000000000000000000000000000000000000014% of all possible SHA26 hashes (assuming a bijective mapping, so probably a bit higher, if there are collisions).
Post
Topic
Board Development & Technical Discussion
Re: Bitcoin brainwallet implementation in Rust
by
programmer-frank
on 06/11/2021, 04:39:16 UTC
Post
Topic
Board Development & Technical Discussion
Merits 4 from 2 users
Re: Bitcoin brainwallet implementation in Rust
by
programmer-frank
on 06/11/2021, 03:59:56 UTC
⭐ Merited by pooya87 (2) ,Welsh (2)
You are right, I should probably print a nice error message in case of this error. But it wouldn't crash, at least not in the way C++ crashes with segfaults or undefined behavior. unwrap creates a controlled panic, and unrolls the stack, same like an exception, and then prints the panic on the console (with call stack in debug mode, and if you set an environment variable for it).

Do you have a test case which creates this error? The BitAddress website uses the same function, but looks like it doesn't handle such errors either.