DailyChain
  • Introduction
  • Getting Started
    • Network Information
    • Setting Up a Connection
  • DEVELOPER RESOURCES
    • Deploying Smart Contract
    • Local Daily Node
    • Token Creator
    • NFT & Token API
    • Resources
    • Node Ports
    • Auto Installation
  • Daily Wallet
    • Privacy Policy
Powered by GitBook
On this page
  • System Configuration
  • Running a Local Single-node Testnet
  1. DEVELOPER RESOURCES

Local Daily Node

In this tutorial, we will lead you through the steps of configuring the Daily blockchain on your local machine.

System Configuration

Requirements

These are the minimum requirements to run a Daily node. On systems with lower configurations , the node may lag behind the network .

Network
CPU Cores
RAM
Disk

daily_4568-1

4 Cores / 4 threads

8 GB

200 GB

Running a Local Single-node Testnet

To launch Daily locally, execute the following command:

Copy

bash ./init.sh

Upon executing the initialization script, the dailyd process will be active, managing a solitary local node. Furthermore, it will initiate 50 accounts.

To verify the status of the local blockchain, launch a new terminal window and input:

Copy

dailyd status | jq

If the blockchain is functioning correctly, you should observe an output resembling the following:

Copy

{
  "NodeInfo": {
    "protocol_version": {
      "p2p": "8",
      "block": "11",
      "app": "0"
    },
    "id": "a855b2b855b2bd0b02ba855b2bd0b0fbff262b",
    "listen_addr": "tcp://0.0.0.0:26656",
    "network": "daily_4568-1",
    "version": "0.34.29",
    "channels": "40202122233038606100",
    "moniker": "Seed Node",
    "other": {
      "tx_index": "on",
      "rpc_address": "tcp://127.0.0.1:26657"
    }
  },
  "SyncInfo": {
    "latest_block_hash": "15A5AFADA0CC889D0B6A4EC8B3D674B1F49579F788CCC97E18AF67E69D45495C",
    "latest_app_hash": "F3598A8162125245EE588D6DB84DD22DF716E9393368A773F2B0BDC81F329DD8",
    "latest_block_height": "1",
    "latest_block_time": "2023-09-10T20:35:03.921149138Z",
    "earliest_block_hash": "C60E86738A483E7D333ABF42F5514A211ABBA4E35C0EB71C77FA83B1E6C59FFB",
    "earliest_app_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
    "earliest_block_height": "1",
    "earliest_block_time": "2023-08-27T13:58:02.893526633Z",
    "catching_up": false
  },
  "ValidatorInfo": {
    "Address": "1DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD",
    "PubKey": {
      "type": "tendermint/PubKeyEd25519",
      "value": "agx7jclXSrtaa859b7jclXSrtaa859bvbzqpbmM3tfs="
    },
    "VotingPower": "900000"
  }
}
PreviousDeploying Smart ContractNextToken Creator

Last updated 9 months ago