Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# For mainnet
NET=mainnet
D_PATH="0H/0H"
umask 077
#cardano-address recovery-phrase generate --size 12 > byron-phrase.prv
echo "my 12 words recovery phrase" > byron-phrase.prv
@cardano-apexpool
cardano-apexpool / wallet_from_mnemonic.sh
Last active May 29, 2023 18:30
Extract the keys from the mnemonic for a Cardano wallet
#!/bin/bash
# For mainnet
NET="mainnet"
NET_WITH_PREFIX="--mainnet"
# For preprod
#NET="testnet"
#NET_WITH_PREFIX="--testnet-magic 1"
# For preview
@cardano-apexpool
cardano-apexpool / grafana-cardano-dashboard.yaml
Last active April 17, 2022 11:39
Grafana - Cardano Monitoring Dashboard
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
@cardano-apexpool
cardano-apexpool / dashboard.json
Last active April 17, 2022 10:25
Cardano Monitoring Dashboard
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
@cardano-apexpool
cardano-apexpool / haproxy.cfg
Last active February 5, 2022 16:29
haproxy configuration file
global
log /dev/log local0
log /dev/log local1 notice
maxconn 60000
chroot /var/lib/haproxy
stats socket /run/haproxy/admin.sock mode 660 level admin
stats timeout 30s
user haproxy
group haproxy
daemon
@cardano-apexpool
cardano-apexpool / activate-memory.sh
Created March 7, 2021 14:47
Online activate memory on a virtual machine after increasing memory size
#!/bin/bash
for i in $(grep offline /sys/devices/system/memory/memory*/state | cut -d\: -f1) ; do echo online > $i ; done
{
"name": "ApexTestPool",
"description": "Apex Cardano Test Pool",
"ticker": "APEXT",
"homepage": "https://cardano-apexpool.github.io/test/"
}
{
"name": "ApexPool",
"description": "Apex Cardano Pool",
"ticker": "APEX",
"homepage": "https://cardano-apexpool.github.io/"
}