Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
spacemesh-local-testnet
Advanced tools
This repo contains the CLI for running a 10 node Spacemesh testnet locally on one computer. To learn more about the Spacemesh cryptocurrency visit https://spacemesh.io .
The local testnet is 100% built from open source code from the Spacemesh github repos, and doesn’t use any prepackaged pre-built binaries.
Install the CLI locally using the following command
npm install -g spacemesh-local-testnet
To create a local network run the below command:
spacemesh-local-testnet create
And to delete the network run the below command:
spacemesh-local-testnet delete
You can enter spacemesh-local-testnet --help
to see the available options.
To create a network using go-spacemesh local code, first run the below command in go-spacemesh directory:
docker build -t spacemesh:local .
Then run the following command to use the image build above:
spacemesh-local-testnet create --go-sm-image=spacemesh:local
Using CLI wallet you can import cli-wallet.json file and use the account to create token transfer transactions. The account is pre-filled in the genesis configuration.
Run the following command locally to publish new version to npm
npm run build
cd dist && npm publish
FAQs
CLI tool to start a spacemesh network locally
The npm package spacemesh-local-testnet receives a total of 3 weekly downloads. As such, spacemesh-local-testnet popularity was classified as not popular.
We found that spacemesh-local-testnet demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.