Skip to content

Instantly share code, notes, and snippets.

@rcmorano
rcmorano / 10-cardano-addresses
Last active March 1, 2022 01:05
cardano-addresses baids
#!/bin/bash
function cardano-address-init() {
WALLETS_DIR=${HOME}/.cardano/wallets
MNEMONICS_SIZE=24
}
function cardano-address-testnet-init() {
@rcmorano
rcmorano / send-tx-thru-dandelion.sh
Created January 3, 2021 21:15
send-tx-thru-dandelion.sh
#!/usr/bin/env bash
set -e
NETWORK_MAGIC=1097911063
SOURCE_ADDRESS=$(cat ~/.cardano/wallets/testnet-repoc/payment.addr)
DESTINATION_ADDRESS=addr_test1vq87dp3djy6sz2yj23msw5d6ur96h0jsvks0p8mdwh2c0mghc68m3
PAYMENT_SKEY=${HOME}/.cardano/wallets/testnet-repoc/payment.skey
SEND_AMOUNT=10000000
@ilap
ilap / shelley_staking_ledger_addr_gen.md
Last active November 20, 2023 17:30
Extracting Pool Staking keys from Ledger wallet

Introduction for Ledger wallet based addresses

DISCLAIMER: NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK

UPDATED: 16:51pm AEST 09/Aug/2020

There are two keypairs that are required to register a pool:

  1. reward account (costs and rewards) and
  2. owner stake (pledge) keypair.

How to setup AWS lambda function to talk to the internet and VPC

I'm going to walk you through the steps for setting up a AWS Lambda to talk to the internet and a VPC. Let's dive in.

So it might be really unintuitive at first but lambda functions have three states.

  1. No VPC, where it can talk openly to the web, but can't talk to any of your AWS services.
  2. VPC, the default setting where the lambda function can talk to your AWS services but can't talk to the web.
  3. VPC with NAT, The best of both worlds, AWS services and web.