Old CodeBlockLabs
VPS Recomendation
  • Home
  • 🌹Social Media
  • 🚰Testnet Faucet List
  • 🚰Mainnet Faucet List
  • 🔥Mainnet
    • Akash
    • Arcadia (Paw)
      • Installation
      • RPC Command
      • CLI
      • Fast Sync
    • Arkhadian
      • Installation
      • Update
      • Useful Commands
    • Banano
      • Installation
      • Node Configuration
      • RPC Command
      • CLI
      • Useful Command
    • DO Network
      • Install & Update
      • RPC Documentation
    • Kadena
      • Installation
      • Mining
    • Massa
      • Installation
    • Newrl
      • Installation
      • Useful Command
      • Update
    • Q Blockchain
      • Installation
      • Block stuck?
    • RaiblocksOne
      • Installation
      • Update
      • RPC Command
    • Raicoin
      • Installation
    • SGE
      • Installation
      • Update
      • Useful Commands
  • 💎Testnet
    • 0G Labs
      • Installation
      • Useful Commands
    • 5ire Chain
      • Installation
      • WASM Contract Deployment
    • Avail
      • Installation
    • BEVM
      • Installation
        • Docker
        • Binary
    • Blockx
      • Installation
      • Useful Commands
      • Incentivized Task
    • Elys
      • Installation
      • Useful Commands
    • Empeiria
      • Installation
      • Snapshot
      • Useful Commands
        • Wallet Management
        • Validator Management
        • Node Management
        • Governance
    • Impact Protocol
      • Installation
    • Erbie (wormholes)
      • Installation
      • RPC Documentation
      • Debug
    • Inery
      • Installation
      • Create Token
      • Value Contract
      • IneryCRUD
      • IneryPHP
      • Snapshots
    • Mantra
      • Installation
      • Useful commands
    • Naruno
      • Baklava Testnet
    • Nolus Protocol
      • Installation
      • Update
      • Snapshots
      • Relayer
      • Useful Commands
    • Noria
      • Installation
      • Update
      • State Sync
      • Useful Commands
    • Nibiru
      • Installation
      • Update
      • Useful Commands
    • Nulink
      • Installation
    • Ojo Network
      • Installation
      • Update
      • Useful Commands
    • PowerLoom
      • Pretest Task
    • The Power
      • Installation
    • Transformers Chain
      • Install & Update
      • RPC Documentation
  • âš¡VPS Provider
    • Contabo
      • Links To Provider
      • Promotion / Coupon
    • Vultr
      • Link To Provider
      • Promotion / Coupon
  • 😇solution
    • Docker
    • EVM Wallet by PrivateKey
    • Multiple Go
Powered by GitBook
On this page
  • Prerequisites
  • Installation
  • Usage Test
  1. Testnet
  2. Inery

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/.

sudo apt update
sudo apt install nodejs

you can check if the installation were succesfull using command:

node -v

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:

npm install

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:

NODE_URL=<your_inery_node_address:port>
PRIVATE_KEY=<your_private_key>
INERY_ACCOUNT=<your_inery_account_name>

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:

git clone https://github.com/pramonoutomo/IneryCRUD.git

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:

cd ~/IneryCRUD

Add New Data

To create new data on the Inery blockchain, run the following command:

npm run Data_Add

Read Data

To read data on the Inery blockchain, run the following command:

npm run Data_Read

Update Data

To update data on the Inery blockchain, run the following command:

npm run Data_Update

Delete Data

To delete data on the Inery blockchain, run the following command:

npm run Data_Delete

Create New Tokens

To create new token on the Inery blockchain, run the following command:

npm run Token_Create

Issue Tokens

To issue token on the Inery blockchain, run the following command:

npm run Token_Issue

Transfer Tokens

To read data on the Inery blockchain, run the following command:

npm run Token_Transfers

===========================================

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

PreviousValue ContractNextIneryPHP

Last updated 2 years ago

💎