graph TD
subgraph OverviewGraph [Overview]
Mnemonic[["fa:fa-list-ul mnemonic"]]
RootKeyPair(["fa:fa-key Root KeyPair"])
SpendKeyPair(["fa:fa-key Spending KeyPair"])
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Key Derivation & Address Test Vectors for Cardano Shelley Addresses | |
# =================================================================== | |
# | |
# Shelley CDDL Specification (draft): | |
# | |
# https://github.com/input-output-hk/cardano-ledger-specs/blob/bf4b79f3e937ac3a584161101f2230d2406ff0ae/shelley/chain-and-ledger/executable-spec/cddl-files/shelley.cddl | |
# | |
# Shelley HD Wallets Specification: |
# /project_dir/CMakeLists.txt
# ------------------------------------------------------------------------------
# Coverage 1:2
# ------------------------------------------------------------------------------
if (CMAKE_BUILD_TYPE STREQUAL "Coverage")
add_definitions(-Wno-unused-command-line-argument)
endif() #CMAKE_BUILD_TYPE STREQUAL "Coverage"
# Download and install dependencies.
brew update
brew install doxygen gcc git
pip3 install virtualenv
# Install the latest clang see: https://formulae.brew.sh/formula/llvm
brew install llvm@7
# Fetch source code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************************* | |
* This file is part of the ARK Ledger App. | |
* | |
* Copyright (c) ARK Ecosystem <[email protected]> | |
* | |
* The MIT License (MIT) | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to | |
* deal in the Software without restriction, including without limitation the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Check that a Strings is alphanumeric (0-9 | a-z | A-Z) | |
* | |
* Faster than regex | |
* - src: https://stackoverflow.com/a/25352300 | |
* | |
* @param str | |
* @returns {boolean} true if alphanum., false if not alphanum. or length is 0 | |
*/ | |
export function isAlphaNumeric(str) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************************* | |
* This file is part of the ARK Ledger App. | |
* | |
* Copyright (c) ARK Ecosystem <[email protected]> | |
* | |
* The MIT License (MIT) | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to | |
* deal in the Software without restriction, including without limitation the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef TOKEN_PRINTING_H | |
#define TOKEN_PRINTING_H | |
#include <stddef.h> | |
#include <stdint.h> | |
#include <string.h> | |
//////////////////////////////////////////////////////////////////////////////// | |
static size_t adjustDecimals(const char *src, size_t srcSize, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Linker doesn't play nice with Vagrants directory mapping when building for the NanoX. | |
# credit to @patriksletmo for the tip. | |
# clean the current project | |
make clean | |
# clear the NanoX build destination | |
sudo rm -rf /home/ubuntu/ledger-app-ark |