
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@hoprnet/hopr-ethereum
Advanced tools
HOPR is a privacy-preserving messaging protocol that incentivizes users to participate in the network. It provides privacy by relaying messages via several relay nodes to the recipient. Relay nodes are getting paid via payment channels for their services.
Hopr-ethereum contains the on-chain logic that is used to process payments for hoprnet.org on the Ethereum blockchain.
# 1. Installs dependancies
yarn
# 1. Runs linter
# 2. Compiles smart contracts
# 3. Generates smart contracts' typescript types
# 4. Compiles migrations to `.js`
yarn build
yarn test
tip: we can use truffle's debug feature to seemingly debug our tests, take look at this example
npx hardhat coverage
tip: see coverage results by launching
./coverage/index.html
To deploy locally, run
rm -rf deployments/hardhat-localhost deployments/hardhat-localhost2 && yarn deploy:local
For public network migrations (rinkeby, kovan, etc), you will have to create a .env file within the root directory of this project.
# local migration
yarn network
# public migration
yarn migrate --network matic
You can follow the auditing process over at hopr-audits.
We use solhint's recommended preset to perform linting onto our smart contracts.
FAQs
On-chain logic for hoprnet.org
The npm package @hoprnet/hopr-ethereum receives a total of 1,892 weekly downloads. As such, @hoprnet/hopr-ethereum popularity was classified as popular.
We found that @hoprnet/hopr-ethereum demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.