Tools and SDKs for developers
Ethereum Tools and SDKs
Standard Ethereum tools are compatible with OneFinity, provided the RPC configuration is updated. Examples:
Hardhat Configuration: Add OneFinity's RPC under
networks
.Metamask Configuration: Remember that MetaMask can also connect to the Remix IDE.
Websockets are currently unsupported, as noted in the RPC section.
MultiversX Tools and SDKs
Since OneFinity inherits MultiversXβs framework, its tools and SDKs are fully compatible.
Key difference in tool usage: OneFinity requires a custom HRP (βoneβ) for address formatting. When working with bech32 addresses, you may need to specify this custom HRP.
Check the examples below on how to correctly use the tools/SDKs:
sdk-py: Changing Default HRP
sdk-js: Use the below snippet
Lite Wallet
Similar to the MultiversX web wallet, this solution allows logging in using either a PEM file or a Keystore. It also offers functionalities such as issuing tokens, creating NFTs, and sending transactions. Essentially, it's a "lite" version of the MultiversX web wallet, tailored for sovereign chains.
How to integrate the Lite Wallet in OneFinity dApps
Change the default address HRP
When using mx-sdk-js-core, ensure you have version 13.2.0-beta.2 or newer.
When using mx-sdk-dapp, ensure you have version 2.40.7 or newer.
Change the DefaultAddressHrp as follows (as also described above):
Change the default DappProvider configuration
Use the appropriate URLs for your environment from the available list.
Show the web wallet button
Last updated