<?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 Twaltoner on Medium]]></title>
        <description><![CDATA[Stories by Twaltoner on Medium]]></description>
        <link>https://medium.com/@aciessnull?source=rss-74229798a59------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*fe-FDRG78LFLV1bd-94lEg.png</url>
            <title>Stories by Twaltoner on Medium</title>
            <link>https://medium.com/@aciessnull?source=rss-74229798a59------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 19:27:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aciessnull/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[Twaltoner Portfolio 2024]]></title>
            <link>https://medium.com/@aciessnull/twaltoner-portfolio-2024-40f3dd1a0251?source=rss-74229798a59------2</link>
            <guid isPermaLink="false">https://medium.com/p/40f3dd1a0251</guid>
            <category><![CDATA[twaltoner]]></category>
            <category><![CDATA[portfolio]]></category>
            <category><![CDATA[node]]></category>
            <category><![CDATA[validator-node]]></category>
            <category><![CDATA[validation]]></category>
            <dc:creator><![CDATA[Twaltoner]]></dc:creator>
            <pubDate>Fri, 26 Jul 2024 01:03:49 GMT</pubDate>
            <atom:updated>2024-10-17T12:27:41.200Z</atom:updated>
            <content:encoded><![CDATA[<h3>Operator for Staking on Subspace</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*EOTc6o4sRxh1BeQuE24apw.jpeg" /></figure><h3>Step-by-Step Registration Process</h3><h4>Step 1: Install Required Tools</h4><p>Before registering as an operator, make sure you have the following tools installed:</p><ol><li><strong>Node.js</strong> (version 14 or higher)</li><li><strong>Yarn</strong> package manager</li><li><strong>Docker</strong> to run your node services</li></ol><p>You can install these tools using the following commands:</p><ul><li>Install <strong>Node.js</strong> and <strong>npm</strong>:</li></ul><pre>sudo apt update sudo apt install nodejs npm</pre><p>Install <strong>Yarn</strong>:</p><pre>npm install --global yarn</pre><p>Install <strong>Docker</strong>: Follow instructions from the official Docker installation guide for your OS: Docker Installation</p><h4>Step 2: Clone the Autonomy Staking Repository</h4><p>After setting up the environment, clone the Autonomy staking repository using Git:</p><pre>git clone https://github.com/Autonomy-Network/staking<br>cd staking</pre><h4>Step 3: Install Dependencies</h4><p>Navigate into the staking directory and install the required dependencies:</p><pre>yarn install</pre><h4>Step 4: Generate Keys</h4><p>To participate as an operator, you will need to generate a pair of public and private keys. This key pair will allow you to sign transactions and prove your identity as an operator. You can generate the keys by running the following command:</p><pre>yarn generate-keys</pre><p>Save the private key securely, as it will not be retrievable once generated.</p><h4>Step 5: Configure Your Node</h4><p>Next, configure your operator node by setting up the required environment variables. Create a .env file in the root of the staking directory with the following content:</p><pre>PRIVATE_KEY=&lt;your_private_key&gt;<br>PUBLIC_KEY=&lt;your_public_key&gt;<br>NETWORK=&lt;network_name&gt;  # for example, &#39;mainnet&#39; or &#39;testnet&#39;</pre><p>Replace &lt;your_private_key&gt; and &lt;your_public_key&gt; with the values you generated earlier.</p><h4>Step 6: Register as an Operator</h4><p>To register your operator node on the Autonomy network, you need to run the following registration command:</p><pre>yarn register-operator</pre><p>During this step, you will be required to stake a certain amount of AUT tokens, which will lock your funds and register you as an operator. Make sure you have enough tokens in your wallet for this process.</p><h4>Step 7: Run the Operator Node</h4><p>Once registered, you can start running your operator node by executing the following command:</p><pre>yarn start</pre><p>This will launch your node and connect it to the network. You can monitor logs to ensure the node is running properly and handling tasks.</p><h4>Step 8: Monitor Your Node</h4><p>To ensure that your node is performing as expected, it’s crucial to monitor its performance. You can use Docker logs or monitoring tools like Prometheus and Grafana to track the status of your node.</p><p>Check logs with:</p><pre>docker logs -f autonomy-operator</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40f3dd1a0251" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[x/act module in the Warden Protocol]]></title>
            <link>https://medium.com/@aciessnull/crossfi-run-node-0a959bc9603c?source=rss-74229798a59------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a959bc9603c</guid>
            <category><![CDATA[node]]></category>
            <category><![CDATA[validator]]></category>
            <category><![CDATA[crossfi]]></category>
            <dc:creator><![CDATA[Twaltoner]]></dc:creator>
            <pubDate>Fri, 26 Jul 2024 00:59:05 GMT</pubDate>
            <atom:updated>2024-10-17T12:38:38.813Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/731/1*UmKWS60hK1rOK6Ot9KN1nQ.png" /></figure><h3>Creating a Simple Rule</h3><p>The following example demonstrates how to create a rule that triggers an action based on a condition:</p><pre>rule CheckThreshold {<br>  when (balanceOf(user_address) &gt; 1000) {<br>    execute(action SendReward);<br>  }<br>}</pre><p><strong>Explanation</strong>:</p><ul><li>rule CheckThreshold: Defines a new rule.</li><li>when (balanceOf(user_address) &gt; 1000): This condition checks if the user’s balance exceeds 1000 tokens.</li><li>execute(action SendReward): Executes the predefined action SendReward if the condition is met.</li></ul><h3>Defining Actions</h3><p>Actions specify the operations triggered when rules are satisfied. For instance, transferring tokens or interacting with another contract.</p><pre>action SendReward {<br>  transfer(from: contractAddress, to: user_address, amount: 50);<br>}</pre><p>This action transfers 50 tokens from contractAddress to user_address.</p><h3>Using Approvals</h3><p>Some actions might require user approvals to ensure that only authorized users can trigger them.</p><pre>action SecureAction {<br>  approval(user_address); // Requires approval from the specific user<br>  call(contractAddress.methodName(), params);<br>}</pre><p><strong>Explanation</strong>:</p><ul><li>approval(user_address): Ensures that the user has approved the action before it can be executed.</li><li>call(contractAddress.methodName(), params): Calls a function on a contract with specific parameters.</li></ul><h3>Integration with Other Modules</h3><p>The x/act module can integrate with other modules, such as managing permissions or storing complex data. Here&#39;s an example of linking it to an on-chain data store:</p><pre>rule FetchData {<br>  when (dataStore.get(&quot;key&quot;) == &quot;expectedValue&quot;) {<br>    execute(action ProcessData);<br>  }<br>}<br>action ProcessData {<br>  call(contract.processData(), [data]);<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a959bc9603c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dymension Run Node]]></title>
            <link>https://medium.com/@aciessnull/dymension-run-node-ef8d2bcaaaea?source=rss-74229798a59------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef8d2bcaaaea</guid>
            <category><![CDATA[dymension]]></category>
            <category><![CDATA[validator]]></category>
            <category><![CDATA[node]]></category>
            <dc:creator><![CDATA[Twaltoner]]></dc:creator>
            <pubDate>Fri, 26 Jul 2024 00:57:35 GMT</pubDate>
            <atom:updated>2024-07-26T00:57:35.819Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0iGbDjX_jE70bY0bgy2yhg.png" /></figure><p>Hardware and Requirements</p><pre># The one I use : <br>4 CPU - 8 RAM - 150 SSD<br><br># Foundry recommendation:<br>4 CPU - 16 RAM - 500 SSD</pre><p>Installation</p><pre># Updates:<br>sudo apt-get update &amp;&amp; sudo apt-get upgrade -y<br>apt install curl iptables build-essential git wget jq make gcc nano tmux htop nvme-cli pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev -y</pre><pre># We&#39;re installing Go:<br>rm -rf $HOME/go<br>sudo rm -rf /usr/local/go<br>cd $HOME<br>curl https://dl.google.com/go/go1.20.5.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -<br>cat &lt;&lt;&#39;EOF&#39; &gt;&gt;$HOME/.profile<br>export GOROOT=/usr/local/go<br>export GOPATH=$HOME/go<br>export GO111MODULE=on<br>export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin<br>EOF<br><br>source $HOME/.profile<br>go version</pre><p>Installing the dymension</p><pre>sudo apt install git<br>git clone https://github.com/dymensionxyz/dymension.git<br>cd dymension<br>git checkout v1.0.2-beta<br><br>make install<br><br>dymd version</pre><pre># Enter your node name and remove the quotes<br>dymd init &lt;Nodeİsmi&gt; --chain-id=froopyland_100-1</pre><p>Necessary adjustments</p><pre># seedler<br>sed -i.bak -e &quot;s/^minimum-gas-prices *=.*/minimum-gas-prices = \&quot;0.0udym\&quot;/;&quot; ~/.dymension/config/app.toml<br>external_address=$(wget -qO- eth0.me) <br>sed -i.bak -e &quot;s/^external_address *=.*/external_address = \&quot;$external_address:26656\&quot;/&quot; $HOME/.dymension/config/config.toml<br>peers=&quot;e7857b8ed09bd0101af72e30425555efa8f4a242@148.251.177.108:20556,3410e9bc9c429d6f35e868840f6b7a0ccb29020b@46.4.5.45:20556&quot;<br>sed -i.bak -e &quot;s/^persistent_peers *=.*/persistent_peers = \&quot;$peers\&quot;/&quot; $HOME/.dymension/config/config.toml<br>seeds=&quot;ade4d8bc8cbe014af6ebdf3cb7b1e9ad36f412c0@testnet-seeds.polkachu.com:20556&quot;<br>sed -i.bak -e &quot;s/^seeds =.*/seeds = \&quot;$seeds\&quot;/&quot; $HOME/.dymension/config/config.toml<br>sed -i &#39;s/max_num_inbound_peers =.*/max_num_inbound_peers = 50/g&#39; $HOME/.dymension/config/config.toml<br>sed -i &#39;s/max_num_outbound_peers =.*/max_num_outbound_peers = 50/g&#39; $HOME/.dymension/config/config.toml<br><br># trimmer and indexer<br>pruning=&quot;custom&quot;<br>pruning_keep_recent=&quot;1000&quot;<br>pruning_keep_every=&quot;0&quot;<br>pruning_interval=&quot;10&quot;<br>sed -i -e &quot;s/^pruning *=.*/pruning = \&quot;$pruning\&quot;/&quot; $HOME/.dymension/config/app.toml<br>sed -i -e &quot;s/^pruning-keep-recent *=.*/pruning-keep-recent = \&quot;$pruning_keep_recent\&quot;/&quot; $HOME/.dymension/config/app.toml<br>sed -i -e &quot;s/^pruning-keep-every *=.*/pruning-keep-every = \&quot;$pruning_keep_every\&quot;/&quot; $HOME/.dymension/config/app.toml<br>sed -i -e &quot;s/^pruning-interval *=.*/pruning-interval = \&quot;$pruning_interval\&quot;/&quot; $HOME/.dymension/config/app.toml<br>indexer=&quot;null&quot; &amp;&amp; \<br>sed -i -e &quot;s/^indexer *=.*/indexer = \&quot;$indexer\&quot;/&quot; $HOME/.dymension/config/config.toml</pre><p>Service file creation</p><pre># Service file<br>sudo tee /etc/systemd/system/dymd.service &gt; /dev/null &lt;&lt;EOF<br>[Unit]<br>Description=dymd<br>After=network-online.target<br><br>[Service]<br>User=$USER<br>ExecStart=$(which dymd) start<br>Restart=on-failure<br>RestartSec=3<br>LimitNOFILE=65535<br><br>[Install]<br>WantedBy=multi-user.target<br>EOF<br><br>sudo systemctl daemon-reload<br>sudo systemctl enable dymd<br>sudo systemctl restart dymd</pre><p>Initializing a node</p><pre># For fast matching:<br>cd $HOME<br>apt install lz4<br>sudo systemctl stop dymd<br>cp $HOME/.dymension/data/priv_validator_state.json $HOME/.dymension/priv_validator_state.json.backup<br>rm -rf $HOME/.dymension/data<br>curl -o - -L http://dymension.snapshot.stavr.tech:1019/dymension/dymension-snap.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.dymension --strip-components 2<br>mv $HOME/.dymension/priv_validator_state.json.backup $HOME/.dymension/data/priv_validator_state.json<br>wget -O $HOME/.dymension/config/addrbook.json &quot;https://raw.githubusercontent.com/obajay/nodes-Guides/main/Projects/Dymension/addrbook.json&quot;<br>sudo systemctl restart dymd &amp;&amp; journalctl -u dymd -f -o cat</pre><p>Creating a wallet</p><pre>dymd keys add &lt;walletName&gt;</pre><blockquote>Get tokens from Faucet.</blockquote><blockquote>When you SYNC, you can continue.</blockquote><p>Create a validator</p><blockquote>Set it up according to yourself:</blockquote><pre>dymd tx staking create-validator \<br>--amount 1000000udym \<br>--pubkey $(dymd tendermint show-validator) \<br>--moniker &quot;Validatörİsmi&quot; \<br>--details &quot;&quot; \<br>--chain-id froopyland_100-1 \<br>--commission-rate 0.05 \<br>--commission-max-rate 0.20 \<br>--commission-max-change-rate 0.01 \<br>--min-self-delegation 1 \<br>--from rues \<br>--gas-adjustment 1.4 \<br>--gas auto \<br>--gas-prices 0.025udym \<br>-y</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef8d2bcaaaea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Running a Validator Node on Shardeum]]></title>
            <link>https://medium.com/@aciessnull/0g-storage-node-9d59ba6e30e8?source=rss-74229798a59------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d59ba6e30e8</guid>
            <category><![CDATA[chain]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[0g]]></category>
            <category><![CDATA[0glabs]]></category>
            <dc:creator><![CDATA[Twaltoner]]></dc:creator>
            <pubDate>Wed, 17 Jul 2024 22:46:56 GMT</pubDate>
            <atom:updated>2024-10-17T12:41:43.284Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jBcmgy8dIQmpJIpklRI1mg.png" /></figure><h3>Pre-requisites</h3><p>Before starting the installation, ensure you meet the following requirements:</p><p><strong>Hardware Requirements</strong>:</p><ul><li>CPU: 4 cores</li><li>RAM: 16 GB</li><li>Storage: SSD with 100 GB of free space</li><li>Operating System: Linux (Ubuntu 20.04 or higher)</li><li>Network: High-speed internet with at least 1 Gbps bandwidth</li></ul><p><strong>Software Requirements</strong>:</p><ul><li>Docker: Ensure that Docker is installed on your system. If not, you can install it with:</li></ul><pre>sudo apt update sudo apt install docker.io sudo systemctl enable docker sudo systemctl start docker</pre><p><strong>Account Setup</strong>:</p><ul><li><strong>Wallet Address</strong>: You need a Shardeum wallet address to receive staking rewards.</li><li><strong>SHM Tokens</strong>: You will need SHM tokens to stake and run the validator. Acquire SHM from exchanges or through the faucet if you are participating in a testnet.</li></ul><h3>Step 1: Install Required Dependencies</h3><p>Update your system and install required dependencies like curl and git:</p><pre>sudo apt update &amp;&amp; sudo apt upgrade -y<br>sudo apt install curl git -y</pre><h3>Step 2: Download and Run the Shardeum Node Installer</h3><p>To simplify the process, Shardeum provides a node installer. First, clone the installer repository from GitHub:</p><pre>git clone https://github.com/shardeum/validator-node.git</pre><p>Navigate to the downloaded directory:</p><pre>cd validator-node</pre><p>Run the installer:</p><pre>./install.sh</pre><p>This script will prompt you to enter certain parameters like your node name, wallet address, and the number of SHM tokens you plan to stake. Follow the on-screen instructions carefully.</p><h3>Step 3: Configure the Node</h3><p>Once the installation is complete, you will need to configure your validator node. During the installation process, you will be asked to set up the following parameters:</p><ul><li><strong>Node Name</strong>: Provide a unique name for your validator node.</li><li><strong>Wallet Address</strong>: Input your Shardeum wallet address where rewards will be deposited.</li><li><strong>Stake Amount</strong>: Enter the number of SHM tokens you are staking. This should be at least the minimum required amount (consult Shardeum’s current requirements).</li></ul><p>After configuring these options, the system will automatically set up your node.</p><h3>Step 4: Start Your Validator Node</h3><p>Once the configuration is done, you can start your validator node using Docker. To check if the setup was successful, run:</p><pre>docker ps</pre><p>This will show a list of running Docker containers. Look for your Shardeum validator node in the list.</p><p>If the node is not running, you can start it with the following command:</p><pre>docker-compose up -d</pre><h3>Step 5: Monitor Your Validator Node</h3><p>Shardeum provides a dashboard to monitor your node. You can access it by navigating to http://localhost:8080 or through the external IP address of your server.</p><ul><li><strong>Node Status</strong>: Ensure your node is properly connected to the network and syncing blocks.</li><li><strong>Earnings</strong>: You can track how many SHM tokens you’ve earned through validation.</li></ul><h3>Step 6: Staking SHM Tokens</h3><p>Once your node is up and running, stake your SHM tokens to become an active validator. Use the Shardeum wallet interface or CLI tool to stake your tokens.</p><ol><li>Go to the staking dashboard.</li><li>Connect your wallet.</li><li>Enter the amount of SHM tokens you want to stake.</li><li>Confirm the transaction.</li></ol><p>After staking, your node will start validating transactions and earning rewards.</p><h3>Step 7: Node Maintenance and Updates</h3><p>To ensure your node continues running smoothly, regularly update both Docker and your Shardeum node software. You can update your node by pulling the latest version from the repository:</p><pre>cd validator-node<br>git pull<br>./install.sh</pre><p>Restart the Docker containers after updating:</p><pre>docker-compose down<br>docker-compose up -d</pre><p>Additionally, make sure to periodically check your node’s status via the dashboard and ensure it’s running without issues.</p><h3>Common Troubleshooting</h3><ol><li><strong>Low Disk Space</strong>: Ensure you have enough disk space for the blockchain data.</li><li><strong>Sync Issues</strong>: If your node is not syncing properly, check your internet connection and restart the node.</li><li><strong>Node Crashing</strong>: Check Docker logs for any errors. Restarting Docker often resolves temporary issues.</li></ol><pre>docker logs &lt;container-id&gt;</pre><p>Replace &lt;container-id&gt; with your node&#39;s Docker container ID.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d59ba6e30e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>