Skip to content

Instantly share code, notes, and snippets.

import "ecc/edwardsAdd.code" as add
import "ecc/edwardsScalarMult.code" as multiply
import "utils/pack/unpack256.code" as unpack256
/// Verifies match of a given public/private keypair.
///
/// Checks if the following equation holds for the provided keypair:
/// pk = sk*G
/// where G is the chosen base point of the subgroup
/// and * denotes scalar multiplication in the subgroup
@Schaeff
Schaeff / Ropsten Revert.adoc
Last active March 1, 2017 17:31 — forked from chevdor/Ropsten Revert.adoc
Ropsten Revert

Ropsten Revert Chain

  • Stop parity if running

  • download the ropsten-543210.snapshot

    wget https://transfer.sh/jDMLZ/ropsten-543210.snapshot
  • restore parity:

    parity --chain=ropsten restore ropsten-543210.snapshot