♾️
OneFinity Docs
🎓 Learn🛠 Build💾 Testnet 👔 Protocol🔄 Bridge
  • Welcome to OneFinity
  • OneFinity
    • What is OneFinity
    • OneFinity approach
    • What is a Sovereign Shard?
  • Technology
    • Basic concepts
      • Nodes and Wallets
      • Epoch and Rounds
      • Secure Proof of Stake
      • Glossary
    • Sovereign Shard
    • WASM Virtual Machine
    • Ethereum Virtual Machine (EVM)
    • ESDT vs ERC-20
    • Run a OneFinity node
      • System Requirements
      • Configuration
      • Installation
      • Updates
      • Management
      • Nodes
        • Rating
        • Redundancy Setup
        • Configuration files
        • Operation modes
        • Node Databases
        • Import Database
        • Node CLI
      • Staking
      • Unstaking
      • Jail/Unjail
      • Staking Smart Contract
      • Keys
        • Validator Keys
        • Wallet Keys
        • Multikey nodes
  • Validators
    • Overview
    • Git repo
    • Binaries
    • Go
    • General setup
    • How to generate a Validator pem
    • Node start
    • Interact with the blockchain
    • Unjail
  • OneFinity Protocol
    • Overview
    • Governance
    • Protocol Rewards
      • Validators
      • Delegators
      • Staking Agencies
    • ONE Token
    • OG Validators: NFT Staking
  • Technical documentation
    • Overview
    • Integration of the Ethereum Virtual Machine (EVM)
    • Integration of the Ethereum Remote Procedure Call (RPC)
    • Interoperability between Ethereum and MultiversX ecosystems
    • Tools and SDKs for developers
    • Environments
  • Bridges
  • Ecosystem
  • Grants
  • FAQs
  • Social Media
  • Roadmap & Tokenomics
  • Team
Powered by GitBook
On this page
  • Ethereum Tools and SDKs
  • MultiversX Tools and SDKs
  • Lite Wallet
  1. Technical documentation

Tools and SDKs for developers

PreviousInteroperability between Ethereum and MultiversX ecosystemsNextEnvironments

Last updated 5 months ago

Ethereum Tools and SDKs

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 .


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:

  • mxpy:

  • sdk-py:

  • sdk-js: Use the below snippet

import { LibraryConfig } from "@multiversx/sdk-core"; 

LibraryConfig.DefaultAddressHrp = "one";

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

  1. Change the default address HRP

Change the DefaultAddressHrp as follows (as also described above):

LibraryConfig.DefaultAddressHrp = 'one';
  1. Change the default DappProvider configuration

<DappProvider
          ...
          customNetworkConfig={{
            ...
            apiAddress: '...',
            walletAddress: '...',
            ...
          }}>
  1. Show the web wallet button

<CrossWindowLoginButton
    {...commonProps}
    loginButtonText='Web Wallet'
/>

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 .

Hardhat Configuration
Metamask Configuration
RPC section
Updating mxpy Configuration
Changing Default HRP
mx-sdk-js-core
mx-sdk-dapp
available list