Giter VIP home page Giter VIP logo

anyledger-wallet's Introduction

anyledger-wallet

Overview

๐Ÿฆ AnyLedger Embedded Hardware wallet for Internet of Things

C crypto libraries to safely manage, generate and store private keys, to generate blockchain addresses and to sign transactions.

Additionally, it contains a RTOS app (Zephyr). The current implementation uses Ethereum, but the same architecture will be used for all the other chains. The current implementation is using Nordic nRF52840.

Any IoT device flashing the embedded wallet can safely connect to a given blockchain, do transactions and interact with smart contracts. The connection itself is given by AnyLedger Hub which, among the many functionalities, runs the blockchain nodes, the LWM2M server and gives access to storage solutions.

Future improvements in the pipeline: support for Trusted Execution Environment, FreeRTOS support, ESP32 support and more.

Contributing

Have a look at our contribution guidelines.

Compilation

Dependencies

tests/x86 builds

Linux

apt-get install libgtest-dev g++ make cmake wget build-essential clang clang-tidy-3.8 ninja-build

macOS

GTest:

git clone https://github.com/google/googletest 
cd googletest  
mkdir build  
cd build  
cmake ..  
make  
make install

Additional dependencies (installed using Homebrew):

brew install gcc make cmake wget ninja

Python (this is required for ABI compiler)

pip3 install --user -r requirements.txt

solidity compiler

A working solc should be available in your $PATH. See the Installation instructions.

x86 build

This build is used to develop and test the wallet library on your desktop.

  1. clone wallet repo git clone [email protected]:AnyLedger/anyledger-wallet.git && cd anyledger-wallet

  2. create build directory and generate build targets mkdir build && cd build && cmake -GNinja ../

  3. compile the library & run the tests ninja && ctest

zephyr build

Prerequisites: a working zephyr SDK (at least v0.9.5), see here for instructions. Please make sure you can compile and flash at least blinky example before building the wallet.

  1. clone wallet repo to the zephyr's samples directory mkdir samples/anyledger/ && git clone [email protected]:AnyLedger/anyledger-wallet.git

  2. create build directory and generate build targets cd samples/anyledger/anyledger-wallet/build && cmake -GNinja -DBOARD=nrf52840_pca10056 -DBUILD_XCOMPILE=1 ../

  3. compile & flash the firmware ninja && ninja flash

Using AnyLedger wallet

To start AnyLedger wallet using a QEMU virtual machine, see here.

anyledger-wallet's People

Contributors

bdjukic avatar devtodev avatar lorepieri8 avatar marcinwilkabl avatar mohitkagnihotri avatar npes-95 avatar pcppcp avatar vishav26 avatar wilkwilq avatar wonjongshin avatar

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.