Crates.io | novax |
lib.rs | novax |
version | 0.1.20 |
source | src |
created_at | 2023-10-02 16:00:44.666882 |
updated_at | 2024-10-30 14:43:08.867187 |
description | NovaX is your go-to toolkit for building robust software seamlessly interacting with the MultiversX blockchain. |
homepage | |
repository | https://github.com/gfusee/novax |
max_upload_size | |
id | 990095 |
size | 41,105 |
NovaX is your go-to toolkit for building robust software seamlessly interacting with the MultiversX blockchain. Harness the power of smart contract interactions, code generation, and automatic type conversion all checked at compile time to ensure maximum safety and efficiency.
Result
type.ManagedBuffer
, ManagedVec
, etc., into native Rust types such as String
, Vec
, and more, whether for input or output.NovaX is versatile and tailored for developers looking to build robust, efficient, and testable solutions on top of the MultiversX blockchain. Here are some scenarios where NovaX shines:
Build backend systems with confidence. NovaX's type-safety and autocompletion enable you to interact with the blockchain with less worry about runtime errors. Its mocking and cloning features allow for thorough testing to ensure your backend remains robust.
Developing bots to interact with the blockchain has never been easier. Whether you are building trading bots, monitoring bots, or any other automated system, NovaX provides the tools to ensure your bot operates reliably and efficiently.
Craft scripts for deploying contracts, managing upgrades, or interacting with existing contracts on the blockchain. NovaX’s code generation from ABIs simplifies script creation and execution, saving time and reducing errors.
Generate insightful data reports from blockchain data. Easily fetch, analyze, and report on token properties, address balances, and contract interactions. NovaX’s caching feature minimizes the load on the blockchain, ensuring your data reporting is efficient and timely.
Mocking and simulation are essential for testing and verifying your smart contract transactions. With NovaX, easily create mocked environments and simulate transactions to ensure your smart contract logic is flawless before deploying to the real blockchain.
Follow these steps to seamlessly integrate NovaX into your project:
Create a folder named .novax
at the root of your project. Inside .novax
, create a subfolder called abis
where you'll store all the ABIs of the contracts you wish to interact with.
mkdir -p .novax/abis
Inform Cargo and the library about the location of the abis
folder by setting an environment variable. Ideally, add the following snippet to your .cargo/config.toml
:
[env]
NOVAX_PATH = { value = ".novax", relative = true }
Add novax
to your Cargo.toml
file under the [dependencies]
section:
[dependencies]
novax = "0.0.22"
Now, build your project and dive into the development. For a richer experience, enable autocompletion by ensuring your IDE re-indexes the Cargo project:
cargo build
With these steps completed, you're all set to make the most out of the NovaX toolkit!