IneryCRUD
a simple example to push transaction to inery blockchain.
This ineryCRUD tutorial are also available on my gitbook https://docs.codeblocklabs.com/testnet/inery/inerycrud Video Tutorial also available on
Prerequisites
To run these scripts, you'll need to have Node.js installed on your machine. You can download the latest version of Node.js from the official website: https://nodejs.org/.
you can check if the installation were succesfull using command:
You'll also need to install the dependencies required for these scripts. To do this, open a terminal and navigate to the root directory of the project, then run the following command:
This will install the dependencies specified in the package.json file.
You'll also need to create a .env file in the root directory of the project. This file should contain the following environment variables:
Replace the placeholders in angle brackets with the appropriate values for your setup.
This need your account to have deploy value contract on your account (use my example on https://docs.codeblocklabs.com/testnet/inery/value-contract if haven't check it yet)!
Installation
To get started, clone the repository by running the following command in your terminal:
This will create a copy of the project files in a new directory named IneryCRUD.
Usage Test
To use the scripts, navigate to the root directory of the project in your terminal by running the following command:
Add New Data
To create new data on the Inery blockchain, run the following command:
Read Data
To read data on the Inery blockchain, run the following command:
Update Data
To update data on the Inery blockchain, run the following command:
Delete Data
To delete data on the Inery blockchain, run the following command:
Create New Tokens
To create new token on the Inery blockchain, run the following command:
Issue Tokens
To issue token on the Inery blockchain, run the following command:
Transfer Tokens
To read data on the Inery blockchain, run the following command:
===========================================
For more documentation you can go to my official documentation site on https://docs.codeblocklabs.com
join my telegram web3 community on https://t.me/codeblocklabs
Last updated