Skip to content

Instantly share code, notes, and snippets.

@amatiash
amatiash / get-my-kin.js
Last active November 13, 2021 05:42
Convert Stellar KIN keys into Solana KIN keypair
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var web3_js_1 = require("@solana/web3.js");
var hex_to_32_1 = __importDefault(require("hex-to-32"));
var atob_1 = __importDefault(require("atob"));
var bs58_1 = __importDefault(require("bs58"));
// ----------------------------------------------------
@amatiash
amatiash / remove
Created April 20, 2021 16:38
Git remove submodule completely
git submodule deinit -f page-editor
rm -rf .git/modules/page-editor
git rm -f page-editor