Skip to content

Instantly share code, notes, and snippets.

@aticomismana
aticomismana / cardano-address_mnemonic-generation.txt
Created May 13, 2023 14:48
How to generate a cardano-cli wallet from a mnemonic using cardano-address
mkdir wallet
cd wallet
cardano-address recovery-phrase generate --size 24 > mnemonic_phrase.prv
cardano-address key from-recovery-phrase Shelley < mnemonic_phrase.prv > root.xsk
cardano-address key child 1852H/1815H/0H/0/0 < root.xsk | cardano-address key public --with-chain-code > addr.xvk
cardano-address key child 1852H/1815H/0H/2/0 < root.xsk | cardano-address key public --with-chain-code > stake.xvk
cardano-address address payment --network-tag mainnet < addr.xvk > payment.addr
@kiriakos
kiriakos / subdirize
Created February 5, 2012 17:58
subdirize: move files in the current directory into numbered sub directories
#! /bin/bash
# This is deprecated, up to date versions can be found @
# https://github.com/kiriakos/kind-linux-tools
#version: 0.0.0.0.0.0.1
#author: Kiriakos Krastillis
#licence: attribution (cc-by) http://creativecommons.org/licenses/by/3.0/
#requires: pargs (preferably v0.0.0.0.0.0.1)
## WARNING this is a script that has been written up hastily (see version),
@avalanche123
avalanche123 / Makefile
Created October 18, 2011 23:39
new PHP project Makefile
# Makefile for php project setup
#
# You can set these variables from the command line.
AUTHOR = Author
PROJECT = Project
BUILDFILE = project.phar
SRCDIR = src
TESTDIR = tests
PHPUNITCONFIG = phpunit.xml.dist