Bitcoin Forum
April 13, 2026, 01:36:21 AM *
News: Latest Bitcoin Core release: 30.2 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: c64wallet - Commodore 64 Bitcoin Wallet  (Read 58 times)
mcrypto1984 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 8


View Profile
April 12, 2026, 07:34:44 AM
Merited by NotATether (5), DaveF (2), Stalker22 (1)
 #1

Hi

I created c64wallet - Commodore 64 Bitcoin Wallet.

It works as offline wallet (standard c64 doesn't have access to internet) and provides basic functionality:
  • Creating new bitcoin wallet
  • Saving/loading wallet from tape/disk (with encryption)
  • Displaying address wih QR code (only bech32 segwit addresses are supported)
  • Displaying privete key with QR code (WIF format)
  • Displaying public key in hex format

https://github.com/geek197/c64wallet

One screen from main menu:
https://raw.githubusercontent.com/geek197/c64wallet/refs/heads/master/screens/c64wallet.png

Because C64 has very slow CPU (compared to current CPUs) generating key pair takes around 30 minutes. But it works!
It's just fun project. Try store you paper wallets in 80-s way but don't expect too much  Smiley
cygan
Legendary
*
Offline Offline

Activity: 3850
Merit: 12091


icarus-cards.eu


View Profile WWW
April 12, 2026, 08:09:47 AM
 #2

Hi

I created c64wallet - Commodore 64 Bitcoin Wallet.
✂️

hello... i think it’s really interesting and kind of funny to name a Bitcoin wallet that way Grin
i used to have a c128 myself, which was equipped with a floppy drive and a dataset - those were really good times back then... Cool
and im curious to see how this Bitcoin wallet develops… i’m guessing it’ll only be available as a desktop version, right?

btw maybe you should change the text background color from yellow to Bitcoin orange Wink

█████████████████████████
██████████████▀▄▄▄▀██████
████████▀▀▄▄████▄▄▀███
██████████████
████▀▄▄████████████
██▀██▀▀▀▀██
███▄▀▀███████
█▀███████████▄█
█▄▀▄██▀███▄████▄██
███▄█████▄▄▄████
█████▄████▄▄▄▀▀▄▄██████
███████▄▀▀▀▀▄▄▄██████████
█████████████████████████
.
 Jackpot ter .....  COMMUNITY POWERED CRYPTO CASINO  
▄███████████████████████▄
█████████████████████████
█████████████████████████
██████▄░▄▄▀██████▀▄██████
███████▄░█▄░███▀▄████████
█████████▄▀█░▀▄██████████
██████████▄▀█▄▀██████████
██████████▀▄░█▄▀█████████
████████▀▄███░██░▀███████
██████▀▄██████░▀▀░▀██████
█████████████████████████
█████████████████████████
▀███████████████████████▀
▄███████████████████████▄
█████████████████████████
█████████████████████████
███████████████▀▀░░▐█████
███████████▀▀░░░░░░██████
███████▀▀░░░▄▄▀░░░░██████
████▀░░░░░▄█▀░░░░░▐██████
██████▄▄██▀░░░░░░░▐██████
███████████▄░░░░░░███████
██████████████▄░░▄███████
█████████████████████████
█████████████████████████
▀███████████████████████▀
▄███████████████████████▄
█████████████████████████
█████████████████████████
██████▀░░░▀▀▀▀▀░░░▀██████
█████▀░░░░░░░░░░░░░▀█████
████▀░░░░░░░░░░░░░░░▀████
████░░░░▄█▄░░░▄█▄░░░░████
███▌░░░░▀█▀░░░▀█▀░░░░▐███
███▌░░░░▄░░░░░░░▄░░░░▐███
█████▄▄░▄█▄▄▄▄▄█▄░▄▄█████
█████████████████████████
█████████████████████████
▀███████████████████████▀
 
  PLAY NOW  
ABCbits
Legendary
*
Offline Offline

Activity: 3570
Merit: 9927



View Profile
April 12, 2026, 08:23:30 AM
 #3

I never use Commodore 64 in my whole life. But after i skimmed your code, do you use entropy from user keyboard input because Commodore 64 (whether real or emulated) doesn't provide OS/hardware level secure RNG?

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
NotATether
Legendary
*
Offline Offline

Activity: 2296
Merit: 9614


┻┻ ︵㇏(°□°㇏)


View Profile WWW
April 12, 2026, 10:21:19 AM
 #4

Interesting.

When you say generating a keypair takes 30 minutes, are you referring to private key -> pubic key calculation, or are you referring to PBKDF derivation of private keys from seed phrases, or both?

Though I wouldn't be surprised if it was ECC itself that's slow, considering that the C64 cpu and other really old CPUs like the i386 were made in a different era before most transistor optimization techniques were known/used.

 
 b1exch.to 
  ETH      DAI   
  BTC      LTC   
  USDT     XMR    
.███████████▄▀▄▀
█████████▄█▄▀
███████████
███████▄█▀
█▀█
▄▄▀░░██▄▄
▄▀██▄▀█████▄
██▄▀░▄██████
███████░█████
█░████░█████████
█░█░█░████░█████
█░█░█░██░█████
▀▀▀▄█▄████▀▀▀
mcrypto1984 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 8


View Profile
April 12, 2026, 11:36:38 AM
 #5

I never use Commodore 64 in my whole life. But after i skimmed your code, do you use entropy from user keyboard input because Commodore 64 (whether real or emulated) doesn't provide OS/hardware level secure RNG?

There is something similar to hardware random generator using SID (sound device subsystem in c64) but I'm not sure if this realy random. So I decided to use user input. Maybe I investigate this topic deeper in future.
mcrypto1984 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 8


View Profile
April 12, 2026, 11:53:13 AM
 #6

Interesting.

When you say generating a keypair takes 30 minutes, are you referring to private key -> pubic key calculation, or are you referring to PBKDF derivation of private keys from seed phrases, or both?

Though I wouldn't be surprised if it was ECC itself that's slow, considering that the C64 cpu and other really old CPUs like the i386 were made in a different era before most transistor optimization techniques were known/used.

Yes, private->public keys computation (ECC) takes around 30 minutes. Standard PBKDFs, like iterations of sha256 are also painfuly slow, so I decided to use custom solution where ratio (modern cpu speed / c64 cpu speed) is lowest. Iternaly it uses RC4 which is pure 8-bit algorithm. It's not secure for encryption anymore but I think for PBKDF is still good enough.

mcrypto1984 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 8


View Profile
April 12, 2026, 12:02:21 PM
 #7

Hi

I created c64wallet - Commodore 64 Bitcoin Wallet.
✂️

hello... i think it’s really interesting and kind of funny to name a Bitcoin wallet that way Grin
i used to have a c128 myself, which was equipped with a floppy drive and a dataset - those were really good times back then... Cool
and im curious to see how this Bitcoin wallet develops… i’m guessing it’ll only be available as a desktop version, right?

btw maybe you should change the text background color from yellow to Bitcoin orange Wink

Currently there is only version for real c64 computer (or emulator) + command line version for testing/development purposes.

Stalker22
Legendary
*
Offline Offline

Activity: 2198
Merit: 1552



View Profile
April 12, 2026, 06:36:10 PM
 #8

~
Currently there is only version for real c64 computer (or emulator) + command line version for testing/development purposes.

If I remember right, the C128 actually had a C64 mode built into the hardware, so it could run all the programs and games perfectly like a real C64 without any issues.

I think I still have one lying around somewhere.  It would be interesting to fire it up and see if it still works after all these years.  Not exactly sure how to transfer files from a PC to a Commodore, though.  I doubt I can find a working 5.25 inch PC floppy drive lying around.

Anyone have any other ideas?

█████████████████████████
██
█████▀▀███████▀▀███████
█████▀░░▄███████▄░░▀█████
██▀░░██████▀░▀████░░▀██
██▀░░▀▀▀████████████░░▀██
██░░█▄████▀▀███▀█████░░██
██░░███▄▄███████▀▀███░░██
██░░█████████████████░░██
██▄░░████▄▄██████▄▄█░░▄██
██▄░░██████▄░░████░░▄██
█████▄░░▀███▌░░▐▀░░▄█████
███████▄▄███████▄▄███████
█████████████████████████
.
.ROOBET 2.0..██████.IIIIIFASTER & SLEEKER.██████.
|

█▄█
▀█▀
████▄▄██████▄▄████
█▄███▀█░░█████░░█▀███▄█
▀█▄▄░▐█████████▌▄▄█▀
██▄▄█████████▄▄████▌
██████▄▄████████
█▀▀████████████████
██████
█████████████
██
█▀▀██████████████
▀▀▀███████████▀▀▀▀
|.
    PLAY NOW    
DaveF
Legendary
*
Offline Offline

Activity: 4172
Merit: 7230


✅ NO KYC


View Profile WWW
April 12, 2026, 07:44:53 PM
 #9

You are going to make me buy one of these: https://www.commanderx16.com/

What emulator did you test on any non standard setting? Mine just crashes and resets when running the builds you have in /releases

Cool idea, are you going to do this for any other 6502 machines?

-Dave

 
 b1exch.to 
  ETH      DAI   
  BTC      LTC   
  USDT     XMR    
.███████████▄▀▄▀
█████████▄█▄▀
███████████
███████▄█▀
█▀█
▄▄▀░░██▄▄
▄▀██▄▀█████▄
██▄▀░▄██████
███████░█████
█░████░█████████
█░█░█░████░█████
█░█░█░██░█████
▀▀▀▄█▄████▀▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!