Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@rsksmart/bridge-state-data-parser
Advanced tools
Utility to get the RSK Powpeg current bridge state
Library to get the current bridge state. This include available UTXOs, pegout requests waiting to be processed, pegout transactions waiting for signatures, pegout transactions waiting for block confirmations to be signed and broadcasted and also the next pegout creation block number.
npm install
To see the current status of pegouts on the provided network, run:
For mainnet:
node sample/sample.js mainnet
For testnet:
node sample/sample.js testnet
Or pass a network url for regtest:
node sample/sample.js http://localhost:4444
To run test with coverage, run:
npm test
To run tests on a specific file, fun:
npm test test/testfilepath
Example:
npm test test/pegout-waiting-confirmation.test.js
We are using nyc code coverage, so when running the tests, nyc will create a code coverage report and print it in the console.
To run the eslint and prettier check, run:
npm run lint
This will check and show if the code complies with our standard.
To get eslint and prettier help you make the required changes, you can run:
npm run lint:fix
This command will try to fix the errors, leaving the ones it cannot fix to the developer to solve manually.
For any comments or suggestions, feel free to contribute or reach out at our Discord server.
FAQs
Utility to get the RSK Powpeg current bridge state
We found that @rsksmart/bridge-state-data-parser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.