Bitcoin Forum
July 13, 2025, 01:29:32 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: implementing small wallet for embeded systems  (Read 112 times)
Alfred724 (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
October 29, 2021, 12:16:31 PM
 #1

Dear friends

I am new in this way, I want to implement or develop a minimal and light wallet for embedded systems like IoT devices with ARM  processors based microcontrollers  for example (stm32f4XX )

- my toolchain is  ARM-None-eabi-GCC as my compiler which is a cross-platform compiler.

- I used C language to develop


I would be so thankful if you can give me a hand

1- can you suggest to me some libraries and source code in c  which are designed for an embedded system?

2- do you know any topic related to this idea or GitHub ?

thank you in advance
NotATether
Legendary
*
Offline Offline

Activity: 2030
Merit: 8700


Search? Try talksearch.io


View Profile WWW
October 29, 2021, 12:33:46 PM
 #2

First of all you'll definitely need a secp256k1 library to do any kind of cryptography related to addresses, seeds and private keys.

You *might* be able to reuse the libsecp256k1 code that's bundled with bitcoin core, but I'm not sure if it has x86 assembly instructions in it (I don't think so, because Core also has ARM builds).

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
j2002ba2
Full Member
***
Offline Offline

Activity: 212
Merit: 468


View Profile
October 29, 2021, 10:26:58 PM
Merited by ABCbits (1)
 #3

1- can you suggest to me some libraries and source code in c  which are designed for an embedded system?

2- do you know any topic related to this idea or GitHub ?

You could take a look at Trezor source code: https://github.com/trezor/trezor-firmware

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4377

<insert witty quote here>


View Profile
October 30, 2021, 03:46:01 AM
Merited by ABCbits (1)
 #4

This website has a link to a few "DIY" hardware wallets based on microcontrollers: https://diybitcoinhardware.com/

They also have links to some libraries that might be of use to you like a version of secp256k1 for embedded systems. Perhaps a "hardware wallet" is not exactly what you were after, but there should be some crossover between the wallet functionality these devices try to provide and what it appears you are trying to.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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!