This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# As described here: http://boxstarter.org/Learn/WebLauncher | |
# The command to run, built from the RAW link of this gist | |
# START http://boxstarter.org/package/url?https://gist.githubusercontent.com/bgriswold/c0353b081173f5a9648ad32f96533db1/raw/ | |
# Windows configuration. See http://boxstarter.org/WinConfig | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar | |
Enable-RemoteDesktop | |
Install-WindowsUpdate -AcceptEula | |
Enable-MicrosoftUpdate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// send multiple assets at once | |
// ************ run me once ************ | |
const CardanocliJs = require("/Users/drewhaines/sites/cardanocli-js/index") | |
const socketPath = | |
"/Users/drewhaines/Library/Application Support/Daedalus Mainnet/cardano-node.socket" | |
const testnet_socketPath = | |
"/Users/drewhaines/Library/Application Support/Daedalus Testnet/cardano-node.socket" | |
const shelleyGenesisPath = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var S = require("@emurgo/cardano-serialization-lib-nodejs") | |
require("dotenv").config() | |
var cbor = require("cbor") | |
walletKey = process.env.TEST_WALLET_KEY | |
// example | |
// xprv1jrxh123412341234123412341234123412341234123412341234123412341234123412341234123412341234123412341234123412341234123412341234123412341234123412341234123412342kzx | |
function harden(num) { | |
return 0x80000000 + num |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { BlockFrostAPI } from "@blockfrost/blockfrost-js" | |
import download from "download" | |
const API = new BlockFrostAPI({ | |
projectId: "YOUR_BLOCKFROST_API_KEY", // see: https://blockfrost.io | |
}) | |
try { | |
const assets = await API.assetsPolicyByIdAll( | |
"POLICY_ID" |