Tools and SDKs for developers
Last updated
Last updated
Standard Ethereum tools are compatible with OneFinity, provided the RPC configuration is updated. Examples:
: Add OneFinity's RPC under networks
.
: Remember that MetaMask can also connect to the Remix IDE.
Websockets are currently unsupported, as noted in the .
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:
mxpy:
sdk-py:
sdk-js: Use the below snippet
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.
Change the default address HRP
Change the DefaultAddressHrp as follows (as also described above):
Change the default DappProvider configuration
Show the web wallet button
When using , ensure you have version 13.2.0-beta.2 or newer.
When using , ensure you have version 2.40.7 or newer.
Use the appropriate URLs for your environment from the .