Skip to content

Instantly share code, notes, and snippets.

@tiffany4772
tiffany4772 / set-home-domain.js
Created June 16, 2020 00:42
set-home-domain.js
// Sample code to log a validator's home domain on ledger:
//
// Copyright (c) 2020, Tiffany Hayden
// Licensed under the 3-Clause BSD License
const StellarSdk = require('stellar-sdk')
function usage() {
console.log('');
console.log('Usage:');
### Keybase proof
I hereby claim:
* I am tiffany4772 on github.
* I am haydentiff (https://keybase.io/haydentiff) on keybase.
* I have a public key ASC2JGS-CUwxwZObKZYIzGbiB4KZXUulerlVXTHB05BYWgo
To claim this, I am signing this object:
### Keybase proof
I hereby claim:
* I am haydentiff on github.
* I am tiffanyhayden (https://keybase.io/tiffanyhayden) on keybase.
* I have a public key ASABu_5-46TV3haTuiKBZt92tp78TYuxNKPQCpUmXPJwTAo
To claim this, I am signing this object: