Skip to content

cryptogarageinc/wallet-for-testing-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wallet-for-testing-js

build

npm install

use library

const WalletManager = require('wallet-for-testing-js');

use wallet console app

node wallet-console.js

use single console app

  • windows
debug_tx.bat xxxxx
  • macos or linux
debug_tx.sh xxxxx

test

docker-compose run wallet-test

note

When using node.js 18 or higher

In node.js 18 or higher, emscripten for cfd-js-wasm does not work properly. Therefore, it is necessary to run with the '--no-experimental-fetch' option.

# shell
NODE_OPTIONS="--no-experimental-fetch" npm run test

# power shell
$env:NODE_OPTIONS="--no-experimental-fetch"
npm run test

# command prompt
set NODE_OPTIONS="--no-experimental-fetch"
npm run test