
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
The main entry point for an Iron Fish CLI that is capable of mining blocks and spending notes. It's created using the oclif CLI framework
If you're still in the ironfish directory in your terminal window, run cd ironfish-cli.
Next, start the CLI with this command:
yarn startRun this command in the terminal:
yarn start startInteract with the node in a new terminal window:
yarn start status
yarn start wallet:balance
yarn start faucet
yarn start wallet:send
yarn start wallet:transactions [account]
Run these commands in two different terminals:
yarn start start
yarn start start -d default -p 9033yarn start miners:start
The default thread count is 1.
You can increase the number of threads by adding --threads <number>. Use -1 to autodetect threads based on your CPU cores.
Examples:
yarn start miners:start --threads 4
yarn start miners:start --threads -1
Note: Hyperthreading (2 miner threads per CPU core) is not fully optimized yet
You should see messages in the second terminal indicating that the miner is running:
Starting to mine with 8 threadsMining block 6261 on request 1264... \ 1105974 H/s
When a block is mined, you will see a status line in the node's terminal (the first terminal):
Successfully mined block xxx (6543) has 1 transactionsSubmitting hash for block, but this does not necessarily mean you've mined a block. The block still needs to be created, validated, and checked to be heavier by the node before it can be added to the main chain.
Run these commands in two different terminals:
yarn start start -d default -p 9033yarn start start -d client -p 9034 -b ws://localhost:9033You should see connection messages indicating that the two nodes are talking to each other.
Node 1
# in tab 1
yarn start start
# in tab 2
yarn start miners:start
Node 2
# in tab 3
yarn start start --datadir ~/.ironfish2 --port 9034 --bootstrap ws://localhost:9033
# in tab 4
yarn start miners:start --datadir ~/.ironfish2
Running a Development Node
# in tab 1
yarn start start --networkId=2 --datadir ~/.ironfish-dev
# in tab 2
yarn start miners:start --datadir ~/.ironfish-dev
# in tab 3, to check the status of the node
yarn start status --datadir ~/.ironfish-dev
# in tab 3, to check the wallet balance
yarn start wallet:balance --datadir ~/.ironfish-dev
More information on local mining and testing
FAQs
CLI for running and interacting with an Iron Fish node
The npm package ironfish receives a total of 48 weekly downloads. As such, ironfish popularity was classified as not popular.
We found that ironfish demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.