MCPcopy Create free account
hub / github.com/B3Pay/B3Wallet / copy-wasm.ts

File copy-wasm.ts

scripts/copy-wasm.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// copy user wasm from canisters/b3wallet/b3wallet.wasm to public/canisters/b3wallet.wasm
2import { existsSync, mkdirSync, readdirSync, statSync, writeFileSync } from "fs"
3import { copyFile } from "fs/promises"
4import path from "path"

Callers

nothing calls this directly

Calls 1

copyFunction · 0.85

Tested by

no test coverage detected