GithubHelp home page GithubHelp logo

wallet's Introduction

Firefly Wallet

Weclome to the Firefly DIY Air-gapped Hardware Wallet project.

There are still a few things we are working on, but we wanted to start getting some files into the hands of eager developers.

Also, if you haven't seen it already, please check out our crowdsale. By contributing to the project, you get your very own yourNameHere.firefly.eth ENS name on the Ethereum network and you help fund development of the Firefly.

Folders

Cases

Currently limited to 3D printable cases, but we would love to have other creative people out there contribute interesting designs.

A better 3D printable case will be published soon, but for the impatient, the prototype case is available.

Diagrams

Images and source files used to build documentation. Currently we have a circuit schematic and a breadboard layout for prototyping.

Source

The Arduino sketch and required (modified) libraries.

Future

  • Better 3D printed case; still being designed, but easier to wire (soonish)
  • Printed Circuit Board (PCB) layout for more advanced, but tinier devices (future)

License

MIT and BSD license. Each file includes license information at the top.

wallet's People

Contributors

ricmoo avatar uxio0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wallet's Issues

Debouncing button to D2

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?

Source code for the wallet is missing

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.

Help with Signatures

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

iphoneX not compatible Firefly

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?

Support for drawing Bitmaps on the oled.

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.

Support for any regular ERC-721 token.

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.

[Feature] Support Monero

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.

Bountysource

problem uploading onto arduino nano (Ubuntu18.04/Windows10)

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.

Please add mesh of case

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?

Android app and Web3 support

Hey,

I have two questions is there an Android app and can this hardware wallet be used for web3 Ethereum uses?

fatal error: asm_arm.inc: No such file or directory 185 | #include "asm_arm.inc"

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 ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.