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/rsk-precompiled-abis
Advanced tools
Utility to interact with RSK native contracts
Here you will find the ABIs for the existing precompiled contracts in Rootstock. You will also get their addresses and a builder to use it with web3js.
Different versions of the package mentioned are required for different Rootstock releases.
Until Fingerroot, the semantic versioning of this package doesn’t correlate to the semantic versioning of Rootstock. For each named release of Rootstock, there will be a corresponding name version in npm.
This package's support starts with ORCHID.
For the installation of these package you must execute in a terminal window:
npm install @rsksmart/rsk-precompiled-abis@<version>
As an example to define and use it:
const Web3 = require('web3');
rsk-precompiled-abis
package.const precompiled = require('@rsksmart/rsk-precompiled-abis');
(i.e.: using Bridge)
var bridge = precompiled.bridge.build(new Web3('http://localhost:4444'));
getFederationAddress
, and displays its result in the console.bridge.methods.getFederationAddress().call().then(console.log);
If the version to be installed is not defined in the command line, it will install the latest version by default.
Package Version | RSK version |
---|---|
1.0.0-ORCHID | ORCHID-0.6.2 |
2.0.0-WASABI | WASABI-1.0.0 |
2.0.1-WASABI | WASABI-1.0.0 |
3.0.0-PAPYRUS | PAPYRUS-2.0.0 |
4.0.0-IRIS | IRIS-3.0.0 |
4.0.2-IRIS | IRIS-3.0.0 |
5.0.0-HOP | HOP-4.0.0 |
5.0.0-FINGERROOT | FINGERROOT-5.0.0 |
6.0.0-ARROWHEAD | ARROWHEAD-6.0.0 |
A standalone HTML project to get the RSK bridge methods selectors and events topics is included under /tools
folder, called PrecompiledAbis.html
.
Simply download it and open it in the browser, or visit https://rsksmart.github.io/precompiled-abis/ to view the available HTML tools directly from this repo.
You can see the rsk bridge abi methods and events during a given fork by selecting using the Abis For Fork dropdown.
A standalone HTML project to interact with the RSK bridge methods is included under /tools
folder, called RootstockBridge.html
.
Simply download it and open it in the browser.
It will look like this:
Simply click on any of the buttons with the name of the Bridge method that you want to call.
For the ones that accept input, simply add the inputs required and click the button.
Change the network from Testnet to Mainnet using the Network select at the top of the page.
Clear all the inputs and results clicking on the Clear button.
Copy the result by clicking on the copy icon to the right of the result box.
To use a custom network, click on Use Custom Network
checkbox and you will have a text field to input a custom url. Hit enter/return and use the tool as usual.
FAQs
Utility to interact with RSK native contracts
We found that @rsksmart/rsk-precompiled-abis demonstrated a healthy version release cadence and project activity because the last version was released less than 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
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.