
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
grin-client
Advanced tools
A JavaScript client for Grin's V1 API.
$ npm install grin-client
const GrinClient = require('grin-client');
(async function () {
const API_SECRET = '...';
const grin = new GrinClient({
protocol: 'http',
hostname: '127.0.0.1',
port: 3413,
username: 'grin',
password: API_SECRET,
});
try {
const status = await grin.status();
const block = await grin.blocks(13474);
// ...
} catch(e) {
console.log(e);
}
})();
.blocks(id)
id: <string> can be hash, height or commit.
.headers(id)
id: <string> can be hash, height or commit.
.chain()
.chainCompact()
.chainValidate()
.chainOutputsByIds(ids)
ids: <string[]>
.chainOutputsByHeight(obj)
obj: <Object>
startHeight: <integer>
endHeight: <integer>
.status()
.txhashsetRoots()
.txhashsetLastOutputs(n)
n: <integer>
.txhashsetLastRangeProofs(n)
n: <integer>
.txhashsetLastKernels(n)
n: <integer>
.txhashsetOutputs(obj)
obj: <Object>
startIndex: <integer>
max: <integer>
.txhashsetMerkleProof(id)
id: <string>
.pool()
.peersBan(addr)
addr: <string>
.peersUnban(addr)
addr: <string>
.peersAll()
.peersConnected()
.peers(addr)
addr: <string>
grin-ql-js
API mimblewimble/grin
MIT
FAQs
A JavaScript client for Grin's V1 API.
The npm package grin-client receives a total of 1 weekly downloads. As such, grin-client popularity was classified as not popular.
We found that grin-client 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.