Skip to main content
Module

x/subshell/subsh-deno

Substrate API playground in a Deno πŸ¦• repl, using polkadot-js extension as remote signer ✍️. Say goodbye to hardcoded mnemonics / seeds in dev scripts!πŸ‘‹
Go to Latest
File
#!/usr/bin/env bash
# not in dockerif [[ -z "$RUNNING_IN_DOCKER" ]]; then cd $(dirname $(realpath $0))fi
deno(){ subshell "$@"# /bin/deno "$@"}
if [[ "$1" == cache ]]; then until deno run --unstable cache.ts --compat --cache-only do sleep 1 done deno run --unstable cache.ts --compatelse deno repl --unstable --eval-file=init.ts --compatfi