Bitcoin Forum
April 27, 2024, 04:30:08 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: implementing small wallet for embeded systems  (Read 77 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
1714235408
Hero Member
*
Offline Offline

Posts: 1714235408

View Profile Personal Message (Offline)

Ignore
1714235408
Reply with quote  #2

1714235408
Report to moderator
1714235408
Hero Member
*
Offline Offline

Posts: 1714235408

View Profile Personal Message (Offline)

Ignore
1714235408
Reply with quote  #2

1714235408
Report to moderator
1714235408
Hero Member
*
Offline Offline

Posts: 1714235408

View Profile Personal Message (Offline)

Ignore
1714235408
Reply with quote  #2

1714235408
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714235408
Hero Member
*
Offline Offline

Posts: 1714235408

View Profile Personal Message (Offline)

Ignore
1714235408
Reply with quote  #2

1714235408
Report to moderator
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6688


bitcoincleanup.com / bitmixlist.org


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).

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
j2002ba2
Full Member
***
Offline Offline

Activity: 204
Merit: 437


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: 4316

<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!