Anryton

Technical Details of Anryton’s Layer 1 Blockchain

Signature Algorithm

Anryton supports multiple signature algorithms to ensure secure and reliable transactions on its network. These include:
  • ECDSA: Elliptic Curve Digital Signature Algorithm, widely used in blockchain networks for secure transaction verification.
  • ED25519: A modern public-key signature system that offers enhanced security and speed.
Anryton also adheres to the EIP-712 standard, which defines a structured and secure way to sign off-chain data, adding a layer of protection for interactions with dApps and other external tools.

Public RPC Node URL

For developers and users looking to interact with the Anryton blockchain, a public RPC node is available at:

Public RPC URL: jsrpc.anryton.com

This node provides a gateway for connecting applications, wallets, and other services to the Anryton blockchain in a secure and scalable manner.

Machine Hardware Requirements

To set up and run an Anryton node, the following hardware specifications are recommended:

  • CPU: At least 4 physical CPU cores.
  • Storage: A minimum of 500GB of NVME SSD storage for fast data access and optimal performance.
  • Memory: A minimum of 32GB of RAM to ensure smooth operation and handling of large datasets.
    Note: For nodes requiring more computational power, such as validators or high-traffic dApps, additional CPU and memory resources may be necessary.

Hard Disk Type and Space

Anryton requires at least 500GB of NVME SSD storage, which ensures fast data processing and retrieval. The use of NVME SSD over traditional hard drives significantly improves the node’s performance, especially under heavy load conditions.

Wallet/Node Installation

Anryton supports both Ubuntu 16.04 and Ubuntu 18.04 for node or wallet installation. Detailed installation guides for setting up a node on these platforms are available in Anryton’s official documentation, guiding users through the steps for proper configuration, syncing, and maintaining a node on the network.

Exchange Integration and RPC Methods

Anryton supports a variety of JSON-RPC methods that facilitate smooth interaction with its blockchain, particularly for Ethereum-compatible applications. The following key namespaces are supported:

1. Ethereum Namespace (eth):

  • eth_getBalance: Returns the balance of a specified account.
  • _getStorageAt: Fetches storage data from a specific location at a given block.
  • eth_getTransactionCount: Retrieves the total number of transactions sent from a given address.
  • eth_getBlockTransactionCountByNumber: Returns the number of transactions in a block by its number.
  • eth_getBlockTransactionCountByHash: Returns the number of transactions in a block by its hash.
  • eth_getCode: Retrieves the code stored at a specified address.
  • eth_sign: Signs a message with a private key.
  • eth_sendTransaction: Sends a transaction to the network for processing.
  • eth_sendRawTransaction: Sends a pre-signed raw transaction to the network.
  • eth_call: Executes a smart contract method without creating an actual transaction.
  • eth_estimateGas: Estimates the gas required to execute a transaction.

2. Debug Namespace (debug):

Provides several non-standard RPC methods to help developers debug and inspect the blockchain’s current state.

3. Transaction Pool Namespace (txpool):

  • txpool_content: Shows the detailed content of the transaction pool.
  • _inspect: Provides insights into the current state of the transaction pool.
  • _status: Displays the status of the transaction pool.

Anryton supports JSON-RPC over HTTP and WebSocket protocols, providing flexible integration options for developers.

Example cURL Commands

To interact with the Anryton blockchain via RPC, you can use the following cURL command as an example to fetch the balance of a specified address:

curl -X POST –data ‘{“jsonrpc”:”2.0″,”method”:”eth_getBalance”,”params”:
[“0xYourAddress”, “latest”],”id”:1}’ -H “Content-Type: application/json”
http://localhost:8545

This command can be easily adapted for other RPC methods based on the parameters required for your use case.

How to Generate an Address/Mnemonic for Deposits

Generating a wallet address or mnemonic for users to deposit funds is a crucial part of interacting with the Anryton blockchain. Follow these steps to generate or retrieve Ethereum-compatible addresses using JSON-RPC:

Set Up Your Environment: Ensure that you have access to an Anryton node with JSON-RPC enabled. You can either:

  • Use the public RPC endpoint at jsrpc.anryton.com.
  • Run your own Anryton node to enable complete control over your environment.

Generate or Retrieve an Address Using the eth_accounts Method,.

curl -X POST –data ‘{“jsonrpc”:”2.0″,”method”:”eth_accounts”,”params”:[],”id”:1}’ -H “Content-Type: application/json” http://localhost:8545

This command will return a list of wallet addresses controlled by the client that you can use for deposits.

How to Retrieve Block Information

Anryton provides a set of JSON-RPC methods for retrieving key block information. Example command:

curl -X POST –data ‘{“jsonrpc”:”2.0″,”method”:”eth_getBlockByNumber”,”params”:
[“0xBlockNumber”, true],”id”:1}’ -H “Content-Type: application/json”
http://localhost:8545

Iterating Through Transactions by Transaction IDs

Use the eth_getTransactionByHash method to fetch transaction details:
curl -X POST –data ‘{“jsonrpc”:”2.0″,”method”:”eth_getTransactionByHash”,”params”:[“0xYourTransactionHash”],”id”:1}’ -H “Content-Type: application/json”
http://localhost:8545

Comparison to Popular Cryptocurrencies

Anryton is a highly scalable, EVM-compatible Layer 1 blockchain built on the Cosmos SDK and utilizing the Tendermint Core consensus algorithm.

RPC Client Support in Java

There is no dedicated Java RPC client for Anryton, but Java developers can interact with the Anryton blockchain using libraries that support Ethereum JSON-RPC APIs. Since Anryton is EVM-compatible, any Java library that can connect to Ethereum’s JSON-RPC interface (such as Web3j) can be used to perform transactions, query account balances, and interact with smart contracts on Anryton.

Transaction Types: Transfer, Swap, Mint, and Batch Send

Anryton supports multiple transaction types, leveraging the Cosmos and Ethereum ecosystems. Below is an overview of these transaction types:

Cosmos Transactions

Cosmos-based transactions in Anryton consist of multiple messages (sdk.Msg) that trigger state changes within Cosmos modules. Key features include:

  • Multiple Messages: Cosmos transactions can bundle multiple messages into a single transaction, unlike Ethereum transactions.

Components:

  • Msgs: An array of actions to be executed.
    GasLimit: The maximum amount of gas the user is willing to pay for executing the transaction.
  • FeeAmount: The fee amount for the transaction.

Ethereum Transactions

Cosmos-based transactions in Anryton consist of multiple messages (sdk.Msg) that trigger state changes within Cosmos modules. Key features include:

  • Recipient: The address receiving the tokens.
  • Signature: The signature of the sender to validate the transaction.
  • Nonce: A counter for the number of transactions sent from the sender’s account.
  • Value: The amount of tokens to be transferred (in wei).
  • Data: Arbitrary data for smart contract interactions.
  • GasLimit: The maximum gas consumption.
    maxPriorityFeePerGas and
  • maxFeePerGas: Used for fee calculation, supporting EIP-1559 fee structures.

This website and all information contained herein are provided solely for informational and operational purposes regarding our platform’s utility token. Our token is a utility token intended exclusively for use within our platform ecosystem. It does not represent equity, ownership, or any share in profits or revenue of the issuing company. Read More