Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@rei-network/core
Advanced tools
[![NPM Version](https://img.shields.io/npm/v/@rei-network/core)](https://www.npmjs.org/package/@rei-network/core) ![License](https://img.shields.io/npm/l/@rei-network/core)
The core logic of blockchain node, including:
BlockchainMonitor
: Contains several events
logs
: Emit when a new transaction's log is generatedremovedLogs
: Emit when the transaction has been rolled backnewHeads
: Emit when canonical chain changesIndexer
and BloomBitsFilter
: Create bloom bits index for section
Consensus
: Consensus engine implement
Protocols
: P2P protocols, include rei-ethwire
and rei-consensus
Txpool
: Manage pending and queued transactions
Sync
: Synchronize blocks
TxSync
: Synchronize transactions
Tracer
: Tracer provides an implementation of tracing blocks or transactions
Contracts
: Some classes are used to interact with the smart contract
Validation
: Contains the logic to verify the block
Hardforks
: Contains logic related to the hard fork
npm install @rei-network/core
const node = await NodeFactory.createNode({
databasePath: "path/to/dataDir",
chain: "chainName",
mine: {
enable: true,
coinbase: "address1",
},
network: {
enable: true,
},
account: {
keyStorePath: "path/to/keystore",
unlock: [
["address1", "passphrase1"],
["address2", "passphrase2"],
],
},
});
await node.abort();
FAQs
[![NPM Version](https://img.shields.io/npm/v/@rei-network/core)](https://www.npmjs.org/package/@rei-network/core) ![License](https://img.shields.io/npm/l/@rei-network/core)
The npm package @rei-network/core receives a total of 6 weekly downloads. As such, @rei-network/core popularity was classified as not popular.
We found that @rei-network/core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.