firefly / wallet Goto Github PK
View Code? Open in Web Editor NEWThe (original) Firefly hardware wallet base on the ATmega processors.
Home Page: https://firefly.city
License: MIT License
The (original) Firefly hardware wallet base on the ATmega processors.
Home Page: https://firefly.city
License: MIT License
Had this error message when I tried uploading the code via firefly.ino (this is from using the Ubuntu)
It looks to me theres an issue in the column size and also ive got to set a certain programmer?
Maybe theres a tutorial out there to help a noob like me
Arduino: 1.8.5 (Linux), Board: "Arduino Nano, ATmega328P"
Build options changed, rebuilding all
/home/ubuntu/Arduino/libraries/firefly_blecast/src/aes-otfks-decrypt.c: In function 'aes_mix_columns':
/home/ubuntu/Arduino/libraries/firefly_blecast/src/aes-otfks-decrypt.c:321:9: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
memset(temp_column, 0, AES_COLUMN_SIZE);
^
/home/ubuntu/Arduino/libraries/firefly_blecast/src/aes-otfks-decrypt.c:321:9: warning: incompatible implicit declaration of built-in function 'memset'
/home/ubuntu/Arduino/libraries/firefly_blecast/src/aes-otfks-decrypt.c:331:9: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
memcpy(&p_block[i * AES_COLUMN_SIZE], temp_column, AES_COLUMN_SIZE);
^
/home/ubuntu/Arduino/libraries/firefly_blecast/src/aes-otfks-decrypt.c:331:9: warning: incompatible implicit declaration of built-in function 'memcpy'
/home/ubuntu/Arduino/libraries/firefly_blecast/src/aes-otfks-decrypt.c: In function 'aes_mix_columns_inv':
/home/ubuntu/Arduino/libraries/firefly_blecast/src/aes-otfks-decrypt.c:352:9: warning: incompatible implicit declaration of built-in function 'memset'
memset(temp_column, 0, AES_COLUMN_SIZE);
^
/home/ubuntu/Arduino/libraries/firefly_blecast/src/aes-otfks-decrypt.c:364:9: warning: incompatible implicit declaration of built-in function 'memcpy'
memcpy(&p_block[i * AES_COLUMN_SIZE], temp_column, AES_COLUMN_SIZE);
^
/home/ubuntu/Arduino/libraries/firefly_blecast/src/firefly_blecast.c: In function 'blecast_poll':
/home/ubuntu/Arduino/libraries/firefly_blecast/src/firefly_blecast.c:674:31: warning: initialization makes integer from pointer without a cast
uint8_t whitenIndex = whitenMask + radio_getChannel(message) * 17;
^
Sketch uses 28146 bytes (91%) of program storage space. Maximum is 30720 bytes.
Global variables use 383 bytes (18%) of dynamic memory, leaving 1665 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I bought a couple of the hardware wallet kits at ETHWaterloo and the instructions and source were supposed to be posted within days but they still aren't available.
This is not really an issue with firefly, but I am exploring making a wallet on a different hardware and would like to reuse your ethers.c code
But when I try to compile ethers lib for this hardware : Allwinner V3s (ARM Cortex A7-A)
I get the following error
fatal error: asm_arm.inc: No such file or directory
185 | #include "asm_arm.inc"
any clue on what I should put in asm_arm.inc ?
Feature: Support Monero
Why?: Monero is an amazing privacy coin. Great for users who do not want their balance publicly available. Plenty of wallets written both in C++ and Rust
Want to support this issue? Post a bounty on it! We accept bounties via BountySource.
Just wanted to say I really like the project, very cool use of an arduino (or microcontroller in general).
Though if you would allow me, I have a question about your schematic. I see that you have a pull-down resistor to D2, however I am wondering what the input noise is like. It doesn't look like you are debouncing in hardware. Is this something you are solving in software? It seems like it would be more appropriate to add a 0.1uF capacitor as well?
Hi,
I accidentally bought the wrong Oled screen. I bought this one Monochrome 0.96" 128x64 OLED graphic display https://www.adafruit.com/product/326 instead.
I was wondering if there is any way to rewire it or change the source code to make it work with this screen instead.
It has 8 pins instead of 4, the pin schematics are here https://learn.adafruit.com/monochrome-oled-breakouts/wiring-128x64-oleds
any help is greatly appreciated.
thank you.
Hey,
I have two questions is there an Android app and can this hardware wallet be used for web3 Ethereum uses?
Hey guys!
Thanks a lot for putting this project together. I wanted to ask you if I can use this wallet to sign and store a regular ERC-721 token (other than a cryptokitty). I presume I'll have to implement the standard functions as per the spec and minting the token myself, but how would I transfer that token to this wallet? Will I use an app like Ethers, metamask, etc.
I downloaded Sketchup, and tried exporting .obj
files of the case, but when I do it, part of one of the sides seems to be non manifold, and so it's unprintable.
Could you also add some correctly meshed versions of the case, so they're ready to be 3D printed, without needing sketchup?
Realize this is an old project, and also realize this was made for an Arduino, but having an issue with signing on Windows 10.
New to both C++ and Ethereum development, so bear with me if you would. This project of yours has been invaluable in learning both!
The signature doesn't appear to be valid after passing a proper hash and private key to it. The private key works with obtaining the public key, so pretty sure that's solid. The keccak hash appears to be working correctly as it returns an expected hash value. The signature does indeed return a value of a valid length, but it does not appear compatible with latest versions of signature validation.
Would you be willing to spend any additional time on this to help me through it? Thank you in advance!
verifySig.txt
Hi Richard, I'm trying to draw a Bitmap on the OLED with this wallet. From the code, it looks like you have developed a custom display driver to account for performance of the oled. My bitmap is made up of a collection of hexadecimal codes like the following.
static unsigned char PROGMEM const bitmap[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xff, .....
}
Should I be using display_chunks or display_bigChars to draw the Bitmap? Any pointers from you would be useful.
Use iphoneX click Authorize with Friefly Wallet
button, the Firefly doesn't have echo.
But use iphone 6 plus, Firefly have echo: 0xca....09d2, 0.001, ok?
HI where can i download the IOS in the video, have button “sign with firefly hareware”,or the IOS source code,it is very import to me , THX ~~!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.