<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by HeatherYOLO on Medium]]></title>
        <description><![CDATA[Stories by HeatherYOLO on Medium]]></description>
        <link>https://medium.com/@HeatherYolo?source=rss-f1750d814730------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dZWNNFW05gjibihMGRspEw.png</url>
            <title>Stories by HeatherYOLO on Medium</title>
            <link>https://medium.com/@HeatherYolo?source=rss-f1750d814730------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 15:13:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@HeatherYolo/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Tangle Tools Validator Operators API]]></title>
            <link>https://medium.com/@HeatherYolo/tangle-tools-validator-operators-api-521b8b6f8e06?source=rss-f1750d814730------2</link>
            <guid isPermaLink="false">https://medium.com/p/521b8b6f8e06</guid>
            <dc:creator><![CDATA[HeatherYOLO]]></dc:creator>
            <pubDate>Mon, 25 Nov 2024 14:56:41 GMT</pubDate>
            <atom:updated>2024-11-25T14:56:41.300Z</atom:updated>
            <content:encoded><![CDATA[<p>The Validator Operators API is part of the Tangle Tools suite, designed to provide information about validators in distributed ledger ecosystems like IOTA. It allows operators to monitor and analyze validator performance, configurations, and other relevant data.</p><p>Before diving into the code, ensure you have the necessary API credentials and access to the documentation linked above for further configuration details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o2NzEMjhGxixinrssMY5Aw.png" /></figure><h3>Setup</h3><h4>Requirements:</h4><p>Python 3.8+ installed.</p><p>Libraries: requests and json. Install them using:</p><pre>pip install requests</pre><p>Obtain your API key (if required) from the Tangle Tools portal.</p><h3>Code Example</h3><p>Below is a Python script demonstrating how to query the Validator Operators API for basic information:</p><pre>import requests<br>import json<br><br># Base URL for the API<br>BASE_URL = &quot;https://api.tangle.tools/operators/validator&quot;<br><br># Add your API key here (if required)<br>API_KEY = &quot;your_api_key_here&quot;<br><br># Headers with API key for authorization (if needed)<br>HEADERS = {<br>    &quot;Authorization&quot;: f&quot;Bearer {API_KEY}&quot;,<br>    &quot;Content-Type&quot;: &quot;application/json&quot;<br>}<br><br># Example function to fetch validator information<br>def get_validator_info(validator_id):<br>    &quot;&quot;&quot;<br>    Fetch information about a specific validator.<br>    <br>    Args:<br>        validator_id (str): The ID of the validator to query.<br>    <br>    Returns:<br>        dict: Validator information as a JSON object.<br>    &quot;&quot;&quot;<br>    url = f&quot;{BASE_URL}/{validator_id}&quot;<br>    <br>    try:<br>        # Make the GET request to the API<br>        response = requests.get(url, headers=HEADERS)<br>        <br>        # Check if the response was successful<br>        if response.status_code == 200:<br>            # Parse and return the JSON data<br>            return response.json()<br>        else:<br>            print(f&quot;Error: {response.status_code}, {response.text}&quot;)<br>            return None<br>    except Exception as e:<br>        print(f&quot;An error occurred: {e}&quot;)<br>        return None<br><br># Example usage<br>if __name__ == &quot;__main__&quot;:<br>    # Replace with an actual validator ID<br>    validator_id = &quot;example_validator_id&quot;<br>    <br>    # Fetch validator information<br>    validator_data = get_validator_info(validator_id)<br>    <br>    if validator_data:<br>        print(json.dumps(validator_data, indent=4))</pre><h3>Explanation of Key Components</h3><ol><li><strong>API Endpoint</strong>:<br>The BASE_URL is the entry point for the Validator Operators API. Append specific routes, such as /validator_id, for targeted queries.</li><li><strong>Authentication</strong>:<br>The API may require a Bearer token (API_KEY) in the Authorization header. Update the HEADERS dictionary with your credentials.</li><li><strong>Data Handling</strong>:<br>Responses are returned as JSON. Use Python’s json module to parse and handle the data effectively.</li><li><strong>Error Handling</strong>:<br>Always include error checks for HTTP response codes and exceptions during the request process to ensure reliability.</li></ol><h3>Additional Features</h3><p><strong>List All Validators</strong>: To list all available validators, query the endpoint without specifying a validator_id:</p><pre>response = requests.get(f&quot;{BASE_URL}&quot;, headers=HEADERS)</pre><p><strong>Filtering and Pagination</strong>: Many APIs offer query parameters for filtering and paginating results. Refer to the <a href="https://docs.tangle.tools/operators/validator/introduction">API documentation</a> for details.</p><p><strong>Integrating with Dashboards</strong>: You can integrate this data with visualization libraries like matplotlib or Plotly for real-time monitoring.</p><h3>Conclusion</h3><p>The Validator Operators API from Tangle Tools provides essential tools for managing and analyzing validator performance in distributed ledger systems. This guide offers a foundational approach to integrating the API into your projects. For advanced usage, explore the full API documentation and additional features.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=521b8b6f8e06" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing a Fleek Network Node]]></title>
            <link>https://medium.com/@HeatherYolo/guide-0g-storage-kv-8e050abc0859?source=rss-f1750d814730------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e050abc0859</guid>
            <category><![CDATA[0g-storage-node]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[node]]></category>
            <category><![CDATA[0glabs]]></category>
            <category><![CDATA[0g]]></category>
            <dc:creator><![CDATA[HeatherYOLO]]></dc:creator>
            <pubDate>Wed, 17 Jul 2024 08:19:47 GMT</pubDate>
            <atom:updated>2024-10-17T11:31:20.560Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*smewLOPIjRK8kugOJeBsUA.png" /></figure><h4>Prerequisites:</h4><ul><li>A Unix-like OS (Linux or macOS)</li><li>Basic terminal knowledge</li><li>curl, docker, and docker-compose installed</li></ul><h4>Step 1: Install Fleek Node</h4><p>To install the Fleek Network node, start by installing the necessary packages and dependencies. Run the following commands:</p><pre># Update your package manager<br>sudo apt update<br># Install curl if you don&#39;t have it<br>sudo apt install curl -y</pre><p>Now, fetch and execute the installation script provided by Fleek using curl:</p><pre>curl -fsSL https://get.fleek.network | bash</pre><p>This command will download and install the Fleek Network Node.</p><h4>Step 2: Configure the Node</h4><p>After the installation, you will need to configure the Fleek Network node. You can do this by modifying the config.yml file. The file should be located in the directory where the node is installed, typically in /etc/fleek-node/.</p><pre>nano /etc/fleek-node/config.yml</pre><p>Here, you can modify key parameters like node ID, network ports, and other options based on your infrastructure.</p><h4>Step 3: Start the Fleek Node</h4><p>Once the configuration is done, you can start the Fleek Node service:</p><pre>sudo systemctl start fleek-node</pre><p>Ensure the node is enabled to start on boot:</p><pre>sudo systemctl enable fleek-node</pre><h4>Step 4: Check Node Status</h4><p>Verify that your node is running properly by checking its status:</p><pre>sudo systemctl status fleek-node</pre><p>This command will show you the current status of the node and whether it’s running or has encountered any issues.</p><h4>Step 5: Health Check</h4><p>To make sure everything is functioning correctly, use the health check endpoint to get information about the node’s health:</p><pre>curl http://localhost:8000/health</pre><p>This will return JSON data about the status of the node.</p><h4>Step 6: Analyzing Node Logs</h4><p>If you run into issues or need to analyze your node’s activity, you can inspect the logs with the following command:</p><pre>journalctl -u fleek-node.service -f</pre><p>This will give you real-time log information, which can help troubleshoot any potential problems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e050abc0859" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Run Morph Node]]></title>
            <link>https://medium.com/@HeatherYolo/run-morph-node-8d9b524b1e43?source=rss-f1750d814730------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d9b524b1e43</guid>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[gui̇de]]></category>
            <category><![CDATA[validator-node]]></category>
            <category><![CDATA[node]]></category>
            <category><![CDATA[morph]]></category>
            <dc:creator><![CDATA[HeatherYOLO]]></dc:creator>
            <pubDate>Tue, 16 Jul 2024 16:01:48 GMT</pubDate>
            <atom:updated>2024-07-16T16:15:43.755Z</atom:updated>
            <content:encoded><![CDATA[<p>Good afternoon In this article I will talk about how to properly launch a Morph project node and become a full-fledged member of the network. Thanks to my guide, you can make your life easier, because you won’t have to sit on mistakes, but start everything right away!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bKE2FB833EKSe9EEJOUvCA.png" /></figure><h3>Hardware Requirement:</h3><p>This is not the simplest node; to operate, it requires running two processes at once: geth and node. Each of these processes has its own system requirements, which are written below.</p><pre># GETH<br><br>CPU: 2 cores<br>RAM: 4 GB<br>Disk: 1 TB<br>Net: 8 MBit/s<br><br># NODE<br><br>CPU: 1.4 GHz<br>RAM: 1 GB<br>Disk: 25 GB</pre><p>These requirements were taken from official sources!</p><h3>Build From Source</h3><p>At the very beginning we just need to clone Morph from the official repository, like this:</p><pre>mkdir -p ~/.morph <br>cd ~/.morph<br>git clone https://github.com/morph-l2/morph.git</pre><p>Then we go to the folder and set the current version of the project, at the moment this is the version — v0.1.0-beta</p><pre>cd morph<br>git checkout v0.1.0-beta</pre><p><strong>Build Geth</strong></p><pre>make nccc_geth</pre><p><strong>Build Node</strong></p><pre>cd ~/.morph/morph/node <br>make build</pre><p>Great! Now download the Genesis file and use it to synchronize our node!</p><h3>Install Genesis File</h3><pre>cd ~/.morph<br>wget https://raw.githubusercontent.com/morph-l2/config-template/main/holesky/data.zip<br>unzip data.zip</pre><p>Create a shared secret with node</p><pre>cd ~/.morph<br>openssl rand -hex 32 &gt; jwt-secret.txt</pre><h3>Start</h3><pre># Start GETH<br><br>./morph/go-ethereum/build/bin/geth --morph-holesky \<br>    --datadir &quot;./geth-data&quot; \<br>    --http --http.api=web3,debug,eth,txpool,net,engine \<br>    --authrpc.addr localhost \<br>    --authrpc.vhosts=&quot;localhost&quot; \<br>    --authrpc.port 8551 \<br>    --authrpc.jwtsecret=./jwt-secret.txt \<br>    --miner.gasprice=&quot;100000000&quot; \<br>    --log.filename=./geth.log</pre><pre># Start NODE<br><br>./morph/node/build/bin/morphnode --home ./node-data \<br>     --l2.jwt-secret ./jwt-secret.txt \<br>     --l2.eth http://localhost:8545 \<br>     --l2.engine http://localhost:8551 \<br>     --log.filename ./node.log</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d9b524b1e43" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setup and Using lightning-cli in Fleek Network]]></title>
            <link>https://medium.com/@HeatherYolo/side-protocol-guide-0ae7e23d49d0?source=rss-f1750d814730------2</link>
            <guid isPermaLink="false">https://medium.com/p/0ae7e23d49d0</guid>
            <category><![CDATA[side-protocol]]></category>
            <dc:creator><![CDATA[HeatherYOLO]]></dc:creator>
            <pubDate>Tue, 16 Jul 2024 13:36:27 GMT</pubDate>
            <atom:updated>2024-10-17T11:36:26.517Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*Z3evX_XfgHv4RO5rGUJVkw.png" /></figure><h4>Step 1: Install lightning-cli</h4><p>The Fleek Network node is integrated with lightning-cli, a command-line interface for managing Lightning Network interactions.</p><p>First, ensure you have installed the necessary dependencies and have Docker installed on your system. After that, clone the Fleek Node repository:</p><pre>git clone https://github.com/fleek-network/fleek-node.git<br>cd fleek-node</pre><p>You can then use Docker to run the Lightning node and lightning-cli.</p><h4>Step 2: Run the Lightning Node</h4><p>Before using lightning-cli, you need to ensure the Lightning Node is running. You can start the Lightning node using Docker:</p><pre>docker-compose up -d</pre><p>This will run the Lightning node in the background, making it accessible through lightning-cli.</p><h4>Step 3: Using lightning-cli</h4><p>With the Lightning node up and running, you can start interacting with it via lightning-cli. To check whether the service is responding, run:</p><pre>docker exec -it fleek-node lightning-cli getinfo</pre><p>This command will return JSON data, providing information about the current status of your Lightning node.</p><h4>Example Commands:</h4><p><strong>Generate an Invoice</strong>: You can generate a Lightning Network invoice for receiving payments with the following command:</p><pre>docker exec -it fleek-node lightning-cli invoice 1000 &quot;test_label&quot; &quot;Test payment&quot;</pre><p>This will create an invoice for 1000 millisatoshis (msat), with the description “Test payment”.</p><p><strong>Get Node Balance</strong>: Check your node’s balance by running:</p><pre>docker exec -it fleek-node lightning-cli listfunds</pre><ul><li>This will return information about the available funds and channels.</li></ul><p><strong>Connect to Another Node</strong>: To connect to another Lightning node, you’ll need its node ID and IP address. Run the following command to establish a connection:</p><pre>docker exec -it fleek-node lightning-cli connect &lt;NODE_ID&gt;@&lt;IP_ADDRESS&gt;</pre><p>Replace &lt;NODE_ID&gt; and &lt;IP_ADDRESS&gt; with the relevant values.</p><h4>Step 4: Analyzing Logs</h4><p>If you need to inspect the logs for debugging purposes, you can follow these steps:</p><p><strong>Check System Logs</strong>: To get real-time logs for the Lightning Node, use journalctl:</p><pre>journalctl -u fleek-node-lightning.service -f</pre><p><strong>Docker Logs</strong>: If you want to check logs for the Docker container running your Lightning Node:</p><pre>docker logs -f fleek-node</pre><p>This will provide real-time logging for the node inside the Docker container.</p><h4>Step 5: Stopping the Node</h4><p>When you want to stop the Lightning node, you can use:</p><pre>docker-compose down</pre><p>This will shut down the node while preserving your configuration and data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0ae7e23d49d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stroom Network Validator Guide]]></title>
            <link>https://medium.com/@HeatherYolo/how-to-run-0g-storage-node-fc3924208346?source=rss-f1750d814730------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc3924208346</guid>
            <category><![CDATA[0g]]></category>
            <category><![CDATA[0glabs]]></category>
            <dc:creator><![CDATA[HeatherYOLO]]></dc:creator>
            <pubDate>Tue, 16 Jul 2024 13:01:29 GMT</pubDate>
            <atom:updated>2024-10-17T11:25:50.318Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CkwaA1eFVNNUMYpD4699Ug.jpeg" /></figure><h3>1. Generate Schnorr Key Pair</h3><p>Validators use a <strong>Schnorr key pair</strong> for signing and interacting with the network.</p><pre># Generate a private key<br>openssl ecparam -name secp256k1 -genkey -noout -out schnorr-key.pem<br># Output the public key<br>openssl ec -in schnorr-key.pem -text -noout</pre><p>This will generate your private key (stored in schnorr-key.pem) and display your public key.</p><h3>2. Set Up Docker Environment</h3><p>The validator node operates inside a Docker container for ease of deployment. Install Docker on your system if it’s not already installed:</p><pre># For Ubuntu systems<br>sudo apt update<br>sudo apt install docker.io<br># Start Docker<br>sudo systemctl start docker<br>sudo systemctl enable docker</pre><p>Once Docker is installed and running, create a docker-compose.yml file that will orchestrate the services for the validator.</p><h3>3. Create Docker Compose Configuration</h3><p>Create a docker-compose.yml file with the following content:</p><pre>version: &#39;3&#39;<br>services:<br>  stroom-validator:<br>    image: stroomnetwork/stroom-validator:latest<br>    container_name: stroom-validator<br>    restart: always<br>    ports:<br>      - &quot;8545:8545&quot;  # Expose Ethereum RPC port<br>    environment:<br>      ETH_RPC_URL: &lt;your-ethereum-rpc-url&gt;  # Set your Ethereum node URL<br>      BITCOIN_NODE_URL: &lt;your-bitcoin-node-url&gt;  # Set your Bitcoin node URL<br>      LIGHTNING_NODE_URL: &lt;your-lightning-node-url&gt;  # Set your Lightning node URL<br>      VALIDATOR_KEY: /path/to/schnorr-key.pem<br>    volumes:<br>      - ./schnorr-key.pem:/path/to/schnorr-key.pem<br>      - ./validator_data:/var/lib/stroom-validator</pre><p>In this configuration, you need to replace the environment variables ETH_RPC_URL, BITCOIN_NODE_URL, and LIGHTNING_NODE_URL with the actual endpoints for your respective nodes.</p><p>The volumes section maps your local Schnorr key and validator data directory to the container.</p><h3>4. Running the Validator Node</h3><p>After configuring your docker-compose.yml, start the validator with:</p><pre>docker-compose up -d</pre><p>This command will pull the latest stroom-validator image and start your node in the background. Check if it&#39;s running:</p><pre>docker ps</pre><p>This should list your stroom-validator container. You can view logs to ensure it&#39;s working correctly:</p><pre>docker logs stroom-validator</pre><h3>5. Set Up PostgreSQL for Data Persistence</h3><p>Validators need to persist data for the node. A <strong>PostgreSQL</strong> instance is required for this:</p><pre>docker run --name stroom-postgres -e POSTGRES_PASSWORD=yourpassword -d postgres</pre><p>You can configure the validator to connect to this PostgreSQL instance by adding this to the docker-compose.yml file under the stroom-validator service:</p><pre>environment:<br>  POSTGRES_HOST: stroom-postgres<br>  POSTGRES_DB: stroomdb<br>  POSTGRES_USER: stroomuser<br>  POSTGRES_PASSWORD: yourpassword</pre><p>You also need to adjust the docker-compose.yml to start the stroom-postgres container along with the validator:</p><pre>services:<br>  stroom-postgres:<br>    image: postgres<br>    environment:<br>      POSTGRES_DB: stroomdb<br>      POSTGRES_USER: stroomuser<br>      POSTGRES_PASSWORD: yourpassword<br>    volumes:<br>      - stroom-postgres-data:/var/lib/postgresql/data<br>  stroom-validator:<br>    depends_on:<br>      - stroom-postgres</pre><h3>6. Join the Stroom Network</h3><p>Once the validator is set up and running, you’ll need to share your public Schnorr key with the Stroom team or participate in the initial setup ceremony.</p><p>Validators are responsible for contributing to the consensus and securing the network, so ensuring that all components (Ethereum, Bitcoin, Lightning nodes) are connected properly is essential.</p><h3>7. Additional Configurations (Optional)</h3><ul><li><strong>Monitoring</strong>: Set up monitoring for your node using Prometheus or any other system monitoring tools.</li><li><strong>Backup</strong>: Regularly backup your Schnorr key and PostgreSQL data to avoid data loss.</li></ul><h3>8. Upgrading the Node</h3><p>To pull updates for the validator image, run:</p><pre>docker-compose pull stroom-validator<br>docker-compose up -d</pre><p>This will ensure your node is running the latest version.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc3924208346" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Running a Kwil Node]]></title>
            <link>https://medium.com/@HeatherYolo/how-to-run-0g-validator-node-f2150d3049d6?source=rss-f1750d814730------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2150d3049d6</guid>
            <dc:creator><![CDATA[HeatherYOLO]]></dc:creator>
            <pubDate>Wed, 10 Jul 2024 09:07:52 GMT</pubDate>
            <atom:updated>2024-10-17T11:44:32.562Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*yUWG3_njZMTsKOXCplzExA.jpeg" /></figure><h3>Step 1: Set Up the Kwil Node Docker Container</h3><ol><li><strong>Pull the Kwil Node Image</strong> The first step is to pull the Kwil Node image from Docker Hub. Use the following command:</li></ol><pre>docker pull kwilteam/kwil</pre><ul><li>This downloads the latest Kwil Node image to your local machine.</li></ul><p><strong>Run the Docker Container</strong> Once the image is pulled, you can run the Kwil node in a container. Run this command to start the container:</p><pre>docker run -d -p 7777:7777 kwilteam/kwil</pre><ul><li>This command starts the container and exposes port 7777, which allows you to access the Kwil Node.</li></ul><h3>Step 2: Set Up Kwil Client</h3><p>The Kwil client allows you to interact with your node and manage your databases.</p><p><strong>Install the Kwil CLI</strong> To install the Kwil CLI, run the following command using npm:</p><pre>npm install -g @kwil/kwil</pre><p>Alternatively, you can also use yarn:</p><pre>yarn global add @kwil/kwil</pre><p><strong>Configure the CLI</strong> Once installed, configure the CLI to point to your Kwil node. Set the node URL by running:</p><pre>kwil config set-node-url http://localhost:7777</pre><h3>Step 3: Connect to the Network</h3><p>Kwil uses decentralized networks to manage its databases. You need to choose which network to connect your node to.</p><p><strong>Available Networks</strong> Kwil supports multiple networks:</p><ul><li><strong>Mainnet</strong>: The production network for real data.</li><li><strong>Testnet</strong>: For testing and development purposes.</li></ul><p><strong>Switch Network</strong> To switch between networks, use the following CLI command:</p><pre>kwil config set-network &lt;network-name&gt;</pre><ul><li>Replace &lt;network-name&gt; with either mainnet or testnet, depending on your use case.</li></ul><h3>Step 4: Create a Kwil Database</h3><p>Once your node is set up and connected to the network, you can start creating and managing databases.</p><p><strong>Create a New Database</strong> Run the following command to create a new database:</p><pre>kwil create-db --name &lt;database-name&gt;</pre><ul><li>Replace &lt;database-name&gt; with your desired name for the database.</li></ul><p><strong>Manage Your Database</strong> After creating the database, you can perform various operations like inserting data, querying the database, and managing permissions. For detailed instructions, refer to the Kwil documentation.</p><h3>Step 5: Monitor the Kwil Node</h3><p>To ensure your Kwil Node is running smoothly, you can monitor it using Docker:</p><p><strong>Check Node Logs</strong> To view logs from the running node, use this command:</p><pre>docker logs &lt;container-id&gt;</pre><ul><li>Replace &lt;container-id&gt; with your specific container&#39;s ID, which you can get by running docker ps.</li></ul><p><strong>Stop/Restart the Node</strong> To stop the node:</p><pre>docker stop &lt;container-id&gt;</pre><ul><li>To restart the node:</li></ul><pre>docker restart &lt;container-id&gt;</pre><h3>Troubleshooting</h3><p>If you run into any issues while setting up or running the Kwil node, here are some troubleshooting steps:</p><ul><li><strong>Connection Issues</strong>: Ensure that the node’s port (7777) is open and properly exposed.</li><li><strong>Docker Issues</strong>: Make sure Docker is running properly. Restarting Docker often resolves unexpected issues.</li><li><strong>Node Not Starting</strong>: Check the logs using docker logs &lt;container-id&gt; to identify errors.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2150d3049d6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s good about Initia?]]></title>
            <link>https://medium.com/@HeatherYolo/whats-good-about-initia-1ca008478ac1?source=rss-f1750d814730------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ca008478ac1</guid>
            <dc:creator><![CDATA[HeatherYOLO]]></dc:creator>
            <pubDate>Fri, 05 Jul 2024 15:38:19 GMT</pubDate>
            <atom:updated>2024-10-17T11:48:00.868Z</atom:updated>
            <content:encoded><![CDATA[<h3>Private Network with Kwil Nodes</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*CNDaHBhT-N6L3pWnKVC26Q.png" /></figure><h3>Step 1: Install Kwil Node</h3><p>Before creating a private network, ensure you have Kwil Node installed. You can do this by following the official installation guide.</p><h3>Step 2: Initialize Your Node</h3><p>Once Kwil Node is installed, you can initialize it using the following command:</p><pre>kwil init</pre><p>This will generate configuration files for your Kwil node in the default directory. These files can be customized later to suit your private network needs.</p><h3>Step 3: Network Configuration</h3><p>To set up a private network, you will need to modify the config.toml file, located in the Kwil node’s configuration directory. Open the file with a text editor of your choice and look for the following fields:</p><h3>a. Network ID</h3><p>The network_id field uniquely identifies your private network. Assign a unique ID to your network:</p><pre>network_id = &quot;your_private_network_id&quot;</pre><p>This ID ensures that only nodes with the same network_id can communicate with each other.</p><h3>b. Boot Nodes</h3><p>Boot nodes are the entry points for nodes in your private network. You will need to specify the IP addresses of these nodes. For example:</p><pre>boot_nodes = [&quot;enode://your_boot_node_ip_address&quot;]</pre><p>These addresses should be accessible only within your private network.</p><h3>c. Discovery Protocol</h3><p>To prevent nodes from discovering your private network automatically, set the discovery protocol to private:</p><pre>discovery_protocol = &quot;private&quot;</pre><p>This ensures that only authorized nodes can connect to your network.</p><h3>Step 4: Security and Access Control</h3><p>Securing your private network is critical. Ensure the following:</p><h3>a. Firewalls and Port Management</h3><p>Configure firewalls to allow connections only from trusted IP addresses. Use the following default ports for Kwil node communication:</p><ul><li><strong>TCP/UDP Port 30303</strong>: For P2P communication.</li><li><strong>TCP Port 8545</strong>: For RPC communication.</li></ul><p>Only allow these ports to be open to your network participants.</p><h3>b. Authentication</h3><p>Kwil supports using cryptographic keys for node authentication. Generate a key pair for each node participating in your network and distribute the public keys to the trusted nodes. Each node should use its private key to authenticate during the connection.</p><h3>Step 5: Running the Node on the Private Network</h3><p>Once you’ve configured your node, start it using the following command:</p><pre>kwil start</pre><p>Your node will now operate within the private network using the specified network ID and boot node settings.</p><h3>Step 6: Adding Additional Nodes</h3><p>To add additional nodes to your private network, repeat the above steps on each new node. Ensure that each node:</p><ul><li>Uses the same network_id.</li><li>Has the same list of boot_nodes.</li><li>Is configured to communicate over the specified ports.</li></ul><h3>Example for Adding a Node</h3><ol><li>Install the Kwil node on the new machine.</li><li>Modify the config.toml file with the same network ID and boot nodes as the initial setup.</li><li>Start the node:</li></ol><pre>kwil start</pre><h3>Step 7: Monitoring and Managing the Network</h3><h3>a. Logs and Diagnostics</h3><p>Monitor your Kwil node’s logs for any connection issues or unauthorized attempts to access the private network. You can view logs with:</p><pre>tail -f /var/log/kwil-node.log</pre><h3>b. Network Health</h3><p>Use the Kwil CLI to check the status of nodes within the private network. For example, to check node health, run:</p><pre>kwil node status</pre><p>This command provides details on the connection status and peer information.</p><h3>c. Upgrading the Node</h3><p>Keep your node up to date by regularly checking for updates and applying them as necessary. Updating your node ensures that you have the latest security patches and performance improvements.</p><h3>Step 8: Troubleshooting</h3><p>If you encounter issues with your private network:</p><ul><li>Verify that all nodes are using the same network_id.</li><li>Check firewall settings to ensure the correct ports are open.</li><li>Ensure that the discovery protocol is set to “private” and that boot nodes are correctly listed.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ca008478ac1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Describe a Resource in Axone]]></title>
            <link>https://medium.com/@HeatherYolo/heatheryolo-noder-introduce-9d43af4e0fc3?source=rss-f1750d814730------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d43af4e0fc3</guid>
            <dc:creator><![CDATA[HeatherYOLO]]></dc:creator>
            <pubDate>Thu, 13 Oct 2022 13:50:45 GMT</pubDate>
            <atom:updated>2024-10-17T11:53:29.790Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*Qv0MFR1KgOpt5XSvyxCQEA.png" /></figure><h4>1. Prerequisites</h4><p>Before describing a resource, ensure you have:</p><ul><li>Axone installed and set up in your environment.</li><li>A valid API key with sufficient permissions.</li></ul><h4>2. What is a Resource in Axone?</h4><p>A resource in Axone is an entity you want to monitor, interact with, or manage. It can be a service, a collection of data, or an application running in your environment.</p><h4>3. Steps to Describe a Resource</h4><p>To describe a resource using Axone, follow these steps:</p><p><strong>1. Log in to Axone:</strong> Make sure you’re authenticated in your Axone environment. Use your API credentials to log in.</p><pre>axone login --api-key &lt;your-api-key&gt;</pre><p><strong>2. Identify the Resource:</strong> The resource you wish to describe must be identified by its unique ID or name. If you’re unsure of the resource’s ID, you can list available resources using:</p><pre>axone resource list</pre><p><strong>3. Describe the Resource:</strong> To retrieve and view details about a specific resource, use the following command:</p><pre>axone resource describe &lt;resource-id&gt;</pre><ol><li>Replace &lt;resource-id&gt; with the actual ID of the resource you&#39;re interested in.</li></ol><p><strong>4. Output:</strong> The command will return a detailed description of the resource, including:</p><ul><li><strong>ID</strong>: The unique identifier of the resource.</li><li><strong>Name</strong>: The name assigned to the resource.</li><li><strong>Type</strong>: The type of the resource (e.g., service, data set, application).</li><li><strong>State</strong>: The current state of the resource (active, inactive, etc.).</li><li><strong>Metadata</strong>: Additional information related to the resource (e.g., tags, labels, ownership).</li></ul><p>Example output:</p><pre>{   &quot;id&quot;: &quot;resource-123&quot;,   &quot;name&quot;: &quot;MyAppService&quot;,   &quot;type&quot;: &quot;service&quot;,   &quot;state&quot;: &quot;active&quot;,   &quot;metadata&quot;: {     &quot;owner&quot;: &quot;team-operations&quot;,     &quot;tags&quot;: [&quot;production&quot;, &quot;critical&quot;]   } }</pre><h4>4. Additional Options</h4><p><strong>Filtering Resources:</strong> You can filter the list of resources by applying filters like name, type, or tags:</p><pre>axone resource list --filter &quot;type=service&quot;</pre><p><strong>Updating Resource Descriptions:</strong> If you need to update the metadata or description of a resource, use the update command:</p><pre>axone resource update &lt;resource-id&gt; --name &quot;NewName&quot; --tags &quot;updated&quot;</pre><h4>5. Summary</h4><p>Describing a resource in Axone helps you get detailed information about its state, type, and other metadata. This can be especially useful for managing services, ensuring uptime, or troubleshooting.</p><p>Key commands:</p><ul><li>axone login --api-key &lt;your-api-key&gt; — Log in to Axone.</li><li>axone resource list — List all available resources.</li><li>axone resource describe &lt;resource-id&gt; — Retrieve details about a specific resource.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d43af4e0fc3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>