Skip to content

Instantly share code, notes, and snippets.

@laplasz
laplasz / restapi.md
Last active January 23, 2021 16:35
RestAPI access using shell script or php

Using HTTP Basic authentication where username is the api key and password is the calculated request signature that changes with every request. The signature is a hex-encoded HMAC-SHA1 hash calculated from the canonical request using provided secret. Canonical request takes form of {http method} {complete request path} {unix timestamp}, e.g. GET /v1/some/url?attributes=123&some=aaa 1548240417 Date header contains RFC 1123 compliant date format (The script can be used for access the Webonic API)

@laplasz
laplasz / shelley_staking_gen.md
Last active August 4, 2020 15:54 — forked from ilap/shelley_staking_gen.md
Extracting Pool Staking keys from Daedalus/Yoroi wallet

Intorduction

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

UPDATED: 09:10pm AEST 29/7/2020

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

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