Skip to content

Instantly share code, notes, and snippets.

@dcolley
dcolley / ada-pool.metaspan.json
Last active October 9, 2021 15:31
metaspan Cardano ADA Pool meta
{
"name": "metaspan",
"description": "metaspan Cardano Stake Pool",
"ticker": "MSPN",
"homepage": "https://metaspan.com"
}
/*
Checks if an address has votes, and removes them if needed
Edit the NODE_WS_URL as needed
*/
import { Keyring, ApiPromise, WsProvider } from '@polkadot/api'
import readline from 'readline';
const NODE_WS_URL = 'wss://rpc.ibp.network/kusama'
// const NODE_WS_URL = 'wss://rpc.ibp.network/polkadot'
const { spawn } = require('child_process');
const split2 = require('split2');
const moment = require('moment');
const TIMEOUT = 300 * 1000; // nn seconds, in milliseconds
const ECHOLOG = false;
// DEBUG: minumum is 'info', we need info to see log messages!
const DEBUG = '-linfo'
// const DEBUG = '-lsync=debug,gossip=debug,peerset=debug,sub-libp2p=info' // '-ldebug'
// const DEBUG = '-ldebug' // VERY verbose, kills the terminal

Release Management

Goals

We need to release our tools and libraries in a way that is easy to use and contribute.

  • github.com for issues and pull requests
  • git for version control
  • Git branching model
  • Git Release management[?]