UNPKG

@hashgraph/hedera-cli

Version:

CLI tool to manage and setup developer environments for Hedera Hashgraph.

12 lines (8 loc) 323 B
const fs = require('fs'); async function main() { console.log('Start clearing state/state.json file'); const baseState = await fs.readFileSync('./src/state/base_state.json', 'utf8'); fs.writeFileSync('./src/state/state.json', baseState); console.log('Finished clearing state/state.json file'); } main();