Skip to content

Instantly share code, notes, and snippets.

View anonymoussprocket's full-sized avatar
🌴
On vacation

anonymoussprocket

🌴
On vacation
View GitHub Profile
@abrkn
abrkn / drainTezosAccount.ts
Created July 4, 2020 11:24
Move the remaining balance of a Tezos account to the specified destination
import * as Conseil from 'conseiljs';
import { SoftSigner } from 'conseiljs-softsigner';
import { ns } from '@sideshift/shared';
import {
initializeConseil,
TezosRpcClient,
getTezosKeyStoreFromSecret,
createLogger,
} from '@sideshift/shared-node';