<?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 Arnab Kar (DC) on Medium]]></title>
        <description><![CDATA[Stories by Arnab Kar (DC) on Medium]]></description>
        <link>https://medium.com/@DC.600?source=rss-c70cb843a7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*gAzEcLVC_DXh93s9qduRrA.jpeg</url>
            <title>Stories by Arnab Kar (DC) on Medium</title>
            <link>https://medium.com/@DC.600?source=rss-c70cb843a7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 09:42:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@DC.600/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[Introducing Privana: A Deep Dive into Features]]></title>
            <link>https://medium.com/coinmonks/introducing-privana-a-deep-dive-into-features-998cd58f268f?source=rss-c70cb843a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/998cd58f268f</guid>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[oasisnetwork]]></category>
            <category><![CDATA[privacy-by-design]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[privana]]></category>
            <dc:creator><![CDATA[Arnab Kar (DC)]]></dc:creator>
            <pubDate>Sun, 22 Nov 2026 18:03:09 GMT</pubDate>
            <atom:updated>2026-11-23T07:15:14.502Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/975/0*IIxF87coDQRqINs4.png" /></figure><p>Private decentralized finance (DeFi) is a direction that various protocols and projects are exploring. Oasis, with its focus on smart privacy, is building its own DeFi application, Privana, on its on-chain and off-chain tech stack for confidentiality and security.</p><p>In the earlier parts of this series, we covered the <a href="https://medium.com/coinmonks/introducing-privana-a-deep-dive-into-core-concepts-8f96ec299227">core concepts</a> of Privana and the <a href="https://medium.com/coinmonks/introducing-privana-a-deep-dive-into-underlying-technology-b6397e3cad0e">underlying technology</a> that powers it. Here, we look at the features this technology makes possible.</p><h3>Private Swaps</h3><p>For a long time, a section of web3 has promised privacy and delivered little more than some semblance of anonymity. The scope of private swaps is broader, which makes it an integral feature in next-gen DeFi. At launch, Privana will have multi-chain support for private swaps on Ethereum, Base, and HyperEVM.</p><p>Private swaps go through up to three execution stages, each optimized for a different balance of privacy, speed, and cost. Upon receiving the user intent, the application authenticates the request and routes it to the swap microservice running inside a ROFL TEE container. The microservice then tries each stage in sequence until the order is filled.</p><p>For example, let’s say a user executes a swap of 15 ETH for USDC. The order goes through the stages below, one by one, until a stage can fill it.</p><ol><li><strong>Internal matching</strong> — In the first stage, user intents are internally matched. This means if another user has submitted a swap intent for the opposite trade, then balances are updated in the accounting layer, and the trade is settled immediately. This is the quickest and most cost-efficient path, and it also stays within Privana’s own trust model.</li><li><strong>Vault inventory</strong> — If no internal match is available, the next stage is to execute and finalize the swap by settling the trade with Privana-provisioned liquidity held inside the vault. The pricing is decided with the <a href="https://li.fi/">LiFi aggregator</a> providing the prevailing DeFi market rates on request. This being another form of internal settlement, Privana’s own privacy measures powered by the Oasis tech stack keep the swap confidential.</li><li><strong>External DEX routing</strong> — If neither of these two stages can complete the trade order, then Privana looks for external liquidity. Once again, the LiFi aggregator plays a role. It routes the order through other decentralized exchanges, like Uniswap, Curve, etc. As the swap happens with the trade executed on public chain mempools, on-chain visibility is unavoidable. However, the privacy of the user is maintained as the order originates from the pooled vault address, and their personal wallet details are not revealed.</li></ol><p>The privacy of any swap on Privana varies based on the path it takes.</p><p>The first two stages happen within Privana. So, with no external transaction involved, the swap, from request submission to settlement, happens entirely inside the TEE. The swap is also designed to be untraceable on the explorer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*l6LwSxrxGQEFd7aS.png" /></figure><p>When public DEX infrastructure gets involved, the trade becomes publicly visible, although the Privana vault architecture ensures the user and the trade cannot be specifically connected.</p><p>Privana also reserves the third way as the last resort for any swap, preferring the first two stages for most trade settlements. The third way is triggered only when</p><ul><li>the requested pair does not have enough internal liquidity</li><li>the vault inventory is being rebalanced</li><li>extreme market conditions result in exceeding the rebalancing engine’s capacity</li></ul><p><strong>Pricing</strong></p><p>We saw the second way using the LiFi aggregator for determining the price. Here, Privana acts as a counterparty to the trade, which means the application settles against its own inventory. With the LiFi aggregator sourcing the price, users are assured of getting fair market rates. The system is also designed with safeguards, such as price staleness checks and maximum-spread thresholds, to prevent mispricing.</p><p><strong>TWAP execution</strong></p><p>Privana supports <strong>Time-Weighted Average Price</strong> (TWAP) execution for larger orders. Instead of executing the entire order in a single transaction that might impact the market through short-term price volatility or slippage, this mechanism splits the order into several smaller transactions completed over a time window.</p><p>The security is maintained by each of the transactions being signed inside the enclave before they are broadcast publicly from the pooled vault address. Privana’s TEE architecture keeps the splitting logic, timing, and sizes private within the enclave.</p><p><strong>Replay protection</strong></p><p>This is a technical feature of Privana’s private swap that is beneficial for the users without them being aware of it. Every transaction the enclave signs uses the account’s current nonce. Moreover, each internal operation carries its own signed nonce. This means that a nonce, once spent, cannot be used again, so there is no chance of replaying a captured signature.</p><h3>Idle Yield</h3><p>Privana’s idle yield is triggered when the assets are not being swapped. In this state, the application can route idle stablecoin balances to vetted yield protocols, automatically and privately. Check out the sneak peek of <a href="https://x.com/PrivanaFinance/status/2082532693061853461">Privana Earn</a>.</p><p>The yield module is optional, and users will need to activate it to enjoy the benefit. When opted in, the Privana yield microservice routes idle balances to whitelisted yield protocols. At launch, Privana will work with <a href="https://aave.com/">Aave</a>, with <a href="https://midas.app/">Midas</a> also listed as a second yield strategy in its integrations, and there will be more to follow.</p><p>With this feature, users can define which assets participate, the deposit threshold, and the maximum amount. Once set, it will start working automatically without needing user involvement. Privana, being built on Oasis Sapphire, keeps the user’s yield accounting (amounts, protocol, position history) confidential on-chain. The deposit into the protocol itself executes on the external chain from the pooled vault address, as with any other settlement.</p><p>This mechanism, however, will not work simultaneously with the swap process. If the user starts a swap, the system will first unwind any active yield position for that asset.</p><p>The yield on Privana Earn is available through its SDK. This means that an application can offer its users yield on in-app balances without the need to build DeFi integration. Automation Rules, which we will explore shortly, can route realized trading profits into yield automatically.</p><p><strong>Safety model</strong></p><p>Keeping user fund security in mind, Privana is designed to route only to protocols that have passed internal vetting. If a protocol has been vetted and included but later gets delisted for any reason, say due to a vulnerability disclosure, the mechanism will immediately stop new deposits. At the same time, it will start the process of automatic unwinding of the existing positions.</p><h3>Automation Rules</h3><p>When we discussed the core concepts of Privana, we learned about <a href="https://oasis.net/blog/key-encumbrance-for-onchain-apps">key encumbrance</a> as an essential component. It allows users to set programmable rules that execute trades automatically when the pre-defined conditions are met. This model is also at the foundation of Privana’s automation engine.</p><p>When users create a rule, it is saved as an access-control policy inside the TEE and does not leave the enclave at any point. Whenever the condition is satisfied, execution is triggered and completed with the vault’s encumbered key. The key itself stays unrevealed and bound within user-defined policy.</p><p>This is the goal of Privana’s automated, policy-bounded trade execution: no external service can access or change the rules, nor their trigger conditions. Essentially, the functionality mirrors the conditional-order features of centralized exchanges while user sovereignty over the assets is maintained by self-custody.</p><p>Here is the list of rules that Privana plans to feature.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*Rj63yyQxTUgWzDs1.png" /></figure><p>The rules have been designed to be non-conflicting. The accounting layer enforces balance constraints so that two active rules cannot claim the same assets simultaneously. This is the core governing principle of all Privana policies: asset-time segmentation stays consistent at all times.</p><h3>AI Trading Agents</h3><p>AI-enabled DeFi or DeFAI is popular among users, but it has its own security challenges. Traditional AI trading agents often involve users handing their private keys to centralized AI services. The automated trading thus comes at the cost of control and security.</p><p>Privana’s alternative would connect AI-powered trading agents via scoped API keys to user vaults with strict, hardware-enforced guardrails. would connect AI-powered trading agents via scoped API keys to user vaults with strict, hardware-enforced guardrails. As a result, the agent can never exceed the user-set limits, nor can it view or access the private key. The automation here works via a scoped sub-policy. When the user grants access to the agent, it will be able to execute trades within the policy constraints.</p><p>Here is the list of agent policy controls.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*xjRAJWKOali06yhC.png" /></figure><p>This mechanism is starkly different from other AI trading setups. Centralized exchanges routinely ask users to share their API keys with the AI agents, often with withdrawal permissions. Traditional DEXes will let the user run bots, leaving their private key exposed in a hot wallet. Privana only lets the AI agent propose actions. The decision whether the action will be executed depends on the user’s policy within the enclave, which also hosts the key, keeping it away from the agent.</p><h3>Telegram Bot</h3><p>Another feature in Privana that is in the pipeline is the private Telegram bot. It will help users manage their vault while keeping their identity confidential. Functionalities of this privacy-enabled bot will include:</p><ul><li>balance check</li><li>swap execution</li><li>automation rule management</li><li>real-time notifications from Telegram regarding the user’s portfolio</li></ul><p>The bot’s operations will take place through the Privana TEE. So, any commands the user gives to the bot will be processed only inside the enclave, sharing the same privacy guarantees as the main interface.</p><p>User confidentiality is the main USP of this bot, unlike typical DeFi notification bots. It does not require an email address or wallet address, so there is no permanent link between the user’s identity and their on-chain activities. Instead of storing the user’s Telegram handle in plaintext on any server, the enclave establishes a private connection via the link generated inside and also decrypts the handle. The TEE then sends notifications directly to the Telegram API.</p><p>Here is an overview of the bot’s capabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*xchdx6qNRXDyPNs2.png" /></figure><p><strong>Safety model</strong></p><p>The bot comes with limited action scope and baked-in restrictions.</p><ul><li>No modifying vault policies or guardrails</li><li>No accessing or modifying API keys</li><li>No adding or removing AI-agent connections</li></ul><p>If the user wants to perform actions that require high security, they must switch to the full Privana interface. Moreover, the bot’s design takes into consideration any potential compromise of a Telegram account, as in such a scenario, the attacker’s ability to cause damage is structurally bounded.</p><p>This concludes the deep dive into Privana’s features. Next, I will discuss some Privana FAQs in detail. When new features arrive from Privana’s <a href="https://privana.finance/roadmap">roadmap</a>, I plan to cover them as well. In the meantime, let’s continue the discussion in the comments section about what you think of these features, what you like about them, and what else you would like to see incorporated.</p><p>Resources &amp; references:</p><ul><li><a href="https://privana.finance/">Privana</a></li><li><a href="https://oasis.net/">Oasis</a></li><li>For specific questions or feedback, connect on the Privana channel on the <a href="https://discord.com/invite/BQCxwhT5wS">official Discord</a>.</li></ul><p><em>Originally published at </em><a href="https://dev.to/dc600/introducing-privana-a-deep-dive-into-features-1l5b"><em>https://dev.to</em></a><em> on November 22, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=998cd58f268f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/introducing-privana-a-deep-dive-into-features-998cd58f268f">Introducing Privana: A Deep Dive into Features</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Guide to the Prerequisites for Running Nodes on Oasis (Part 4): TEE Setup]]></title>
            <link>https://medium.com/coinmonks/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-4-tee-setup-287f2bb4d405?source=rss-c70cb843a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/287f2bb4d405</guid>
            <category><![CDATA[node]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[guides-and-tutorials]]></category>
            <category><![CDATA[oasisnetwork]]></category>
            <dc:creator><![CDATA[Arnab Kar (DC)]]></dc:creator>
            <pubDate>Fri, 20 Nov 2026 09:13:00 GMT</pubDate>
            <atom:updated>2026-11-20T11:46:14.181Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*t91qdO7mCzaQwCHN.jpeg" /></figure><p>In a detailed 4-part series, I have been describing the prerequisites that you would need to run Oasis nodes. In the earlier parts, we have covered <a href="https://medium.com/coinmonks/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-1-hardware-and-cloud-providers-1ad888ccb7c8">hardware and cloud providers</a>, <a href="https://medium.com/coinmonks/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-2-stake-requirements-and-node-ca6c25f46969">stake requirements and node installation</a>, and <a href="https://medium.com/coinmonks/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-3-system-configuration-bc7a2f023987">system configuration</a> steps. In this final part, I will walk you through the process of setting up a Trusted Execution Environment (TEE).</p><p>The preferred privacy-preserving technique used by Oasis in paratimes (parallel runtimes) and ROFL (runtime off-chain logic) is the hardware-based TEE.</p><ul><li><a href="https://www.intel.com/content/www/us/en/architecture-and-technology/software-guard-extensions.html"><strong>Intel SGX</strong></a> — used in most Oasis paratimes as well as ROFL SGX apps</li><li><a href="https://www.intel.com/content/www/us/en/products/docs/accelerator-engines/trust-domain-extensions.html"><strong>Intel TDX</strong></a> — used by the ROFL TDX raw and container-based apps</li></ul><p><strong>Note</strong>: For the differences between these ROFL app types, see <a href="https://docs.oasis.io/build/rofl/workflow/init">ROFL flavors</a>.</p><p>Before you can configure your nodes to run in a TEE, you need to ensure that your setup meets the 4 basic requirements to run SGX/TDX enclaves.</p><ol><li>SGX/TDX support for the hardware</li><li>Latest BIOS updates installed</li><li>SGX/TDX enabled in the BIOS</li><li>Linux kernel, drivers, and software components properly installed and running</li></ol><p><strong>Note</strong>: Step 1 here has been covered in part 1 of this prerequisites series, so we will proceed here with the subsequent steps.</p><h3>Software Guard Extensions (SGX)</h3><p><strong>BIOS configuration</strong></p><p>Let’s start with steps 2 and 3 from above. First, update your BIOS to the latest version with the latest microcode. You can then proceed with the following BIOS configuration. It is possible that some settings may not apply to all BIOS versions. In that case, configure only the relevant ones.</p><ul><li><strong>SGX</strong>: ENABLE</li><li><strong>Hyper-Threading</strong>: DISABLE</li><li><strong>Intel SpeedStep</strong>: DISABLE</li><li><strong>Turbo Mode</strong>: DISABLE</li><li><strong>CPU AES</strong>: ENABLE</li><li><strong>SGX Auto MP Registration</strong>: ENABLE</li></ul><p><strong>Clock synchronization</strong></p><p>This is a minor but important step. The node’s local clock needs to be synchronized, for example using Network Time Protocol (NTP), because of additional sanity checks within runtime enclaves. If it is off by more than half a second, unexpected runtime aborts may occur.</p><p><strong>SGX device permissions</strong></p><p>Ensuring proper device permissions is essential. The user running the Oasis Node binary must have access to the SGX device (/dev/sgx_enclave). This can usually be done by adding that user to the right group. For example, if the permissions of the device look like this:</p><pre>crw-rw---- 1 root sgx 10, 125 Oct 28 09:28 /dev/sgx_enclave</pre><p>In this example, the group is sgx. If the user running the Oasis Node is oasis, add it to that group:</p><pre>sudo adduser oasis sgx</pre><p>Missing this step may result in the runtime error showing “permission denied OS error 13” during setup. Also, if you wish to run your node from an interactive session, then you will need to log out once for the permissions to take effect.</p><p><strong>AESM service</strong></p><p>SGX enclave execution involves several Architectural Enclaves (AE):</p><ul><li>Launch Enclave</li><li>Provisioning Enclave</li><li>Provisioning Certificate Enclave</li><li>Quoting Enclave</li><li>Platform Services Enclaves</li></ul><p>Communication between SGX enclaves launched by applications and Intel-provided AE takes place through the Application Enclave Service Manager (AESM). AESM runs as a daemon and provides the socket through which applications can facilitate various SGX services such as launch approval, remote attestation quote signing, etc.</p><p>Running your Oasis node will also require DCAP attestation, that is, Data Center Attestation Primitives. A quick check to ensure that your system supports this:</p><pre> cpuid -1  | grep &quot;SGX&quot;</pre><p>Look for the following line in the output:</p><pre>      SGX_LC: SGX launch config supported      = true</pre><p><strong>DCAP attestation</strong></p><p>The <a href="https://download.01.org/intel-sgx/sgx_repo/">official Intel SGX APT repository</a> is a convenient way to install the AESM service on Ubuntu 24.04 and newer systems.</p><p>Add the Intel SGX APT repository to your system.</p><pre>curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo gpg --dearmor -o /usr/share/keyrings/intel-sgx-deb.gpg<br>echo &quot;deb [arch=amd64 signed-by=/usr/share/keyrings/intel-sgx-deb.gpg] https://download.01.org/intel-sgx/sgx_repo/ubuntu $(lsb_release -cs) main&quot; | sudo tee /etc/apt/sources.list.d/intel-sgx.list &gt; /dev/null</pre><p>Next, install the sgx-aesm-service, libsgx-aesm-ecdsa-plugin, libsgx-aesm-quote-ex-plugin, and libsgx-dcap-default-qpl packages.</p><pre>sudo apt update<br>sudo apt install sgx-aesm-service libsgx-aesm-ecdsa-plugin libsgx-aesm-quote-ex-plugin libsgx-dcap-default-qpl</pre><p>You can confirm the AESM service is running via a simple command.</p><pre>sudo systemctl status aesmd.service</pre><p><strong>Quote provider configuration</strong></p><p>Whether you use Intel Provisioning Certification Service (PCS), the Provisioning Certificate Caching Service (PCCS) of your cloud service provider, or your own PCCS, you will need to configure the Intel quote provider ( libsgx-dcap-default-qpl). You can find the configuration file at /etc/sgx_default_qcnl.conf. Also, you will need to always restart the aesmd.service after updating the configuration.</p><pre>sudo systemctl restart aesmd.service</pre><p>Let’s now go through, one by one, how to proceed based on the quote provider.</p><p><strong>Intel PCS</strong></p><p>Using Intel PCS is the simplest and most generic way, but it may be less reliable than using your own PCCS. Some cloud providers require you to use their own PCCS (described later).</p><p>If you are going with Intel PCS, you will need to update the pccs_url value in /etc/sgx_default_qcnl.conf to the Intel PCS API URL.</p><pre>  //PCCS server address<br>  &quot;pccs_url&quot;: &quot;https://api.trustedservices.intel.com/sgx/certification/v4/&quot;</pre><p>If you encounter an error in the Intel Quote Provider Library (QPL) configuration file, attestation will not work, and the AESM service may produce unhelpful errors, e.g.</p><pre>Couldn&#39;t find the platform library. (null)</pre><p>In that case, the only thing that needs to be changed is the pccs_url value mentioned above. <br><strong>Note</strong>: Do not add any comments and/or change punctuation, as that might result in an invalid configuration file.</p><p><strong>Cloud service provider’s PCCS</strong></p><p>As mentioned above, some cloud providers require you to use their own PCCS. Here is the configuration guidance for three of them:</p><ul><li>Azure — Refer to the <a href="https://learn.microsoft.com/en-us/azure/security/fundamentals/trusted-hardware-identity-management#how-do-i-use-intel-qpl-with-trusted-hardware-identity-management">Azure documentation</a> for details on how to configure this quote provider. Here, you will find an example of an Intel QPL configuration file that can be used.</li><li>Alibaba — Refer to the <a href="https://www.alibabacloud.com/help/en/ecs/user-guide/build-an-sgx-encrypted-computing-environment">Alibaba Cloud documentation</a> for details on how to configure this quote provider. Here, you will find the required sgx_default_qcnl.conf changes.</li><li>IBM — Refer to the <a href="https://cloud.ibm.com/docs/vpc?topic=vpc-about-attestation-sgx-dcap-vpc">IBM Cloud documentation</a> for details on how to configure this quote provider. Here, too, you will find the required sgx_default_qcnl.conf changes.</li></ul><p>If you go with a different cloud service provider, it is essential to consult their specific documentation for the appropriate configuration guidance.</p><p><strong>Own PCCS</strong></p><p>Some users prefer running their own PCCS to choosing from cloud service providers. The <a href="https://www.intel.com/content/www/us/en/developer/articles/guide/intel-software-guard-extensions-data-center-attestation-primitives-quick-install-guide.html">official Intel instructions</a> will guide you through the setup.</p><p><strong>DCAP attestation Docker</strong></p><p>Oasis also offers an easy alternative to install and run the AESM service on a <a href="https://docs.docker.com/engine/">Docker</a>-enabled system. Start the process by using the <a href="https://github.com/oasisprotocol/oasis-core/pkgs/container/aesmd">AESM container image</a>.</p><p>Next, execute the following command so that it pulls the latest version of the AESMD Docker container. This will also map the SGX devices and /var/run/aesmd directory, while ensuring AESM is running in the background. All this will then start automatically on boot.</p><pre>docker run \<br>  --pull always \<br>  --detach \<br>  --restart always \<br>  --device /dev/sgx_enclave \<br>  --device /dev/sgx_provision \<br>  --volume /var/run/aesmd:/var/run/aesmd \<br>  --name aesmd \<br>  ghcr.io/oasisprotocol/aesmd-dcap:master</pre><p>The Intel Quote Provider (QP) in the Docker container is configured to use the Intel PCS endpoint by default. To use an alternative to Intel PCS, you can override the Intel QP configuration here within the container. Use the volume flag to mount your customized configuration.</p><pre>docker run \<br>  --pull always \<br>  --detach \<br>  --restart always \<br>  --device /dev/sgx_enclave \<br>  --device /dev/sgx_provision \<br>  --volume /var/run/aesmd:/var/run/aesmd \<br>  --volume /etc/sgx_default_qcnl.conf:/etc/sgx_default_qcnl.conf \<br>  --name aesmd \<br>  ghcr.io/oasisprotocol/aesmd-dcap:master</pre><p>You can find the default Intel QP config in the <a href="https://github.com/intel/SGXDataCenterAttestationPrimitives/blob/master/QuoteGeneration/qcnl/linux/sgx_default_qcnl.conf">Intel SGX GitHub repository</a>.</p><p><strong>Multi-socket systems</strong></p><p>For a platform with multi-socket systems (e.g. systems with multiple CPUs), the whole process is more complex, especially if you use a hypervisor and run SGX workloads inside guest VMs. In such a case, additional provisioning will likely be required.</p><p>Also, the system must be booted in UEFI mode for provisioning to work. This is an important step as the provisioning process uses UEFI variables to communicate with the BIOS. Moreover, you have to enable the SGX Auto Multi-Package (MP) Registration BIOS configuration setting.</p><p><strong>Ubuntu 24.04+</strong></p><p>After you have added Intel’s SGX apt repository as discussed previously, you can now install the Intel SGX MP Registration Agent Service to provision and register your multi-socket system.</p><pre>sudo apt install sgx-ra-service</pre><p>After boot, the log in /var/log/mpa_registration.log should indicate successful registration. In case of an error, the first step is to ensure that the SGX Auto MP Registration is enabled in the BIOS. You can also re-provision by rebooting and setting the SGX Factory Reset option to enabled.</p><p><strong>VMware vSphere 8.0+</strong></p><p>To enable SGX remote attestation on VMware vSphere-based systems, following the <a href="https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-vcenter-esxi-management/GUID-F16476FD-3B66-462F-B7FB-A456BEDC3549.html">vSphere guide</a> is recommended.</p><p><strong>Setup check</strong></p><p>The final step in SGX TEE setup is to test the settings. To test remote attestation against Intel SGX’s development server, you can use the Oasis <a href="https://github.com/oasisprotocol/tools/tree/main/attestation-tool#readme">attestation tool</a> ( <a href="https://github.com/oasisprotocol/tools/releases">binary</a>).</p><h3>Trust Domain Extensions (TDX)</h3><p><strong>Note</strong>: TDX requires proper SGX installation to be in place first. So, before proceeding through the next steps, you must ensure there is a working SGX environment established in accordance with the SGX installation steps discussed above.</p><p><strong>BIOS configuration</strong></p><ul><li><strong>SGX</strong>: ENABLE</li><li><strong>SGX memory</strong>: at least 256MB</li><li><strong>SGX Auto MP Registration</strong>: ENABLE</li><li><strong>Hyper-Threading</strong>: DISABLE</li><li><strong>Intel SpeedStep</strong>: DISABLE</li><li><strong>SecureBoot</strong>: DISABLE</li><li><strong>All Internal Graphics</strong>: DISABLE</li><li><strong>Turbo Mode</strong>: DISABLE</li><li><strong>CPU AES</strong>: ENABLE</li><li><strong>TDX</strong>: ENABLE</li><li><strong>Memory Encryption (TME)</strong>: ENABLE</li><li><strong>Total Memory Encryption Bypass</strong>: ENABLE</li><li><strong>Total Memory Encryption Multi-Tenant (TME-MT)</strong>: ENABLE</li><li><strong>TME-MT memory integrity</strong>: DISABLE</li><li><strong>TDX Secure Arbitration Mode Loader (SEAM Loader)</strong>: ENABLE</li><li><strong>TME-MT/TDX key split</strong>: non-zero value</li><li><strong>ACPI S3 and deeper power states</strong>: DISABLED</li></ul><p><strong>Host OS setup</strong></p><p>The instructions here are summarized to help you set up an environment for running the ROFL node and other TDX services on Ubuntu 26.04 or newer versions. For details, you can refer to the official <a href="https://ubuntu.com/server/docs/how-to/virtualisation/intel-tdx/">Canonical TDX how-to</a> documentation.</p><p>First, install the TDX quote generation service from Intel’s SGX APT repository. Next, install the Quick Emulator (QEMU) for running guest virtual machines.</p><pre>sudo apt install tdx-qgs qemu-utils qemu-system-x86</pre><p>Then, disable ACPI S3 and enable TDX. Also, add kernel parameters nohibernate kvm_intel.tdx=1.</p><pre>sed -i -E &quot;s/GRUB_CMDLINE_LINUX=\&quot;(.*)\&quot;/GRUB_CMDLINE_LINUX=\&quot;\1 nohibernate kvm_intel.tdx=1\&quot;/g&quot; /etc/default/grub<br>update-grub</pre><p>Now, ensure that the non-root user running Oasis Node is a member of sgx, sgx_prv, and kvm groups on the host. There should also be access to /dev/sgx*, /dev/kvm*, and /dev/*vsock* devices.</p><p>Finally, reboot the system for all this to take effect.</p><p><strong>Setup check</strong></p><p>The last step is to check that your system is ready to launch TDX VMs. An example output:</p><pre>sudo dmesg | grep -i tdx</pre><pre>[    1.368184] virt/tdx: BIOS enabled: private KeyID range [32, 64)<br>[    1.368188] virt/tdx: Disable ACPI S3. Turn off TDX in the BIOS to use ACPI S3.<br>[    9.483666] virt/tdx: TDX module: attributes 0x0, vendor_id 0x8086, major_version 1, minor_version 5, build_date 20240725, build_num 784<br>[    9.483672] virt/tdx: CMR: [0x100000, 0x77800000)<br>[    9.483674] virt/tdx: CMR: [0x100000000, 0x3ffe000000)<br>[   10.587167] virt/tdx: 1042424 KB allocated for PAMT<br>[   10.587173] virt/tdx: module initialized</pre><pre>ls -al /dev/*kvm*</pre><pre>crw-rw---- 1 root kvm 10, 232 Apr 10 09:56 /dev/kvm</pre><p><strong>Note</strong>: As this is an example, the dmesg timestamps and build numbers in your output can vary.</p><p>If any of the above is missing, you will need the following debug tools.</p><pre>apt install msr-tools<br>git clone https://github.com/canonical/tdx &amp;&amp; ./tdx/system-report.sh</pre><pre>### Model specific registers (MSRs)<br>MK_TME_ENABLED bit: 1 (expected value: 1)<br>SEAM_RR bit: 1 (expected value: 1)<br>NUM_TDX_PRIV_KEYS: 20<br>SGX_AND_MCHECK_STATUS: 0 (expected value: 0)<br>Production platform: Production (expected value: Production)</pre><pre>sudo rdmsr 0x503</pre><pre>0  # 0 if SGX in production mode</pre><p><strong>Troubleshooting</strong></p><p>Troubleshooting while preparing for and running Oasis nodes is a subject on its own, and I will cover the details later. For now, you can check out the relevant steps in the <a href="https://docs.oasis.io/node/run-your-node/troubleshooting#tee">TEE troubleshooting section</a>. It should cover most of the common errors and solutions.</p><p>For direct support on specific issues, the Oasis engineering team and other node operators are available in the <a href="https://discord.com/invite/BQCxwhT5wS"><strong>node-operators channel</strong></a> on the official Discord.</p><p>This concludes the multi-part series on prerequisites for running Oasis nodes. In subsequent articles, I will go through in detail various types of Oasis nodes that were mentioned briefly in the <a href="https://medium.com/coinmonks/your-guide-to-the-nodes-you-can-run-on-oasis-25fcabc5d97e">introduction article</a>.</p><p><em>Originally published at </em><a href="https://dev.to/dc600/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-4-tee-setup-5fdp"><em>https://dev.to</em></a><em> on November 20, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=287f2bb4d405" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-4-tee-setup-287f2bb4d405">Your Guide to the Prerequisites for Running Nodes on Oasis (Part 4): TEE Setup</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Guide to the Prerequisites for Running Nodes on Oasis (Part 3): System Configuration]]></title>
            <link>https://medium.com/coinmonks/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-3-system-configuration-bc7a2f023987?source=rss-c70cb843a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc7a2f023987</guid>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[node]]></category>
            <category><![CDATA[guides-and-tutorials]]></category>
            <category><![CDATA[oasisnetwork]]></category>
            <category><![CDATA[developer-tools]]></category>
            <dc:creator><![CDATA[Arnab Kar (DC)]]></dc:creator>
            <pubDate>Wed, 18 Nov 2026 07:02:43 GMT</pubDate>
            <atom:updated>2026-11-20T09:36:42.505Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*ntFrnuJ5WihpOjbY.jpeg" /></figure><p>We have been discussing the running of <a href="https://medium.com/coinmonks/your-guide-to-the-nodes-you-can-run-on-oasis-25fcabc5d97e">nodes on Oasis</a> and going through the prerequisites in detail. So far, we have covered <a href="https://medium.com/coinmonks/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-1-hardware-and-cloud-providers-1ad888ccb7c8">hardware and cloud providers</a>, as well as <a href="https://medium.com/coinmonks/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-2-stake-requirements-and-node-ca6c25f46969">stake requirements and node installation</a> steps. In this part, I will walk you through the system configuration prerequisites.</p><p>Before you run a node on Oasis, you need to make a few modifications to the system. This comprises creating a dedicated user account, increasing the file descriptor limit, and, optionally, setting up AppArmor profiles.</p><h3>User creation</h3><p>Nothing in the Oasis Node requires elevated privileges, so running it as root is not allowed. If you try to run the oasis-node process as the root user, it will terminate immediately on startup. So, the first step of system configuration is to create a dedicated user account to manage the Oasis Node processes.</p><p>To create a new user, run this command as root.</p><pre>adduser oasis</pre><p>Some of you may have an existing data directory. The next step is essential for them; others do not need to execute it. This involves changing the ownership of the data directory to the oasis user.</p><pre>chown -R oasis /node/data</pre><p><strong>Note</strong>: You can adjust the user to your setup when you create it. For example, setting the oasis user&#39;s shell to /usr/sbin/nologin will prevent accidental logging in as this user. Here is how to create the user this way on different systems.</p><p><strong>Ubuntu</strong></p><p>Run this as root.</p><pre>adduser --system oasis --shell /usr/sbin/nologin</pre><p><strong>Fedora</strong><br>Run this as root.</p><pre>useradd -r -s /usr/sbin/nologin</pre><p><strong>Ansible</strong><br>Add this task to the playbook.</p><pre>- name: Create oasis user<br>  ansible.builtin.user:<br>    name: oasis<br>    comment: Oasis Services user<br>    system: yes<br>    shell: /usr/sbin/nologin</pre><h3>File descriptor limit increase</h3><p>After user creation, the first thing to do is to check that its file descriptor limit is high enough to accommodate running the node. As there is a possibility of the databases having many open files, starting with an increased limit of file descriptors is recommended. Otherwise, the node can stop unexpectedly.</p><p>To check the file descriptor limit as the same user that will run the Oasis Node, run this command.</p><pre>ulimit -n</pre><p>If this shows anything lower than 102400, you should increase the limit by updating your system configuration. You have the option to configure <em>temporary</em> limits or make the change <em>permanent</em>.</p><p><strong>Temporary</strong></p><pre>ulimit -n 102400</pre><p><strong>Permanent</strong><br>The temporary limit only applies to processes that are started from the same shell after the command was executed. So, you can choose to make the change permanent using any of the following options.</p><p><strong>systemd</strong><br>If you are running your Oasis Node via <a href="https://systemd.io/">systemd</a>, you will need to add a directive under the [Service] section.</p><pre>LimitNOFILE=102400</pre><p><strong>Docker</strong><br>If you have chosen <a href="https://www.docker.com/">Docker</a> to run your node, passing this option to docker run will increase the limit.</p><pre>--ulimit nofile=102400:1048576</pre><p><strong>limits.conf</strong><br>For this option, you, as root, will have to create a system-wide <em>resource limits</em> configuration file in /etc/security/limits.d/99-oasis-node.conf. For example:</p><pre>*        soft    nofile    102400<br>*        hard    nofile    1048576</pre><p><strong>Notes</strong>:</p><ol><li>If you want to change the limit for any particular user running the Oasis Node, you can insert the name of that user in place of *.</li><li>If you keep *, the limit change applies to all processes in your setup, not only the node-running process.</li><li>You may also need to restart the system for the configured changes to take effect.</li></ol><h3>AppArmor profiles</h3><p>I mentioned at the start that AppArmor profiles are optional. It is only applicable for you if your system uses AppArmor and restricts unprivileged user namespace creation. In that case, the workaround is to allow Bubblewrap, the designated sandbox used by the Oasis Node to execute runtimes. The steps differ between the following Ubuntu versions.</p><p><strong>Ubuntu 24.04</strong><br>Add this policy in/etc/apparmor.d/bwrap.</p><pre>abi &lt;abi/4.0&gt;,<br>include &lt;tunables/global&gt;<br><br>profile bwrap /usr/bin/bwrap flags=(unconfined) {<br>  userns,<br><br>  # Site-specific additions and overrides. See local/README for details.<br>  include if exists &lt;local/bwrap&gt;<br>}</pre><p><strong>Ubuntu 24.10+</strong><br>Run this command to enable the Bubblewrap user namespace restriction policy.</p><pre>sudo ln -s /usr/share/apparmor/extra-profiles/bwrap-userns-restrict /etc/apparmor.d/</pre><p>Irrespective of the Ubuntu version, you will need to reload AppArmor policies by running this command.</p><pre>sudo systemctl reload apparmor.service</pre><p><strong>Example snippets</strong></p><p>Whether you use systemd, Docker, or runit setups to run oasis-node, you may find the following snippets helpful.</p><p><strong>systemd</strong><br>Add this <a href="https://www.freedesktop.org/software/systemd/man/systemd.exec.html#User=">User directive</a> to the Oasis service&#39;s systemd unit file.</p><pre>...<br>User=oasis<br>...</pre><p>Here is an example of a simple systemd unit file for oasis-node that you can use as a starting point.</p><pre>[Unit]<br>Description=Oasis Node<br>After=network.target<br><br>[Service]<br>Type=simple<br>User=oasis<br>WorkingDirectory=/node/data<br>ExecStart=/node/bin/oasis-node --config /node/etc/config.yml<br>Restart=on-failure<br>RestartSec=3<br>LimitNOFILE=1024000<br><br>[Install]<br>WantedBy=multi-user.target</pre><p><strong>Docker</strong><br>Add the <a href="https://docs.docker.com/engine/reference/builder/#user">USER instruction</a> to your Oasis service&#39;s Dockerfile.</p><pre>...<br>USER oasis<br>...</pre><p><strong>runit</strong><br>Wrap the invocation in a <a href="http://smarden.org/runit/chpst.8.html">chpst command</a>.</p><pre>chpst -u oasis oasis-node ...</pre><p>This concludes the system configuration part of the prerequisites series. In the <a href="https://medium.com/@DC.600/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-4-tee-setup-287f2bb4d405">next part</a>, I will discuss how to set up a Trusted Execution Environment (TEE).</p><ul><li>For technical specs, APIs, architecture, and integration guides, the <a href="https://docs.oasis.io/"><strong>Oasis documentation</strong></a> is your starting point.</li><li>For direct support on specific issues, the Oasis engineering team and other node operators are available in the <a href="https://discord.com/invite/BQCxwhT5wS"><strong>node-operators channel</strong></a> on the official Discord.</li></ul><p><em>Originally published at </em><a href="https://dev.to/dc600/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-3-system-configuration-36l8"><em>https://dev.to</em></a><em> on November 18, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc7a2f023987" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-3-system-configuration-bc7a2f023987">Your Guide to the Prerequisites for Running Nodes on Oasis (Part 3): System Configuration</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Guide to the Prerequisites for Running Nodes on Oasis (Part 2): Stake Requirements and Node…]]></title>
            <link>https://medium.com/coinmonks/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-2-stake-requirements-and-node-ca6c25f46969?source=rss-c70cb843a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca6c25f46969</guid>
            <category><![CDATA[guides-and-tutorials]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[node]]></category>
            <category><![CDATA[oasisnetwork]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <dc:creator><![CDATA[Arnab Kar (DC)]]></dc:creator>
            <pubDate>Wed, 28 Oct 2026 10:28:11 GMT</pubDate>
            <atom:updated>2026-11-18T07:23:37.843Z</atom:updated>
            <content:encoded><![CDATA[<h3>Your Guide to the Prerequisites for Running Nodes on Oasis (Part 2): Stake Requirements and Node Installation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*A2QF1DpsuWlnMpiJ.jpeg" /></figure><p>Before you can run a node for a blockchain protocol, there are several things to prepare. In this 4-part series, I discuss the prerequisites for running nodes on Oasis in detail. In <a href="https://medium.com/@DC.600/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-1-hardware-and-cloud-providers-1ad888ccb7c8?postPublishedType=initial">part 1</a>, we learned about hardware and cloud providers. Here, I will cover stake requirements and how to install the Oasis Node.</p><h3>Stake Requirements</h3><p>Based on your node role and whether you are on the mainnet or the testnet, you need to keep in mind the following requirements.</p><ol><li><strong>Registration of entity</strong><br> Mainnet: 100 ROSE<br> Testnet: 100 TEST<br><strong>Note</strong>: To get the latest entity registration requirement, you will need to run the command <a href="https://docs.oasis.io/build/tools/cli/network#show-native-token">oasis network show native-token</a>.</li><li><strong>Registration of node</strong><br> Mainnet: 100 ROSE<br> Testnet: 100 TEST</li><li><strong>Size of the validator set</strong><br> Mainnet: 120<br> Testnet: 110<br><strong>Notes</strong>: The validator set is the consensus committee, and its size is capped by the <a href="https://docs.oasis.io/node/reference/genesis-doc#committee-scheduler">max_validators committee-scheduler parameter</a>. To view the current value, you will need to run the command <a href="https://docs.oasis.io/build/tools/cli/network#show-parameters">oasis network show parameters</a>.<br>For mainnet, to find out whether you are eligible to receive a delegation from the Oasis Protocol Foundation, check out the <a href="https://docs.oasis.io/get-involved/delegation-policy">Delegation Policy</a>.<br>For testnet, the <a href="https://faucet.testnet.oasis.io/">faucet</a> generates only a limited number of TEST tokens. If you need more, you can contact the team on the official Discord in the <a href="https://oasis.io/discord">testnet channel</a>.</li><li><strong>Run a Sapphire or Emerald compute node</strong><br> Mainnet: 5,000,000 ROSE + member of the validator set</li><li><strong>Run a Cipher compute node</strong><br> Mainnet: member of the validator set</li></ol><p><strong>Notes</strong>: The docs list no separate testnet figures.<br>To get the latest paratime-specific stake requirements, you will need to run the command <a href="https://docs.oasis.io/build/tools/cli/network#show-id">oasis network show</a> and specify the <a href="https://docs.oasis.io/node/network/mainnet#paratimes">paratime ID for mainnet</a>.<br>To know who the current top validators are, you can do that either with <a href="https://explorer.oasis.io/mainnet/consensus">Oasis Explorer</a> or with the CLI command <a href="https://docs.oasis.io/build/tools/cli/network#show-validators">oasis network show validators</a>.</p><p>As mentioned, requirements vary according to your choice of node role. Here is a snapshot of the role-specific steps to set up a working node from scratch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*6kD80Z6u_l9PsHFp.png" /></figure><p><strong>Note</strong>: There are no specific requirements for non-validator nodes.</p><p>To check whether you meet the requirements for your node role, you will first need to view the balance of your account. You can do that either with Oasis Explorer or with the CLI command <a href="https://docs.oasis.io/build/tools/cli/account#show">oasis account show</a>.</p><h3>Installing the Oasis Node</h3><p>The Oasis Node is a binary created from the <a href="https://github.com/oasisprotocol/oasis-core">Oasis Core</a> repository’s <a href="https://github.com/oasisprotocol/oasis-core/tree/master/go">go/</a> directory. It is a single executable and contains the logic for running your node in various <a href="https://docs.oasis.io/node/#validator-and-paratime-nodes">roles</a>. Currently, the Oasis Node is only supported on <strong>x86_64 Linux systems</strong>.</p><p><strong>Setting up the working directory</strong></p><p>You need a place to store necessary files before installing the Oasis Node, so that is the first step. In this guide, /node refers to the working directory.</p><p>In the /node directory, start by creating the following subdirectories to allocate specific storage roles.</p><p>To establish the directory structure along with the corresponding permissions, you will need to execute this command.</p><pre>mkdir -m700 -p /node/{etc,bin,runtimes,data}</pre><p><strong>Note</strong>: Creating directories under / usually requires root privileges. Make sure the account that will run the node owns /node afterwards, since the 700 permissions give access to the owner only.</p><p><strong>Copying the Genesis file</strong></p><p>You can find the latest Genesis file for <a href="https://docs.oasis.io/node/network/mainnet">mainnet</a> and <a href="https://docs.oasis.io/node/network/testnet">testnet</a> as part of the network parameters. The next step involves downloading the latest genesis.json file and copying it to /node/etc/genesis.json on the server.</p><p>Once done, you can now get the oasis-node binary.</p><p><strong>Downloading a binary release</strong></p><p>The Oasis Protocol Foundation builds and provides the binaries. Since the Oasis Node is part of the Oasis Core release, start by finding the network parameters linked earlier for the respective mainnet and testnet. Next, follow the Oasis Core version link to its GitHub release, where the downloads are listed under Assets.</p><p><strong>Building from source</strong></p><p>Building from source is highly suggested, but the Oasis documentation currently treats it as beyond its scope. You will need to check out <a href="https://docs.oasis.io/core/development-setup/build-environment-setup-and-building">Oasis Core’s Build Environment Setup and Building</a> documentation for more details. <br><strong>Note</strong>: The code in the current <a href="https://github.com/oasisprotocol/oasis-core/tree/master/">master</a> branch may be incompatible with the code used by other nodes on the network. It is thus essential that you use the version specified in the network parameters linked earlier for the respective mainnet and testnet.</p><p><strong>Adding </strong><strong>oasis-node binary to </strong><strong>PATH</strong></p><p>If you are installing the oasis-node binary next to your Oasis Node data directory, you will need to copy/symlink it to /node/bin. Now, if you are installing the binary for the current user, the copy/symlink needs to be to ~/.local/bin. To install it for all users of the system, you have to copy it to /usr/local/bin.</p><p><strong>Running paratimes</strong></p><p>This is applicable only if you are <a href="https://docs.oasis.io/node/run-your-node/paratime-node">running a paratime node</a>. You will then need to install some additional software packages.</p><p>You will need <a href="https://github.com/projectatomic/bubblewrap">Bubblewrap</a> 0.4.1+ to create process sandboxes.<br> On Ubuntu 20.04+, you can install it with this command.</p><pre>sudo apt install bubblewrap</pre><p>For Fedora, use this command instead.</p><pre>sudo dnf install bubblewrap</pre><p>This concludes part 2 of the prerequisites series. In the <a href="https://medium.com/@DC.600/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-3-system-configuration-bc7a2f023987?postPublishedType=initial">next part</a>, I will discuss system configuration.</p><ul><li>For technical specs, APIs, architecture, and integration guides, the <a href="https://docs.oasis.io/"><strong>Oasis documentation</strong></a> is your starting point.</li><li>For direct support on specific issues, the Oasis engineering team and other node operators are available in the <a href="https://discord.com/invite/BQCxwhT5wS"><strong>node-operators channel</strong></a> on the official Discord.</li></ul><p><em>Originally published at </em><a href="https://dev.to/dc600/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-2-stake-requirements-and-node-3nk6"><em>https://dev.to</em></a><em> on October 28, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca6c25f46969" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-2-stake-requirements-and-node-ca6c25f46969">Your Guide to the Prerequisites for Running Nodes on Oasis (Part 2): Stake Requirements and Node…</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Guide to the Prerequisites for Running Nodes on Oasis (Part 1): Hardware and Cloud Providers]]></title>
            <link>https://medium.com/coinmonks/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-1-hardware-and-cloud-providers-1ad888ccb7c8?source=rss-c70cb843a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ad888ccb7c8</guid>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[oasisnetwork]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[guides-and-tutorials]]></category>
            <category><![CDATA[node]]></category>
            <dc:creator><![CDATA[Arnab Kar (DC)]]></dc:creator>
            <pubDate>Wed, 28 Oct 2026 06:34:58 GMT</pubDate>
            <atom:updated>2026-11-01T05:29:07.860Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*SBK4-5sfqLbGj1fW.jpeg" /></figure><p>There are various ways to support a blockchain protocol. For example, tech-savvy users sometimes prefer to run nodes. Now, if you are planning to do so, specific hardware and software prerequisites must be in place. In this 4-part series, I will discuss them in detail for running nodes on Oasis. The first part covers hardware and cloud providers.</p><h3>Hardware Requirements</h3><p>As outlined in the introduction to Oasis nodes, the protocol consists of several distinct node types.</p><ul><li>Consensus validator or non-validator node</li><li>Sapphire compute or client node</li><li>Emerald compute or client node</li><li>Cipher compute or client node</li></ul><p>In this section, I will focus on the minimum and recommended system hardware requirements. Anyone planning to run more than one paratime (Sapphire/Emerald/Cipher) on a single node will need more resources.</p><p>If you configure a system with fewer resources than recommended, you run the risk of being under-provisioned. This can cause proposer node timeouts and synchronization delays. If your node exhausts its memory or storage, the node process is forcefully killed, which can result in state corruption. As a result, you risk losing stake and getting barred from participating in committees.</p><p><strong>CPUs</strong></p><p><strong>Consensus validator or non-validator node</strong></p><ul><li><strong>Minimum</strong>: 2.0 GHz x86–64 CPU with <a href="https://en.wikipedia.org/wiki/AES_instruction_set">AES instruction set</a> support</li><li><strong>Recommended</strong>: 2.0 GHz x86–64 CPU with 2 cores/vCPUs with AES instruction set and <a href="https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#Advanced_Vector_Extensions_2">Advanced Vector Extensions 2 (AVX2)</a> support</li></ul><p><strong>Emerald compute node and all client nodes</strong></p><ul><li><strong>Minimum</strong>: same as above</li><li><strong>Recommended</strong>: 2.0 GHz x86–64 CPU with 4 cores/vCPUs with AES instruction set and AVX2 support</li></ul><p><strong>Sapphire/Cipher ParaTime compute node</strong></p><ul><li><strong>Minimum</strong>: 2.0 GHz x86–64 CPU with AES instruction set and <a href="https://www.intel.com/content/www/us/en/architecture-and-technology/software-guard-extensions.html">Intel SGX</a> support</li><li><strong>Recommended</strong>: 2.0 GHz x86–64 CPU with 2 cores/vCPUs with AES instruction set, Intel SGX, and AVX2 support</li></ul><p><strong>Notes</strong>:</p><ol><li>If you are running regular workloads on your node, the minimum resources will suffice. However, if you plan heavier workloads, like a paratime client node behind a public <a href="https://docs.oasis.io/node/web3#hardware">Web3 gateway</a>, you will need more cores/vCPUs.</li><li>The reason you need AES instruction set support is that it is required by <a href="https://sites.google.com/view/deoxyscipher">Deoxys-II-256–128</a>, a Misuse-Resistant Authenticated Encryption (MRAE) algorithm, for encrypting paratime state.</li><li>The reason you need AVX2 support is to enable faster Ed25519 signature verification. This will speed up node sync.</li><li>You need Intel SGX support only when you are running paratime compute nodes (Sapphire/Cipher). Check out Intel’s comprehensive list of <a href="https://www.intel.com/content/www/us/en/architecture-and-technology/software-guard-extensions-processors.html">processors that support Intel SGX</a>, and match it with Sapphire and Cipher <a href="https://docs.oasis.io/get-involved/run-node/paratime-node/">requirements</a> before proceeding.</li></ol><p><strong>Memory</strong></p><p><strong>Consensus validator or non-validator node</strong></p><ul><li><strong>Minimum</strong>: 6 GB of ECC RAM</li><li><strong>Recommended</strong>: 8 GB of ECC RAM</li></ul><p><strong>Each Emerald/Sapphire/Cipher compute or client node</strong></p><ul><li><strong>Minimum</strong>: 12 GB of ECC RAM</li><li><strong>Recommended</strong>: 20 GB of ECC RAM</li></ul><p>In most scenarios, the nodes, even with less than the minimum amount of memory, will run regular workloads smoothly. To cover the more resource-intensive time points, such as the initial state sync, <a href="https://dgraph.io/docs/badger/">BadgerDB</a> migration when upgrading a node to a new major version of the Oasis Core, generating storage checkpoints with BadgerDB, and periodic BadgerDB compactions, your nodes will need more memory than usual.</p><p><strong>Storage</strong></p><p><strong>Consensus validator or non-validator node</strong></p><ul><li><strong>Minimum</strong>: 400 GB of SSD or NVMe fast storage</li><li><strong>Recommended</strong>: 700 GB of SSD or NVMe fast storage</li></ul><p><strong>Emerald compute or client node (in addition to the consensus storage requirements)</strong></p><ul><li><strong>Minimum</strong>: 400 GB of SSD or NVMe fast storage</li><li><strong>Recommended</strong>: 700 GB of SSD or NVMe fast storage</li></ul><p><strong>Sapphire/Cipher compute or client node (in addition to the consensus storage requirements)</strong></p><ul><li><strong>Minimum</strong>: 200 GB of SSD or NVMe fast storage</li><li><strong>Recommended</strong>: 300 GB of SSD or NVMe fast storage</li></ul><p><strong>Notes</strong>:</p><ol><li>Both consensus and paratime states are stored in an embedded BadgerDB database. As BadgerDB is designed to run on SSDs, it is highly recommended not to run a node that stores data on HDDs.</li><li>Both consensus and paratime states accumulate over time. The rate of storage growth varies by transaction count on the network and the paratimes. For example, a consensus non-validator node on the mainnet accumulated 280 GB of consensus state in approximately one year since the Cobalt upgrade, and 32 GB of consensus state in approximately one month since the Damask upgrade. Another example would be an Emerald client node on the mainnet, which additionally accumulated 260 GB of paratime state in approximately five months since Emerald’s launch, and 25 GB of paratime state in approximately one month since the Damask upgrade.</li><li>Dump and restore upgrades, such as the Damask and Cobalt upgrades, include state wipes that free up node storage. If you need to access historical state, you can run a separate archive node. Also note, the latest is Eden</li><li>It is recommended not to keep a complete state from the genesis onward unless you are running a node to preserve historical state. This will also reduce storage requirements for both consensus and paratime states, as well as improve the overall latency of the storage-related operations. To enable storage reduction, you should check out <a href="https://docs.oasis.io/node/run-your-node/advanced/pruning#consensus-pruning">consensus pruning</a> and <a href="https://docs.oasis.io/node/run-your-node/advanced/pruning#paratime-pruning">paratime pruning</a>.</li></ol><p><strong>Network</strong></p><p><strong>Consensus validator node and all paratime compute nodes</strong></p><ul><li><strong>Minimum</strong>: 200 Mbps internet connection with low latency</li><li><strong>Recommended</strong>: 1 Gbps internet connection with low latency</li></ul><p>Regular workloads use relatively little traffic. Higher bandwidth is recommended for bursts of transactions, when a node with too little bandwidth can time out.</p><h3>Cloud Providers</h3><p>If you plan to run a Sapphire or Cipher compute node, a crucial step is verifying processor compatibility and checking the status of Intel SGX support (refer to <strong>Note #4 in the CPUs section</strong>).</p><p><strong>Limitations</strong></p><p>You will come across several bare-metal or dedicated server providers using Intel processors that support SGX. However, you should also be aware of potential limitations.</p><ul><li><strong>BIOS configuration</strong>: Some providers restrict users from accessing or modifying BIOS settings, which might be essential to correctly configure Intel SGX.</li><li><strong>Outdated firmware</strong>: SGX requires the latest firmware to function correctly. If the system provider is behind on updates, this is a problem.</li><li><strong>Lack of SGX-specific offerings</strong>: Some providers do not advertise or specifically offer SGX-enabled servers. Users need to know specifically that their server is SGX-enabled, as this feature is non-negotiable for running some Oasis nodes.</li><li><strong>Limited support</strong>: Sometimes even when an SGX-enabled server is available, the provider’s support team might lack the expertise to handle SGX-specific issues or configurations.</li><li><strong>Hardware provisioning</strong>: Use of keys, such as SGX sealing keys, involves them being bound to hardware to encrypt the data of an instance within an Intel SGX enclave. If the host of the instance is changed, the encrypted data cannot be decrypted.</li></ul><p><strong>Known providers</strong></p><ol><li><a href="https://www.alibabacloud.com/"><strong>Alibaba Cloud</strong></a><br><strong>Product</strong>: <a href="https://www.alibabacloud.com/en/product/ebm">(ECS) Bare Metal Instances</a><br><strong>Documentation</strong>: <a href="https://www.alibabacloud.com/help/en/ecs/user-guide/build-an-sgx-encrypted-computing-environment">Build an SGX confidential computing environment</a></li><li><a href="https://azure.microsoft.com/"><strong>Azure</strong></a><br><strong>Product</strong>: <a href="https://learn.microsoft.com/en-us/azure/virtual-machines/dedicated-host-general-purpose-skus">Some Dedicated Host SKUs</a><br><strong>Documentation</strong>: <a href="https://learn.microsoft.com/en-us/azure/confidential-computing/virtual-machine-solutions-sgx">Solutions on Azure for Intel SGX</a></li><li><a href="https://gcore.com/"><strong>Gcore</strong></a><br><strong>Product</strong>: <a href="https://gcore.com/cloud/bare-metal-servers">Bare Metal</a><br><strong>Documentation</strong>: <a href="https://gcore.com/cloud/intel-sgx">Computing with Intel SGX</a></li><li><a href="https://cloud.ibm.com/"><strong>IBM Cloud</strong></a><br><strong>Product</strong>: <a href="https://www.ibm.com/cloud/vpc">Virtual Private Cloud (VPC)</a><br><strong>Documentation</strong>: <a href="https://cloud.ibm.com/docs/vpc?topic=vpc-about-sgx-vpc">Confidential computing with SGX for VPC</a></li><li><a href="https://www.ovhcloud.com/"><strong>OVH</strong></a><br><strong>Product</strong>: <a href="https://www.ovhcloud.com/en/bare-metal/prices/?use_cases=confidential-computing">Bare Metal servers</a><br><strong>Documentation</strong>: <a href="https://www.ovhcloud.com/en/bare-metal/intel-software-guard-extensions/">SGX for Confidential Computing</a></li><li><a href="https://phoenixnap.com/"><strong>PhoenixNAP</strong></a><br><strong>Product</strong>: <a href="https://phoenixnap.com/bare-metal-cloud">Bare Metal Cloud</a><br><strong>Documentation</strong>: <a href="https://phoenixnap.com/kb/intel-sgx">What is Intel SGX and What are the Benefits?</a></li><li><a href="https://www.vultr.com/"><strong>Vultr</strong></a><br><strong>Product</strong>: <a href="https://www.vultr.com/products/bare-metal/">Bare Metal</a><br><strong>Documentation</strong>: <a href="https://zenlot.medium.com/intel-sgx-development-on-vultr-30cdfd5c9754">Intel SGX development on Vultr</a></li></ol><p><strong>Note</strong>: Provider offerings change, so the list above may not reflect each provider’s current SGX support. So, it is recommended to check out the provider’s own documentation and confirm Intel SGX availability with them directly.<br>If any cloud or dedicated server providers that actively support Intel SGX or Intel TDX are not in this list, or if you come across updated information about the providers listed above, you can let the Oasis team know by <a href="https://github.com/oasisprotocol/docs/issues/new">creating an issue on GitHub</a> with the additional details.</p><p>This concludes part 1 of the prerequisites series. In the <a href="https://medium.com/@DC.600/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-2-stake-requirements-and-node-ca6c25f46969?postPublishedType=initial">next part</a>, I will discuss stake requirements and how to install the Oasis node.</p><ul><li>For technical specs, APIs, architecture, and integration guides, the <a href="https://docs.oasis.io/"><strong>Oasis documentation</strong></a> is your starting point.</li><li>For direct support on specific issues, the Oasis engineering team and other node operators are available in the <a href="https://discord.com/invite/BQCxwhT5wS"><strong>node-operators channel</strong></a> on the official Discord.</li></ul><p><em>Originally published at </em><a href="https://dev.to/dc600/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-1-hardware-and-cloud-providers-cnb"><em>https://dev.to</em></a><em> on October 28, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ad888ccb7c8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/your-guide-to-the-prerequisites-for-running-nodes-on-oasis-part-1-hardware-and-cloud-providers-1ad888ccb7c8">Your Guide to the Prerequisites for Running Nodes on Oasis (Part 1): Hardware and Cloud Providers</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Privana: A Deep Dive into Underlying Technology]]></title>
            <link>https://medium.com/coinmonks/introducing-privana-a-deep-dive-into-underlying-technology-b6397e3cad0e?source=rss-c70cb843a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6397e3cad0e</guid>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[privana]]></category>
            <category><![CDATA[oasisnetwork]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[privacy-by-design]]></category>
            <dc:creator><![CDATA[Arnab Kar (DC)]]></dc:creator>
            <pubDate>Tue, 27 Oct 2026 12:37:04 GMT</pubDate>
            <atom:updated>2026-11-23T03:04:17.933Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/975/0*LxyjnHz8ZCJ0zJWM.png" /></figure><p>In the world of privacy-first decentralized finance (DeFi), the upcoming Privana, built by and on Oasis, proposes a unique solution that deserves a deep dive. In the <a href="https://medium.com/coinmonks/introducing-privana-a-deep-dive-into-core-concepts-8f96ec299227">first part</a> of this exploratory series, I detailed the core concepts of this private DeFi application. In this part, we will go deeper and look into the underlying technology that makes Privana tick.</p><h3>Oasis Sapphire and ROFL</h3><p>In the core concepts, <a href="https://docs.oasis.io/build/sapphire/">Sapphire</a> was mentioned several times, but why is this such an integral part of the technology that drives Privana? How does the Runtime Off-chain Logic (ROFL) framework fit in? The scope of Privana’s functionality depends on both on-chain and off-chain components running in attested Trusted Execution Environments (TEEs).</p><p>As the confidential EVM runtime, Sapphire utilizes Intel SGX enclaves to ensure smart contract logic and its state are confidential by default. As a result, transactions and contract storage are encrypted, while validators and node operators, even though they are crucial to running the network, cannot access or alter them.</p><p>Running Privana’s on-chain functionalities with Sapphire has advantages that underpin the application’s privacy and security.</p><p><strong>EVM Compatibility</strong></p><p>Sapphire is EVM-compatible, so the smart contracts are written in Solidity. There is no need for prior or specialized TEE knowledge, and the confidential smart contracts can be independently audited, as the <a href="https://github.com/oasisprotocol/privana">code is public</a>. Anyone can thus verify whether the on-chain logic functions as claimed.</p><p><strong>Confidential State</strong></p><p>This is a critical property of Sapphire, as the encrypted contract storage stays on-chain and in memory. It guarantees that the state is accessible only to the executing TEE. This means that user balances, policies, and trade history are and remain private.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*NVyl53EJbJ5yK3dD.png" /></figure><p>The diagram shows how each contract is encrypted with its own key, held by an isolated Key Manager. However, as it states, node operators are still able to view the access patterns.</p><p><strong>Cross-chain signing</strong></p><p>The core concepts highlight Privana as a multi-chain application. The architecture of Sapphire can help us understand how an EVM blockchain manages this.</p><p>A Sapphire contract holds the private key inside the enclave and signs cross-chain transactions on Oasis itself. The key thus never leaves the enclave, and the contract logic that decides what to sign remains confidential. So, the destination chain can only see the finished transaction, a regularly signed transaction made from the application’s pooled vault address. As a result, there is no way to link the transaction back to the users.</p><p><strong>ROFL</strong></p><p>The chain-agnostic nature of Privana’s vaults and the off-chain execution of application logic come from <a href="https://docs.oasis.io/build/rofl/">ROFL</a> TEEs, attested on-chain by Oasis Sapphire. The application’s functionalities that run inside a ROFL container are executed in an off-chain, attested, TEE-secured setting. In the subsequent stage, Sapphire verifies whether the EVM transactions originate from that specific ROFL instance.</p><p>In short, Sapphire holds the keys and handles accounting and signing, while the Privana service, running in ROFL, handles deposit verification, swaps, yield, and broadcasting.</p><h3>Privana’s Architecture</h3><p>While discussing the core concepts of Privana, we briefly touched on the architecture. Let’s look at it now in more detail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bMyLfqvVr1sNYGm0PEt-tA.png" /></figure><p>There are five components. Integrators build with the Privana SDK, which then calls the service via the REST API. This service sits at the center of everything: it reads and writes the Oasis Sapphire contracts, which hold the keys and sign transactions confidentially, and it verifies and settles transactions on external chains, where deposits and pooled vaults sit.</p><p><strong>Accounting block</strong></p><p>Accounting here is the confidential ledger. The contract stays on Sapphire and holds a mapping of deposit addresses to asset balances. This is entirely encrypted. The Privana service maintains this system with various functions:</p><ul><li>processing deposits on each source chain</li><li>ensuring balance change management works smoothly</li><li>implementing the Know Your Transaction (KYT) routine by screening transactions</li><li>validating balances before any trades can take place</li><li>ensuring finality reconciliation once execution has gone through</li><li>handling withdrawals taking place in all the supported chains</li></ul><p><strong>Microservices block</strong></p><p>Microservices implement the execution logic for DeFi operations. Privana has two microservices: swaps and yield. These will be covered in detail later. Moreover, there is room to add new ones going forward if Privana decides to diversify its services in perpetuals or lending. This is possible because the core accounting logic stays the same for all microservices as they settle against the same wallet balance, using the same signature path.</p><p><strong>Remote attestation</strong></p><p>TEEs being the privacy-preserving core of both Sapphire (SGX) and ROFL (TDX), understanding how remote attestations work in Privana is important. The attestation reports are signed by Intel’s hardware root of trust. As a result, anyone can remotely verify that the enclave is running exactly the code it claims to run.</p><p>The beauty of this verification engine is that it is all-encompassing, providing robust, in-depth auditability that regular audits could have missed. It covers the on-chain contracts, the off-chain Privana service, as well as the microservices running in attested ROFL containers. This means it is also possible to verify the swap and yield logic being executed by the application.</p><p><strong>Not limited to DeFi</strong></p><p>One of the core architectural strengths of Privana is that its SDK is composable. So, while Privana acts as the face of private DeFi, the applicability goes beyond it. As a result, any dApp that involves private balances or scoped, time-bounded access can use the underlying architecture of the vaults.</p><h3>Fallback &amp; Recovery</h3><p>For the end users, there is a nagging question about any services, especially web3-related ones such as DeFi, given the crypto space has yet to achieve significant mass adoption. So, what happens if the enclave goes offline permanently, or if Privana stops its application and service?</p><p>A USP of Privana’s architecture is that it has built-in fallback and recovery safeguards. This is not a run-of-the-mill service-level promise; it is embedded in the system and guaranteed by Oasis Sapphire.</p><p>As mentioned, Sapphire runs and executes the Accounting contract, which means it is not dependent on Privana&#39;s off-chain service. Since the contract state is on-chain, even if Privana&#39;s application and service go offline, the exit option remains open. Let&#39;s see how this works.</p><p><strong>On-chain withdrawal</strong></p><p>The Accounting contract allows two withdrawal paths independent of the downtime of the off-chain service in the ROFL container.</p><ul><li><strong>User balance</strong>: The user can submit a withdrawal request signed by their wallet. The contract will return a signed transaction after a short time lapse on-chain. This results in the transaction paying out the user to their own address on the source chain. Anyone can broadcast it for the user, which also minimizes the risk of the funds being lost or stolen.</li><li><strong>Funds in user deposit address</strong>: This method is initiated if a deposit was never swept into the vault. The user can then call the contract directly to recover it. Following a short time lapse on-chain, the contract will return a signed transaction, the same as the first method. The difference here is that, in this case, the user can specify the destination in that call and will accordingly receive the payout.</li></ul><p>The important aspect of both these methods is that the payout address is specified before the transaction is signed. So, it is fixed permanently, and even if there is an untrusted broadcaster, the funds will only route to the designated address.</p><p><strong>Beyond service outage</strong></p><p>A service outage is the easier case, since Sapphire stays live and the withdrawal paths above still work. A more serious scenario, like a permanently lost enclave, is where Privana’s recovery model, informed by the sentinel-wallet design, comes into play.</p><p>Liquefaction, whose role in Privana is described later, outlines operator-independent recovery so that asset owners can reclaim control of their funds without needing to trust any single party. This is reassuring: user assets are not designed to be permanently lockable.</p><h3>Trust Model</h3><p>We glanced over this while discussing Privana’s core concepts. Let’s explore more here.</p><p>No system is or can ever be absolutely trustless. Privana is built using technology that minimizes trust requirements as much as possible, but some assumptions still remain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tA72hbOuLOsPputJDbqJjg.png" /></figure><p><strong>Note</strong> from the table screenshot:</p><ul><li>Research Basis: next section</li><li>Sapphire <a href="https://docs.oasis.io/build/sapphire/">docs</a></li></ul><p>Two risks cannot be eliminated for Privana, even with the best of preparedness.</p><ol><li>Vulnerabilities in the TEE hardware itself, whether Intel SGX or TDX. This is inherent for all TEE platforms, although Sapphire, using SGX technology, has various mitigation steps added in the form of defense-in-depth design. Sapphire’s SGX TEE resilience was demonstrated by its <a href="https://oasis.net/blog/oasis-tee-vulnerabilities">withstanding of TEE attacks</a> by Battering RAM and Wiretap.</li><li>Smart contract bugs in the external yield protocols that the user might choose to interact with.</li></ol><p>Privana approaches this by mitigating potential fallout through conservative platform selection, audits, and protocol vetting.</p><p><strong>Complete Knowledge proofs</strong></p><p><a href="https://oasis.net/blog/privana-liquefaction-implementation">Liquefaction</a> is one of the crucial technologies on which Privana stands, as it introduces key encumbrance. The Liquefaction framework also discusses <strong>Complete Knowledge (CK) proofs</strong>, which are cryptographic proofs that a user has unencumbered access to a private key. They could become a valuable complement to Privana, for example, by letting centralized exchanges verify that a depositor’s keys are not encumbered.</p><h3>Research Basis</h3><p>The groundwork behind Privana’s architecture and technology is laid down by cryptographic research from Cornell Tech. Recommended reading starts with the <a href="https://arxiv.org/abs/2412.02634">Liquefaction paper</a> as the primary research basis.</p><p>This paper introduces key encumbrance as the core primitive, demonstrating that TEE-based key encumbrance can break the Single-Entity Address-Ownership (SEAO) assumption. Let’s now look at the four cornerstones of the research that help to understand how the Liquefaction framework is implemented by Oasis in Privana.</p><ul><li><strong>Key Encumbrance</strong>: Generating a private key and securely holding it inside a TEE, governed by programmable access-control policies, enabling automation without custody transfer.</li><li><strong>SEAO Assumption</strong>: Challenging the assumption that one blockchain address can only be controlled by a single entity.</li><li><strong>Asset-Time Segmentation</strong>: Implementing exclusive asset control by one sub-policy at any given time, thereby ensuring multiple policies don’t end up competing amongst themselves, which could result in deadlock and double-spend.</li><li><strong>Overlay Smart Contracts</strong>: Applying smart-contract-like logic to chains, such as Bitcoin, Litecoin, Dogecoin, etc., that don’t support native smart contracts as an extension of the encumbered keys being managed off-chain in TEEs.</li></ul><p>For interested readers, there are several references available in addition to the Liquefaction paper, if they want to do their own research on the security model.</p><ul><li>Kelkar et al. on Complete Knowledge proofs (<a href="https://eprint.iacr.org/2023/044">ACM CCS, 2024</a>)</li><li>Jean-Louis et al. on privacy flaws in TEE-based platforms (<a href="https://eprint.iacr.org/2023/378">ePrint 2023/378</a>)</li><li>Van Schaik et al. on SGX security (<a href="https://par.nsf.gov//servlets/purl/10502842">IEEE S&amp;P, 2024</a>)</li></ul><h3>Integrations</h3><p>The components of Privana are assembled from public, auditable infrastructure, chosen because of their popular adoption and independent operation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hQp0eAXqguQo-F2ujbRR8w.png" /></figure><p>These are the live integrations as of now. If any services become unavailable, they can be replaced by similar services with the same interface.</p><p>This concludes the deep dive into Privana’s underlying technology. <a href="https://medium.com/coinmonks/introducing-privana-a-deep-dive-into-features-998cd58f268f">Next time</a>, I will discuss Privana’s features in detail. In the meantime, let’s continue the discussion in the comments section about what you think of these technological components that are the basis of Privana’s build.</p><p>Resources &amp; references:</p><ul><li><a href="https://privana.finance/">Privana</a></li><li><a href="https://oasis.net/">Oasis</a></li><li>For specific questions or feedback, connect on the <a href="https://discord.com/invite/BQCxwhT5wS">Privana channel</a> on the official Discord.</li></ul><p><em>Originally published at </em><a href="https://dev.to/dc600/introducing-privana-a-deep-dive-into-underlying-technology-33ia"><em>https://dev.to</em></a><em> on October 27, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6397e3cad0e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/introducing-privana-a-deep-dive-into-underlying-technology-b6397e3cad0e">Introducing Privana: A Deep Dive into Underlying Technology</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Guide to the Nodes You Can Run on Oasis]]></title>
            <link>https://medium.com/coinmonks/your-guide-to-the-nodes-you-can-run-on-oasis-25fcabc5d97e?source=rss-c70cb843a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/25fcabc5d97e</guid>
            <category><![CDATA[guides-and-tutorials]]></category>
            <category><![CDATA[oasisnetwork]]></category>
            <category><![CDATA[node]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[developer-tools]]></category>
            <dc:creator><![CDATA[Arnab Kar (DC)]]></dc:creator>
            <pubDate>Thu, 24 Sep 2026 07:22:30 GMT</pubDate>
            <atom:updated>2026-09-24T08:58:52.873Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*L2R5U5ywoTj9dije.jpeg" /></figure><p>Tech-savvy users can get more involved in a blockchain protocol than the general community usually does — by running nodes that boost the network’s security, robustness, diversity, and decentralization. In this guide, I will introduce the various types of nodes you can run on Oasis, with an overview of the distinctive roles they play in the protocol.</p><h3>Validator Node</h3><p>Oasis is a proof-of-stake (PoS) protocol, which makes the <a href="https://docs.oasis.io/node/run-your-node/validator-node"><strong>validator node</strong></a> the single most critical component of the network. If you are running such a node, your responsibilities will range from verifying transactions to proposing new blocks to be added to the blockchain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*P5rtjkX0y2gbHXyW.png" /></figure><p>Since Oasis has a modular architecture separating the consensus and the execution layers, where this node operates is an important indicator of its role in the network. Operating from the consensus layer, the validator node functions by staking the network’s native token, <a href="https://docs.oasis.io/general/manage-tokens/">ROSE</a>. When you run this node, you participate in the consensus process by validating transactions, signing blocks, and ensuring the integrity of the blockchain.</p><h3>Compute Nodes</h3><p>As mentioned, the execution layer is separate in Oasis’s architecture, and there are multiple parallel runtime instances possible, known as paratimes. So, <a href="https://docs.oasis.io/node/run-your-node/paratime-node"><strong>compute nodes</strong></a> are those that participate in executing smart contracts and processing related transactions in the network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*iK037rJ3JI0oUqjH.png" /></figure><p>If you are running such a node, your responsibilities will include handling computations, running decentralized applications (dApps), data processing, and executing privacy-preserving smart contracts.</p><p>Currently, there are three types of compute nodes on Oasis, based on operational paratimes.</p><ol><li><strong>Sapphire Compute Node</strong> — If you are running this node, you are helping execute privacy-preserving smart contracts and process transactions on Oasis’s confidential EVM runtime, Sapphire. This type of node is crucial to maintaining the confidentiality of sensitive data that is run through trusted execution environments ( <a href="https://docs.oasis.io/node/run-your-node/prerequisites/set-up-tee">TEEs</a>). As a result, data remains encrypted and confidential while being processed, and enhanced security is enabled throughout.</li><li><strong>Cipher Compute Node</strong> — Its role and functionality are the same as Sapphire, with only one exception: it is run on Oasis’s WASM runtime, Cipher.</li><li><strong>Emerald Compute Node</strong> — This pertains to Oasis’s original, non-confidential EVM runtime, Emerald. The function of this node is limited to executing smart contracts, validating transactions, and other operations within the paratime. There is no privacy-preserving component here.</li></ol><h3>Client Nodes</h3><p>The role of a <a href="https://docs.oasis.io/node/run-your-node/paratime-client-node"><strong>client node</strong></a> is to enable an interface for users or other applications to interact with the network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*h1SLJnY_4HyqawdW.png" /></figure><p>It is functionally different from compute nodes. If you are running such a node, your responsibilities will include performing blockchain queries, submitting transactions, and retrieving other data from the network.</p><p>There are half a dozen different types of client nodes on Oasis that you can run at the moment.</p><ol><li><a href="https://docs.oasis.io/node/run-your-node/non-validator-node"><strong>Non-Validator Node</strong></a> — This type of client node supports network operations and decentralization instead of taking part in the consensus process of validating and proposing new blocks.</li><li><strong>Sapphire Client Node</strong> — This type of client node interacts specifically with the Sapphire runtime and its EVM-compatible privacy functionality.</li><li><strong>Cipher Client Node</strong> — This type of client node interacts specifically with the Cipher runtime and its WASM-compatible privacy functionality.</li><li>- It is a specialized <strong>Sapphire client node</strong> that supports TEEs and can host <a href="https://docs.oasis.io/build/rofl/">ROFL apps</a> integrating the runtime off-chain logic (ROFL) framework.</li><li><a href="https://docs.oasis.io/node/run-your-node/paratime-observer-node"><strong>Observer Node</strong></a> — It is a specialized client node for confidential paratimes like Sapphire and Cipher. So, if you run this node, you help with confidential smart contract queries.</li><li><a href="https://docs.oasis.io/node/run-your-node/paratime-client-node#stateless-client-node-optional"><strong>Stateless Node</strong></a> — It is a specialized client node that can operate without maintaining state, enabling instant bootstrapping, which makes it valuable for ROFL development.</li></ol><h3>Archive Node &amp; Seed Node</h3><p>These are a couple of specialized nodes on Oasis. The <a href="https://docs.oasis.io/node/run-your-node/archive-node"><strong>archive node</strong></a> stores the entire blockchain history. This is a critical function for in-depth analysis and development of the protocol, where you help ensure that all the past iterations of the network state remain accessible.</p><p>The <a href="https://docs.oasis.io/node/run-your-node/seed-node"><strong>seed node</strong></a> is like an address book for the network. By running this node, you ensure crucial support for other nodes so that they can discover peers and join the network. Like the non-validator node, it has no part to play in the consensus process.</p><h3>Key Manager Node</h3><p>Decentralized key management is an essential primitive on Oasis. This makes the <a href="https://docs.oasis.io/node/run-your-node/keymanager-node/"><strong>Key Manager Node</strong></a> a highly specialized node on the network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*C4Hr_b7LyF_Mqttg.png" /></figure><p>If you are running such a node, your responsibilities center around securely managing cryptographic keys used in confidential computing. As a result, the node becomes vital for the network’s secure, decentralized, and privacy-focused operations. It helps maintain the myriad privacy-preserving features as well as ensure secure encryption and decryption of data processed within the TEEs.</p><h3>Services</h3><p>Sometimes the nodes you run come with optional add-on services or interface layers sitting on top of the nodes. Let’s look at the services that you can bundle with your nodes.</p><p><strong>Rosetta Gateway</strong></p><p>The <a href="https://github.com/oasisprotocol/oasis-rosetta-gateway">Rosetta Gateway</a> is a specialized service that connects to a non-validator node. It implements the Rosetta API and provides a simplified, standardized interface to interact with the blockchain. If you opt for this service, it will ease the integration between Oasis and various external platforms, including exchanges, wallets, custodians, and blockchain-based applications.</p><p><strong>Public gRPC</strong></p><p>As a specialized service, this is a helpful management tool for developers that is not scoped to any single node type. The Oasis gRPC protocol provides an efficient, real-time, and cross-platform communication channel between the Oasis node and the network. As each node opens a gRPC socket, the public endpoints run a proxy exposing a small, safe subset of that API publicly. It thus acts as a filtering layer standing guard on what the node’s raw gRPC socket would otherwise expose.</p><p><strong>Web3 Gateway</strong></p><p>The Web3 Gateway is a specialized service that connects to a compute or a client node with EVM compatibility. It interacts with Oasis via the standard Web3 protocol, thereby opening a bridge to external Web3-based applications. It enables developers to access and leverage the tools, libraries, and practices in line with Ethereum development while also benefiting from Oasis’s features and functionalities of privacy and confidential computation.</p><p>This concludes the overview of the nodes you can run on Oasis. It is by no means comprehensive, as the prerequisites and the steps to run the nodes are too detailed to include here. So, I will follow this up with subsequent guides that cover them in the detail they warrant. Stay tuned.</p><p>For technical specs, APIs, architecture, and integration guides, the <a href="https://docs.oasis.io/"><strong>Oasis documentation</strong></a> is your starting point.<br>For direct support on specific issues, the Oasis engineering team and other node operators are available in the <a href="https://discord.com/invite/BQCxwhT5wS"><strong>node-operators channel</strong></a> on the official Discord.</p><p><em>Originally published at </em><a href="https://dev.to/dc600/your-guide-to-the-nodes-you-can-run-on-oasis-135n"><em>https://dev.to</em></a><em> on September 24, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25fcabc5d97e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/your-guide-to-the-nodes-you-can-run-on-oasis-25fcabc5d97e">Your Guide to the Nodes You Can Run on Oasis</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Privana: A Deep Dive into Core Concepts]]></title>
            <link>https://medium.com/coinmonks/introducing-privana-a-deep-dive-into-core-concepts-8f96ec299227?source=rss-c70cb843a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f96ec299227</guid>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[oasisnetwork]]></category>
            <category><![CDATA[privacy-by-design]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[privana]]></category>
            <dc:creator><![CDATA[Arnab Kar (DC)]]></dc:creator>
            <pubDate>Mon, 21 Sep 2026 08:56:11 GMT</pubDate>
            <atom:updated>2026-10-28T06:27:24.303Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*EKpj_hIyQxy3Y9inGYxe8w.png" /></figure><p>Privacy in blockchain and web3 is not a default setting. Because privacy must be designed in, decentralized applications (dApps), including decentralized finance (DeFi) solutions, often lack it. As a private, non-custodial DeFi interface, Privana aims to answer this need.</p><p>Built by the Oasis team, Privana runs on Sapphire’s confidential EVM runtime inside hardware-secured enclaves, better known as Trusted Execution Environments (TEEs). This setup enables the features of privacy, automation, and self-custody to coexist without trade-offs.</p><p>Before understanding in detail the core concepts behind Privana, it is useful to examine the privacy problem and how it is intended to be solved.</p><h3>Finding the missing piece of the privacy puzzle</h3><p>What <a href="https://medium.com/coinmonks/privana-is-coming-private-defi-no-catch-688dd0cc8e52">users can do with Privana</a> underscores this application’s privacy-first commitment: swap tokens, earn yield on stablecoins, and automate trading strategies. At the same time, users have self-custody, and none of their activities are revealed on-chain. This is in contrast to any standard decentralized exchange (DEX), where trades are always public; transactions are visible to anyone, including bots, who can also intervene with sandwich attacks and front-running; and full transparency dictates that user wallet history is always accessible. Privana is designed to solve these problems.</p><p>Privana and Oasis combine to deliver the application’s multi-chain feature while maintaining the privacy setup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*6UTxLYjM7UR-qa8q.png" /></figure><p>Each layer has to play only its own part. Oasis takes on the responsibility for privacy and security with Sapphire’s confidential smart contracts and encrypted contract storage. The external chains just enjoy the benefits, and they only see what they need to — signed transactions in final state. Privana’s contribution is the user interface: wallet connection, asset deposit, execution of swaps, rule setup for automation, and portfolio management.</p><p>It is crucial that privacy and security guarantees come from Oasis rather than from Privana because the assurances are backed by core hardware and blockchain levels instead of merely the application level.</p><h3>An overview of Privana’s core functionality</h3><p>Privana’s core functionality can be stated in a single sentence. It operates pooled, policy-governed vaults that hold assets inside hardware enclaves and execute DeFi actions privately. Let’s see how this tracks.</p><p><strong>Pooled vault model</strong></p><p>When users deposit tokens in Privana, the funds are kept in a vault, a smart contract on Oasis Sapphire inside an Intel SGX enclave (more on this, rather than in individual wallets as usual. This model moves away from the system of individual wallet users holding their private keys and instead uses a single vault per chain to hold assets for multiple users. The obvious next question is how individual token holdings are then managed. The answer lies in a <strong>confidential accounting layer</strong> tracking the user balances. This layer is a set of encrypted smart contracts that privately map and maintain individual token holdings.</p><p>This design choice is deliberate and comes with several benefits.<br> * <strong>Privacy amplification</strong> — Every transaction originating from Privana has the same address — that of its pooled vault. Since any user’s personal wallet activity is not broadcast, no specific trade can be attributed to a specific person.<br> * <strong>Liquidity efficiency</strong> — The Privana vaults hold an inventory of commonly traded assets. As a result, internal liquidity can settle user trades instantly within the vault, eliminating the need for external transactions. This also augments privacy while being fast and cheap.<br> * <strong>Lower costs</strong> — Being a pooled model, there is no need for individual smart contracts for the users. This results in low complexity of the application, lower gas fees, and higher cost-efficiency.</p><p>The confidential accounting layer in Privana’s pooled vault model is unique to DeFi solutions but follows the same logic as traditional institutions where, for example, users keeping their gold would all be stored in a single secure vault while the ledger records will maintain individual holdings. Privana’s use of this accounting layer thus serves 4 purposes.</p><p>* When users deposit their tokens, this system verifies the deposit on the source chain and registers it to the balance in the user’s name in the confidential ledger.</p><p>* When users initiate a trade or yield activity, the system does a quick balance check for fund sufficiency before processing any transactions.</p><p>* For every incoming deposit, the system runs Know Your Transaction (KYT) checks to verify that funds don’t originate from sanctioned sources. This filter is a compliance mechanism adding another layer of security to the vault without compromising its privacy mandate.</p><p>* After every successful trade execution, there is immediate balance reconciliation so that the latest state of the user’s holdings remains updated in vault records.</p><p>A great advantage of Privana’s vaults is that they are chain-agnostic. The keys stay and run inside TEEs, while from the target blockchain’s perspective, all logic is enforced off-chain. So, even a network like Bitcoin, without native smart contract support, can benefit from the model.</p><h3>The three pillars of Privana’s core concepts</h3><p>TEEs, key encumbrance, and the non-custodial model encapsulate the core concepts behind Privana’s build, so it is important to delve a little deeper into each of them.</p><p><strong>TEEs</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*-FGBy5GcIc3hmIUO.png" /></figure><p>TEEs sit at the center of Privana’s privacy and security architecture. It is hardware running code inside, like a locked room enforcing rules so that no one can view, access, or modify what’s inside. It keeps everybody out, even the operating system and the server operator. As mentioned before, for Privana, this locked room is an Intel SGX enclave on Oasis Sapphire.</p><p>The TEE protects vault keys, user balances, policy rules, and transaction history. Everything stays encrypted within the TEE, only gets decrypted during the duration of processing, and is re-encrypted when processing is complete.</p><p>There is never any exposure to external systems. So, the TEE prevents access to or reading of private keys or any attempts to bypass user policies. Moreover, no unauthorized transactions can get through or get signed. Not even an engineer with full server access can extract or alter what is inside the enclave.</p><p>Most users will be satisfied with guarantees, but anyone who is tech-savvy and wants to verify for themselves can use remote attestation to check that the code running inside the enclave is the one that was promised and whether it is really untampered.</p><p>From an applicability point of view, enterprise custody platforms often utilize TEEs for institutional users. Privana aims to provide the same security model for DeFi users.</p><p><strong>Key encumbrance</strong></p><p>In a standard wallet, users must manually approve every transaction by signing with their private keys, which increases the risk of exposure or compromise. With key encumbrance, users can pre-define rules and let automation take care of the rest. This is the practical application of the concept laid down in the <a href="https://arxiv.org/abs/2412.02634">Liquefaction research paper</a> by Austgen et al. at Cornell Tech.</p><p>Key encumbrance thus lets the enclave execute on the user’s behalf, bound or encumbered by user-defined policy that can be updated or revoked at any time at the user’s discretion.</p><p>Take this example.</p><pre>// Example policy: delegate yield routing, keep direct swap control<br>{<br>  asset:            &quot;USDC&quot;,<br>  spend_limit:      1000 USDC/day,    // max automated spend<br>  destination_lock: [&quot;aave-v3&quot;],      // only this protocol<br>  expires:          30 days,          // time-bound — auto-expires<br>  revocable:        true              // you can always cancel<br>}<br><br>// The enclave enforces these limits in hardware.<br>// No one — including Privana — can execute outside these rules.</pre><p>Privana takes key encumbrance utility forward by introducing the principle of <strong>asset-time segmentation</strong>. It means that at any given time, only a single entity can exclusively control any specific asset position, and this entity can either be the user themselves or the user’s delegate. As a result, two policies cannot simultaneously claim the same asset, thereby preventing conflicts and ensuring user exit as and when they want.</p><p>The benefit of key encumbrance is best understood from how it counteracts the SEAO assumption model. Single-Entity Address-Ownership, or SEAO, dictates that one address must mean one corresponding user controlling it absolutely. In contrast, key encumbrance espouses programmable access-control policies that can function with complex rules, multiple delegations, time bounds, and asset limits. Everything is enforceable inside hardware without custody transference. This is the essence of automated, private DeFi without having to give up control.</p><p><strong>Non-custodial model</strong></p><p>The term “custody” is used often but not always clearly understood in DeFi. Let’s compare Privana with other prevalent custody models regarding their attributes to understand the difference.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*zE_2iSIsuSz1xcmy.png" /></figure><p>This redefines the concept of non-custodial. Before, in standard wallets, users had to either manually sign every transaction for safety or give up control to bots for automation, leading to potential security risks. Now, with Privana, automation and self-custody are simultaneous, with privacy ensured throughout the whole experience.</p><p>This does not mean that there are no trust assumptions in Privana; it only means that the trust requirements are as minimal as possible. As long as Intel SGX hardware works as designed and Sapphire’s confidential smart contracts function as built and deployed, no one from Privana or Oasis’s side can access or tamper with the vault’s private key or override the user’s policy rules. It may be useful to check out the <a href="https://docs.privana.finance/architecture/trust-model">Trust Model</a> page in Privana’s docs for details on every assumption and its mitigation.</p><p>This concludes the deep dive into Privana’s core concepts. <a href="https://medium.com/coinmonks/introducing-privana-a-deep-dive-into-underlying-technology-b6397e3cad0e">Next time</a>, I will discuss Privana’s underlying technology in detail. In the meantime, let’s continue the discussion in the comments section about what you think of these concepts that are the pillars of Privana’s build.</p><p><strong>Resources &amp; references:</strong><br> * <a href="https://privana.finance/">Privana</a><br> * <a href="https://oasis.net/">Oasis</a><br> * For specific questions or feedback, connect on the <a href="https://discord.com/invite/BQCxwhT5wS">Privana channel</a> on the official Discord.</p><p><em>Originally published at </em><a href="https://dev.to/dc600/introducing-privana-a-deep-dive-into-core-concepts-4aib"><em>https://dev.to</em></a><em> on September 21, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f96ec299227" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/introducing-privana-a-deep-dive-into-core-concepts-8f96ec299227">Introducing Privana: A Deep Dive into Core Concepts</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Zero-Trust Networking to Control-Plane Privacy: How Diode Scales on Oasis]]></title>
            <link>https://medium.com/coinmonks/zero-trust-networking-to-control-plane-privacy-how-diode-scales-on-oasis-f605fa41ce76?source=rss-c70cb843a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/f605fa41ce76</guid>
            <category><![CDATA[private-ai]]></category>
            <category><![CDATA[oasisnetwork]]></category>
            <category><![CDATA[data-privacy]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[zero-trust-network-access]]></category>
            <dc:creator><![CDATA[Arnab Kar (DC)]]></dc:creator>
            <pubDate>Tue, 25 Aug 2026 07:27:34 GMT</pubDate>
            <atom:updated>2026-08-25T14:01:59.972Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/799/0*MOJpuxruuzWlRi8q.png" /></figure><p>Enterprise integration of on-chain techniques is steadily growing, but is still far below blockchain’s scope and potential. The main reason is that most crypto projects are built for users willing to jump through the hoops of complex interfaces and less-than-seamless experiences.</p><p>So, it is refreshing to see a project like Diode that aims to reach users who don’t need to know or learn about underlying technologies to avail the benefits of some product or service. Along the way, Diode has fully embraced the privacy-first philosophy. This encompasses team communication, zero-trust networking, and AI, with <a href="https://oasis.net/">Oasis</a> doing the heavy lifting behind the scenes by bringing private data, verifiable execution, and programmable policies to the table.</p><p>This is especially beneficial for enterprise users who need to adhere to stringent regulations concerning data liability, and where high compliance levels mean zero tolerance for external access to their information.</p><h3>Three Acts of Diode</h3><p>What <a href="https://diode.io/">Diode</a> is doing is best understood by looking at their three-layered approach.</p><p>In the first layer, they have introduced zero-trust networking (ZTN), which deserves a more thorough discussion later. Suffice here to say that Diode’s WireGuard-native network is unique in its offering of blockchain-based identities, and is more cost-efficient than the alternatives, Tailscale or Zscaler. This is achieved by operating on bandwidth fees instead of traditional per-device charges.</p><p>In the second layer, Diode has improved upon team communication by creating a blockchain-defined communication perimeter. As a result, it works virtually like a private Slack where each user holds an identity contract. This is a multi-sig wallet linking their devices to a single verifiable identity, resulting in a secure “zone” of communication. Such zones then control who can read messages, share files, and access tunneled browsing or encrypted dashboards.</p><p>In the third layer, there is private AI, coordinated by a B2B system. It enables organizations to query their own data via an LLM interface. With no sensitive information ever going out to any public platforms, access control is the main focus here. Oasis-anchored access control lists (ACLs) set predefined parameters, governing which tools each team can connect, which LLMs are available for data query, and what filters can determine the output.</p><h3>More on ZTNA</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*lxAIASu8rVFnK3wM.png" /></figure><p>Before going any further, let’s take a closer look at Diode’s privacy-focused zero-trust network access (ZTNA) model, marking their first collaboration with Oasis. ZTN is an alternative to VPN and can replace it altogether as the future method for secure communication. This is an excellent example of a Decentralized Physical Infrastructure Network (DePIN) use case providing SaaS solutions.</p><p>Diode made the on-chain logic used in device onboarding and access permissions in the ZTNA model confidential and secure with Sapphire’s smart privacy infrastructure. This resulted in beefing up the encryption capabilities for decentralized messaging, p2p tunnels, and on-chain proxy services. Users can also avail benefits like connecting to servers, IoT devices, and remote workers to private network assets, all with zero data exposure risk.</p><p>The significance of this privacy-first ZTNA model as the fundamental layer of Diode’s system is that both the other layers — team communication and private AI — are built on it.</p><h3>Oasis Tech Integration</h3><p>The role of Oasis in Diode’s development has grown in scope and impact as the tech integration is crucial across all these different layers. Typical blockchain transparency means familiarity with contract structure can potentially let anyone identify which wallets are in a given zone or which device keys belong to an identity. Oasis prevents this with control plane privacy, hardcoded with data confidentiality and end-to-end encryption.</p><p>So now, to get even access to read the participating public keys in a Diode zone, a user needs to be a member of that zone contract. And the metadata always stays private by default. Moreover, for secure and seamless networking, WireGuard configurations, SSH keys, and device information are stored in Oasis perimeter contracts. The critical importance of going privacy-first is also demonstrated at the private AI layer, involving the Oasis-anchored ACLs.</p><h3>Proof of Concept: On-chain Energy RWA With Trust Layer</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*nWoUXAsEw5DkcP11.png" /></figure><p>Here is a <a href="https://diode.io/blog/diode-cleanconectai-oasis-verfiable-rwa">proof of concept</a>, applying the Oasis-Diode collaborative infrastructure scope to the real-world assets (RWA) space in a dynamic 3-way partnership that includes CleanConnect for oil and gas certification data.</p><p>Here, the AI-driven framework needs verifiable trust, which Oasis facilitates by bringing together Diode Nexus and CleanConnect’s ProveZero multi-certification pathways. The partnership showcases the incorporation of adequate safeguards for regulated industrial data while delivering authenticated production proofs and ensuring the validity of on-chain RWA.</p><p>CleanConnect’s ProveZero AI-powered camera systems monitor for physical breaches, detect liquid leaks using machine learning, flag hard hat violations, and image methane in the infrared spectrum. As an application of this monitoring system, Chevron qualified for a multi-billion-dollar drilling lease.</p><p>When verifiability at source is added to the mix, it becomes a crucial factor. With the cameras paired with blockchain-tied device identity, the generated data is routed via Sapphire smart contract-enabled ZTNA.</p><p>All this together carries significant regulatory weight, as auditors can review and confirm the footage and sensor outputs in an unbroken provenance trail. It also enables producers, traders, and buyers to access cryptographic proof that the attributes encoded in the certification data, including ISO 14067, ISCC, EO100, MiQ, OGMP, EUMR, etc, are real and verified. This also authenticates a secure, single, auditable chain of custody across major global standards simultaneously.</p><p>This is a scalable model for Oasis trust layer integration, assuring confidentiality, compliance, and control in private, automated, and cross-vendor AI systems. It also addresses the trust gap in current certification systems.</p><h3>Final Words</h3><p>Diode and Oasis coming together provides a working example for next-gen enterprise-grade privacy infrastructure. Diode is already working on making team communication and private AI products available for a wider user base. With <a href="https://oasis.net/">Oasis</a>’s tech stack taking care of confidentiality, data is no longer entrusted blindly but is verifiably secure.</p><p><em>Originally published at </em><a href="https://dev.to/dc600/zero-trust-networking-to-control-plane-privacy-how-diode-scales-on-oasis-29jj"><em>https://dev.to</em></a><em> on August 25, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f605fa41ce76" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/zero-trust-networking-to-control-plane-privacy-how-diode-scales-on-oasis-f605fa41ce76">Zero-Trust Networking to Control-Plane Privacy: How Diode Scales on Oasis</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ROFLize an App: Bonus Guide to Features & Troubleshooting (Part 2)]]></title>
            <link>https://medium.com/coinmonks/roflize-an-app-bonus-guide-to-features-troubleshooting-part-2-9cd921c283bc?source=rss-c70cb843a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/9cd921c283bc</guid>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[oasisnetwork]]></category>
            <category><![CDATA[guides-and-tutorials]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[rofl]]></category>
            <dc:creator><![CDATA[Arnab Kar (DC)]]></dc:creator>
            <pubDate>Fri, 14 Aug 2026 06:12:56 GMT</pubDate>
            <atom:updated>2026-08-17T16:42:55.171Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/680/0*jFpZ1PlNtake2wwv.jpeg" /></figure><p>In this 2-part bonus guide on the features and troubleshooting once you ROFLize an app, the <a href="https://medium.com/coinmonks/roflize-an-app-bonus-guide-to-features-troubleshooting-part-1-4db74b3e94d2">first part</a> covered in detail the marketplace, secrets, and persistent storage. Let’s continue.</p><h3>Public Variables</h3><p>You will remember that we learned about secrets for confidential values. But an app may also consist of containers that need to access non-sensitive values and configurations. API endpoints, contract addresses, feature flags, etc are some examples of information that do not have or need any confidential attributes. This is when we use <strong>public variables</strong>. They are basically arbitrary key-value pairs that are exposed to containers as environment variables.</p><p>You can manage these public variables using the <a href="https://docs.oasis.io/build/tools/cli/rofl#public-var">Oasis CLI</a>. Take this example where we create a public variable called API_URL.</p><pre>echo -n &quot;https://api.example.com&quot; | oasis rofl public-var set API_URL -</pre><p>You will notice that this command only updates the local app manifest file. The public variable, however, is not yet propagated to the app. As a result, you will be able to easily configure as many public variables as you want without having to constantly update the on-chain app configuration.</p><p>Once the required public variables are created, you can update all of them in the on-chain configuration using the usual command.</p><pre>oasis rofl update</pre><p>The Oasis CLI documentation is useful if you need to consult comprehensive public variable management commands, including importing from .env files, removing public variables, and other advanced features.</p><p>Now, inside the containers, the public variables can be passed via environment variables. This is possible because each public variable is automatically exposed in the Compose environment and can be used in the Compose file.</p><pre>services:<br>  test:<br>    image: docker.io/library/alpine:3.21.2@sha256:f3240395711384fc3c07daa46cbc8d73aa5ba25ad1deb97424992760f8cb2b94<br>    command: echo &quot;API URL is $API_URL&quot;<br>    environment:<br>      - API_URL=${API_URL}</pre><h3>rofl.yaml Manifest File</h3><p>Before proceeding in this section, let’s familiarize ourselves with the <strong>metadata</strong> in the yaml root, consisting of these valid fields.</p><ul><li>name: A short name for your app that is readable by humans. e.g. my-app</li><li>version: The ROFL version you are using. e.g. 0.1.1</li><li>repository: A path to the git repository. e.g. <a href="https://github.com/user/my-app">https://github.com/user/my-app</a></li><li>author: The author name and the e-mail address. e.g., if you are John Doe, then it will show John Doe &lt;john@doe.com&gt;</li><li>license: The ROFL license in <a href="https://spdx.org/licenses/">SPDX</a> format. e.g. Apache-2.0</li><li>tee: The Trusted Execution Environment type that is being used. tdx is the default option, while sgx is also valid.</li><li>kind: As outlined in the initialization process of the <a href="https://medium.com/coinmonks/roflize-an-app-part-1-rofl-workflow-to-initialization-65ed1fad7781">workflow</a>. Valid options for TDX TEE are containers, which is the default, or raw. If you use SGX TEE, then only raw is the valid option.</li></ul><p><strong>App Resources (</strong><strong>resources)</strong></p><p>Each containerized app running in ROFL needs pre-defined resources such as the number of assigned vCPUs, amount of memory, storage requirements, GPUs, etc, for its execution. In the app manifest file, these will be headed under resources.</p><pre>resources:<br>  memory: 512<br>  cpus: 1<br>  storage:<br>    kind: disk-persistent<br>    size: 512</pre><p>If you decide to change the requested resources, it will result in the creation of a different enclave identity for the app. Then you will have to update the policy accordingly.</p><p>Let’s now see what these resources signify.</p><ul><li><strong>Memory (</strong><strong>memory)</strong><br> The amount of memory is specified in megabytes. It is initialized to 512 by default.</li><li><strong>vCPU Count (</strong><strong>cpus)</strong><br> The number of vCPUs allocated to the VM. It is initialized to 1 by default.</li><li><strong>Storage (</strong><strong>storage)</strong><br> You can choose different storage options for your ROFL app based on its utility. Currently, it can be one of four options.</li></ul><ol><li>disk-persistent: When the disk of the given size is persistent, it is encrypted and authenticated using a key derived by the decentralized on-chain key management system after successful attestation. This is what our example shows.</li><li>disk-ephemeral: When the disk of the given size is ephemeral, it is encrypted and authenticated using an ephemeral key randomly generated on each boot.</li><li>ram: Here, an ephemeral filesystem is entirely contained in encrypted memory.</li><li>none: Here, no storage provision has been made. This option is not valid for containerized apps, so you have to choose one of the previous three.</li></ol><p>The size field defines the amount of storage to provision in megabytes.</p><p><strong>Artifacts (</strong><strong>artifacts)</strong></p><p>This configures locations of artifacts used during the ROFL build process with builder, firmware, kernel, stage2, container.runtime, and container.compose as supported fields. If any fields are left unspecified, they will use the default artifacts from the CLI. For containerized apps, container.compose points to the Compose file included in the ROFL bundle.</p><pre>artifacts:<br>  container:<br>    compose: compose.yaml</pre><p><strong>Deployments (</strong><strong>deployments)</strong></p><p>This contains ROFL deployments on specific networks.</p><p>The deployment you have defined will show as deployment_name.</p><p>Deployment artifacts are optional and merged field by field on top of global artifacts.</p><pre>deployments:<br>  testnet:<br>    network: testnet<br>    paratime: sapphire<br>    artifacts:<br>      container:<br>        compose: compose.testnet.yaml</pre><p>There are four components to policy under which your app will spin up.</p><ul><li>quotes: Include TEE-specific policy requirements such as the TCB validity period and the minimum TCB-R number. This helps to indicate what security updates must be applied to the given platform.</li><li>enclaves: Include permissioned enclave IDs for running your app.</li><li>endorsements: Include a list of conditions defining who can run the app.</li><li>any: {} indicates any node can run the app.</li><li>node: &lt;node_id&gt; indicates only a specified node ID can run the app.</li><li>provider: &lt;address&gt; indicates nodes belonging to the specified ROFL provider can run the app.</li><li>provider_instance_admin: &lt;address&gt; indicates machines having the specified admin can run the app.</li></ul><p>You can choose one or multiple conditions in a nested format by using and and or operators.</p><pre>policy.yaml<br><br>endorsements:<br>  - and:<br>    - provider: oasis1qp2ens0hsp7gh23wajxa4hpetkdek3swyyulyrmz<br>    - or:<br>      - provider_instance_admin: oasis1qrk58a6j2qn065m6p06jgjyt032f7qucy5wqeqpt<br>      - provider_instance_admin: oasis1qqcd0qyda6gtwdrfcqawv3s8cr2kupzw9v967au6</pre><p>This example indicates that the app can be run only on the specified provider, and on machines owned by either of the two admin addresses.</p><ul><li>fees: &lt;fee_policy&gt; specifies who pays for the registration and other fees. It can be either endorsing_node when the node running the app pays, or instance when the app instance pays.</li></ul><p>The final piece of this section is machines, where the specific app deployment takes place. If you remember the <a href="https://medium.com/coinmonks/roflize-an-app-part-2-create-build-deploy-test-096900eb3ead"><strong>oasis rofl deploy</strong></a> tutorial, it creates a new default machine if there is no existing machine. If there is one, then the app is redeployed here.</p><ul><li>&lt;machine_name&gt; is the name you choose for the machine.</li><li>provider: &lt;provider_address&gt; is the Oasis native address of the ROFL provider hosting the machine.</li><li>offer: &lt;offer_name&gt; specifies what offer you have chosen.</li><li>id: &lt;machine_id&gt; is the ID of the machine per provider.</li><li>permissions are optional, and when present, indicate ROFL scheduler-specific permissions.</li><li>log.view will list all the Oasis native addresses that can access machine logs.</li></ul><h3>appd REST API</h3><p>Each containerized app running in ROFL runs a special daemon called rofl-appd. It exposes additional functions via a simple HTTP REST API. To enable easier access isolation, the API is exposed via a UNIX socket located at /run/rofl-appd.sock.</p><p>Let’s consider this example where we have used the <a href="https://docs.docker.com/reference/compose-file/services/#short-syntax-5">short syntax for Compose volumes</a>.</p><pre>services:<br>  mycontainer:<br>    # ... other details omitted ...<br>    volumes:<br>      - /run/rofl-appd.sock:/run/rofl-appd.sock</pre><p><strong>ROFL clients</strong></p><p>For your ROFL app, it is strongly recommended that you follow the steps to bind the UNIX socket by accessing the ROFL REST API through one of the ROFL clients. You can choose any one of the following languages.</p><ol><li>oasis-rofl-client for <a href="https://pypi.org/project/oasis-rofl-client/">Python</a></li><li>@oasisprotocol/rofl-client for <a href="https://www.npmjs.com/package/@oasisprotocol/rofl-client">TypeScript</a></li><li>oasis-rofl-client for <a href="https://github.com/oasisprotocol/oasis-sdk/tree/main/rofl-client/rs">Rust</a></li></ol><p>Note: Although the communication with rofl-appd is through UNIX sockets, the REST service still uses the HTTP protocol. In our examples, we will be using the http://localhost/&lt;endpoint_path&gt; format throughout. You are free to provide any name instead of a hostname.</p><p><strong>Endpoints</strong></p><p><strong>App Identifier</strong> is where the endpoint is used to retrieve the app ID.<br>Endpoint:/rofl/v1/app/id ( GET)<br>Example response:</p><pre>rofl1qqn9xndja7e2pnxhttktmecvwzz0yqwxsquqyxdf</pre><p><strong>Key Generation</strong></p><p>Here, each registered app automatically gets access to a decentralized on-chain key management system. Now, the keys can only be generated inside properly attested app instances. They remain unchanged even if the app is deployed elsewhere, or even if its state is erased.<br>Endpoint:/rofl/v1/keys/generate ( POST)<br>Example request:</p><pre>{<br>  &quot;key_id&quot;: &quot;demo key&quot;,<br>  &quot;kind&quot;: &quot;secp256k1&quot;<br>}</pre><ul><li>key_id is used for domain separation of different keys. It is a unique identifier, with every key ID corresponding to a different key.</li><li>kind defines what kind of key should be generated. Options include:</li></ul><ol><li>raw-256 to generate 256 bits of entropy</li><li>raw-386 to generate 384 bits of entropy</li><li>ed25519 to generate an Ed25519 private key</li><li>secp256k1 to generate a Secp256k1 private key, as used in our example</li></ol><p>The generated key is returned as a hexadecimal string.<br> Example response:</p><pre>{<br>  &quot;key&quot;: &quot;a54027bff15a8726b6d9f65383bff20db51c6f3ac5497143a8412a7f16dfdda9&quot;<br>}</pre><p><strong>Authenticated Transaction Submission</strong></p><p>This is important if your app is registered with a different chain instead of Oasis. It enables your ROFL app to submit authenticated transactions to that chain. As these transactions are signed by an <strong>endorsed ephemeral key</strong>, they get automatically authenticated.</p><p>This also helps to easily authenticate the transaction origin in smart contracts by simply invoking an <a href="https://api.docs.oasis.io/sol/sapphire-contracts/contracts/Subcall.sol/library.Subcall.html#roflensureauthorizedorigin">appropriate subcall</a>.</p><pre>Subcall.roflEnsureAuthorizedOrigin(roflAppID);</pre><p>Endpoint: /rofl/v1/tx/sign-submit (POST)<br>Example:</p><pre>{<br>  &quot;encrypt&quot;: true,<br>  &quot;tx&quot;: {<br>    &quot;kind&quot;: &quot;eth&quot;,<br>    &quot;data&quot;: {<br>      &quot;gas_limit&quot;: 200000,<br>      &quot;to&quot;: &quot;1234845aaB7b6CD88c7fAd9E9E1cf07638805b20&quot;,<br>      &quot;value&quot;: &quot;0&quot;,<br>      &quot;data&quot;: &quot;dae1ee1f00000000000000000000000000000000000000000000000000002695a9e649b2&quot;<br>    }<br>  }<br>}</pre><p>Let’s decipher the fields before proceeding further.</p><p>tx describes the transaction content. Different transaction kinds are supported as defined by the kind field.</p><p>Ethereum-compatible calls ( eth) use standard fields such as gas_limit, to, value, and data.</p><p>For gas_limit, you can input a JSON number (as used in the example), a decimal string, or a 0x-prefixed hex string. There should not be any whitespace, and irrespective of the input, it will be interpreted as a non-negative 64-bit integer.</p><p>For value, you can input a JSON number up to 2^64 - 1, a decimal string, or a 0x-prefixed hex string. There should not be any whitespace in the string forms, and the value must represent a non-negative integer up to 256 bits.</p><p>For hex-encoded fields such as to and data, you can input strings with or without a leading 0x prefix, but there should not be any whitespace or prefix-only input. Empty strings are accepted for contract creation or empty calldata, e.g. to: &quot;&quot; or data: &quot;&quot;. If you are providing input for the to field, it must decode to exactly 20 bytes representing an Ethereum address.</p><p>Alternately, Oasis SDK calls ( std) support CBOR-serialized hex-encoded Transactions to be specified.</p><p>encrypt is a boolean flag specifying whether the transaction should be encrypted. This field is true by default. When an ephemeral key is being used, the encryption is handled transparently for the caller, and any response is first decrypted before being passed on.</p><p>Now, as the outcome of the example request, the example response inside data is generated as a JSON response containing a CBOR-serialized hex-encoded <a href="https://api.docs.oasis.io/rust/oasis_runtime_sdk/types/transaction/enum.CallResult.html">call result</a> that you will need to deserialize.</p><p>If the call result is successful:</p><pre>{<br>  &quot;data&quot;: &quot;a1626f6b40&quot;<br>}</pre><p>It deserializes as {&quot;ok&quot;: &#39;&#39;}.</p><p>If it is unsuccessful:</p><pre>{<br>  &quot;data&quot;: &quot;a1646661696ca364636f646508666d6f64756c656365766d676d6573736167657272657665727465643a20614a416f4c773d3d&quot;<br>}</pre><p>It deserializes as {&quot;fail&quot;: {&quot;code&quot;: 8, &quot;module&quot;: &quot;evm&quot;, &quot;message&quot;: &quot;reverted: aJAoLw==&quot;}}.</p><p><strong>Replica Metadata</strong></p><p>This allows apps to publish arbitrary key-value pairs included in the on-chain ROFL replica registration and automatically namespaced with net.oasis.app.</p><ul><li><strong>Get Metadata</strong>: With this, you can retrieve all user-set metadata key-value pairs.</li></ul><p>Endpoint: /rofl/v1/metadata (GET)<br>Example response:</p><pre>{<br>  &quot;key_fingerprint&quot;: &quot;a54027bff15a8726&quot;,<br>  &quot;version&quot;: &quot;1.0.0&quot;<br>}</pre><ul><li><strong>Set Metadata</strong>: With this, you can set metadata key-value pairs to replace all existing app-provided metadata.</li></ul><p>Endpoint: /rofl/v1/metadata (POST)<br>Example request:</p><pre>{<br>  &quot;key_fingerprint&quot;: &quot;a54027bff15a8726&quot;,<br>  &quot;version&quot;: &quot;1.0.0&quot;<br>}</pre><p>The parameters for metadata validation are the number of pairs, key size, and value size.</p><ul><li><strong>Upsert Metadata</strong>: With this, you can input or update metadata key-value pairs. However, if you did not specify it in your request but there is existing app metadata, that will not be affected.</li></ul><p>Endpoint: /rofl/v1/metadata (PUT)<br>Example request:</p><pre>{<br>  &quot;version&quot;: &quot;1.0.1&quot;<br>}</pre><ul><li><strong>Delete Metadata</strong>: With this, you can delete given metadata keys, while keys that no longer exist will be skipped.</li></ul><p>Endpoint: /rofl/v1/metadata (DELETE)<br>Example request:</p><pre>[&quot;version&quot;, &quot;key_fingerprint&quot;]</pre><p>Whenever you use Set, Upsert, or Delete Metadata, any change in the metadata triggers a registration refresh.</p><p><strong>Query</strong></p><p>This runs arbitrary query methods defined in the <a href="https://github.com/oasisprotocol/oasis-sdk/tree/main/runtime-sdk">Oasis Runtime SDK</a> module and returns the result.</p><p>Endpoint: /rofl/v1/query (POST)<br>Example request:</p><pre>{<br>  &quot;method&quot;: &quot;rofl.App&quot;,<br>  &quot;args&quot;: &quot;a16269645500694cb01f85408d624ea267f657bf285787a61db3&quot;<br>}</pre><p>Here, method refers to the internal name of query methods; in our example, it is <a href="https://github.com/oasisprotocol/oasis-sdk/blob/394da333625a189abd8b752a9f2dc46bb883a781/runtime-sdk/src/modules/rofl/mod.rs#L647">rofl.App</a>. You will recognize query methods by the #[handler(query = &quot;...&quot;)] annotation in the Oasis Runtime SDK source.<br>args represent query parameters for the method serialized as CBOR and hex-encoded.</p><p>Example response:</p><pre>{&quot;data&quot;:&quot;a76269645500ffe981cceff2d759d19fa926faebb7d90c0a59a56373656b582056c6d4841fa5ad24ad761088cb7053ad312ef13f3c2f405640fdba2bde4c14386561646d696e55007814f3d954f41b6459eb9e4bc8fbc6767ece5aa9657374616b658249056bc75e2d631000004066706f6c696379a56466656573026671756f746573a263696173f663706373a363746478a173616c6c6f7765645f7464785f6d6f64756c657380737463625f76616c69646974795f706572696f64181e781e6d696e5f7463625f6576616c756174696f6e5f646174615f6e756d6265721268656e636c6176657382a2696d725f7369676e6572582000000000000000000000000000000000000000000000000000000000000000006a6d725f656e636c6176655820bd4844a79a12ba365e890ddeaebbc4e4292797c7d956b42c2e25e4aefce3b124a2696d725f7369676e6572582000000000000000000000000000000000000000000000000000000000000000006a6d725f656e636c6176655820412c94a9baa0949f718dbba41ab89c38ea5c320345bba36b07e2ef857ffe2fb96c656e646f7273656d656e747381a163616e79a06e6d61785f65787069726174696f6e036773656372657473a26a50494e4154415f4a5754590327a462706b58207f88546291174f854a8ce2eb4bbfc8e62e40d60cdae2d600920a766d3006bf6c646e616d65581aad0460d0f742ad697b6d7c8462cc2b153deeb051a791553ef52b656e6f6e63654f8cbbe6631910d9a702e49bd30ee8f46576616c75655902c1352d823e54f75c846579066e2c1a750387f0630e3f29dba5524984712883bb33371ff017e507ae432b135312af64bfb85f3b17def05b2ac2744256f5accf1a26b29cd8cd412f08bfc9204f9bfa670b2d65972cfc4a8d4e2074402f21c18dfe554b1f0a8a731c077699f741807b3a4047ef4dc570958b8b46111a445259e93c9b92a5f72a23d32cbbef875efe586a8ddda38f1fa286d19b369a2022c3eae1cdbf6f6de4dc055bbab36a2c4830f8e2c64437f5f878f419e21f3a4c0f13c47b63697668b34722eaa61bdffa12e82be6d0266a41590254c9d70e9237475f6115c2867065c49afa8032acdfe0bc5dc671ef48ebc58d893937659243479e2eaa38815cd8665541e4c7e40349524cda15f2d410cba100ee27f0a59dc63534f7cff2444b57c7b74060cf8c3e21e1590b597384a89a463d6bb4a52fc52a4592889448a8f8e0c02fef1689c1efea58ddc08783f6d22d7a908cdf2a45bc46a79a3b73ff5f13bbbf7219973a7382eee84b3b4d48036b5e87fb24223e6387a3e37f9c1ac9722534adfef0201ec13db2e70fe9cd0336f020e50b59d7d32951378f568a4ef3a8117386ff0f1ba4b7d33dcf913daa696a6a7d64d20220b0e5eec994ea56aa9c01f56f5e12bf7d555b3f4a218ddbd8ae1586d5cb1e76802c90e26472b233686e8449284829378163acd77d1b65d4953a76cc497584580c1a5ac4fe6d97fd818fa53c2eb43c6f1b7a79211ef57f24036b1f8ed37f4c3d36873bbbd876769a5fde17add6926317afc96c9707e10b150735c63877ffd6475b1a27b6dd108940f0097375e422b1d308c6c8a0a83847368f5760778c54f2a70b44f9365c55c4b5d69341cad62d6fdb11aa25a9e26b4977adebd65718042bda1cbbf988298d293547107c2f5899352188179bc4d22febc66e8e351885498e707dee583d052c0b7c13f930e4529b59c36c20ee3ee6d29d1a3e2bb65bd489b7206cd45d2ae046f1e147d6407c166e494e465552415f4150495f4b45595899a462706b582074be2e227be81a5e35943ac1b79e238395b9bc367f7a0d1eed740c259ae23a37646e616d65581ee5190cda87688753f6f221890bfed8fe0e27b3ced4a9bc54537da1f4cd90656e6f6e63654fcf5411193abf4f4711f17179ea4b6f6576616c756558304675a29c8398bc94b5057063b4badeb9937a6e019ef7f8095d6b5a035106d4e8e7d710af9b6883848886481c1d180cbc686d65746164617461a7736e65742e6f617369732e726f666c2e6e616d656f76616c696461746f722d6167656e74756e65742e6f617369732e726f666c2e617574686f72782a4d61746576c5be204a656b6f766563203c6d617465767a406f6173697370726f746f636f6c2e6f72673e766e65742e6f617369732e726f666c2e6c6963656e73656a4170616368652d322e30766e65742e6f617369732e726f666c2e76657273696f6e65302e312e30776e65742e6f617369732e726f666c2e686f6d6570616765784f68747470733a2f2f6769746875622e636f6d2f6f6173697370726f746f636f6c2f6572632d383030342f626c6f622f6d61737465722f524541444d452e6d642376616c696461746f722d6167656e7478196e65742e6f617369732e726f666c2e7265706f7369746f7279782968747470733a2f2f6769746875622e636f6d2f6f6173697370726f746f636f6c2f6572632d38303034781a6e65742e6f617369732e726f666c2e6465736372697074696f6e787f4c697374656e7320746f2056616c69646174696f6e52657175657374206576656e7473206f6620746865204552432d383030342076616c69646174696f6e20726567697374727920616e642076616c696461746573207768657468657220746865206167656e7420697320706f776572656420627920524f464c205445452e&quot;}</pre><p>Inside data, the JSON response contains the CBOR-serialized method&#39;s return value in hex format.</p><p>If you want to try other examples, you can check out the <a href="https://github.com/oasisprotocol/demo-rofl/blob/ab7e60aeb5f10aaec0a5f401086b2ba259a30107/docker/app.sh#L9-L18">relevant section</a> of the ROFL demo repository for querying with curl directly.<br> There is also a production-ready Python example at hand — in the <a href="https://github.com/oasisprotocol/erc-8004/blob/18f8630f7397ec889ea55b008391664f3b736128/rofl-8004/rofl_metadata.py#L47">ROFL-8004 implementation</a> where the query endpoint is used to fetch various app on-chain metadata for registration in the <a href="https://eips.ethereum.org/EIPS/eip-8004#identity-registry">ERC-8004 identity registry</a>.</p><h3>Port Proxy</h3><p>When you publish a port in your compose.yaml file, the ROFL proxy automatically makes your services accessible via public URLs. It also ensures the routed traffic is done correctly.</p><p>This uses TLS, which is terminated inside your ROFL enclave, maintaining confidentiality and integrity protection. As a result, even the provider cannot see or modify the traffic. Moreover, the default terminate-tls mode generates and configures a Let&#39;s Encrypt certificate in ROFL to authenticate your services.</p><p>To enable the proxy and expose a port from your container, you need to publish it in your compose.yaml file.</p><pre>compose.yaml<br><br>services:<br>  frontend:<br>    image: docker.io/hashicorp/http-echo:latest<br>    ports:<br>      - &quot;5678:5678&quot; # Expose container port 5678 on host port 5678</pre><p>After deploying your app, you can find the generated URL by running the usual command.</p><pre>oasis rofl machine show</pre><p>The output generated in this way will show a Proxy section with the public URL for each published port.</p><pre>Proxy:<br>  Domain: m602.test-proxy-b.rofl.app<br>  Ports from compose file:<br>    5678 (frontend): https://p5678.m602.test-proxy-b.rofl.app</pre><p><strong>Configuration</strong></p><p>You can use the <a href="https://docs.docker.com/reference/compose-file/services/#annotations">annotations</a> in your compose.yaml file to configure the proxy behavior.</p><p>The general format of an annotation is net.oasis.proxy.ports.&lt;published_port&gt;.&lt;setting&gt;: &lt;value&gt;.<br> Here,&lt;published_port&gt; is the external port exposed in your compose.yaml, and &lt;setting&gt; indicates the specific proxy configuration like mode or custom_domain.</p><p>Example:<br>Here I will configure port 80 to use the default terminate-tls mode with a custom domain and port 8080 to use TCP passthrough.</p><pre>compose.yaml<br><br>services:<br>  myservice:<br>    image: docker.io/my/service:latest<br>    ports:<br>      - &quot;80:80&quot;<br>      - &quot;8080:8080&quot;<br>    annotations:<br>      net.oasis.proxy.ports.80.custom_domain: mydomain.com<br>      net.oasis.proxy.ports.8080.mode: passthrough</pre><p>This shows:</p><ul><li>The application container exposes ports 80 and 8080.</li><li>On port 80, the proxy terminates TLS for mydomain.com and forwards traffic to the application container.</li><li>On port 8080, the proxy forwards the raw TCP connection to your application container (mode: passthrough).</li></ul><p><strong>Annotation Reference</strong></p><p>net.oasis.proxy.ports.&lt;published_port&gt;.mode defines how the proxy should handle connections for the specified port.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*clP1L2-o-mfXKV6U.png" /></figure><p>net.oasis.proxy.ports.&lt;published_port&gt;.custom_domain assigns a custom domain name to the published port.</p><p>Here, when using the default terminate-tls mode, you need to use special configuration for your custom domain to route through the proxy. Once the app is deployed, you can use Oasis CLI for instructions to configure A and TXT records in your DNS.</p><pre>oasis rofl machine show</pre><pre>Proxy:<br>  Domain: m897.opf-testnet-rofl-25.rofl.app<br>  Ports from compose file:<br>    5678 (frontend): https://demo.rofl.build<br>      * Point the A record of your domain to: 131.153.241.25<br>      * Add a TXT record to your domain:<br>oasis-rofl-verification=4SKHCn4E2SNDB5tXayQeHZsvH/+kJSNGuQaTAPepYJc=</pre><p>If you choose to go with passthrough mode, the proxy will not terminate TLS and your app will then need to handle it directly. Also, here the custom_domain setting is not needed, so you can configure the domain directly to the ROFL instance&#39;s address.</p><p>For the ignore mode, the port isn&#39;t published, so the custom_domain setting has no effect.</p><h3>Troubleshooting</h3><p>Here I will cover some common errors and the troubleshooting process.</p><p><strong>Compilation</strong></p><p>Sometimes you will see an error message if the aes and ssse3 compiler flags are not enabled during compilation of your SGX and TDX-raw ROFL.</p><pre>error: The following target_feature flags must be set: +aes,+ssse3.<br>--&gt; /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deoxysii-0.2.4/src/lib.rs:26:1<br>|<br>26 | compile_error!(&quot;The following target_feature flags must be set: +aes,+ssse3.&quot;);<br>| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</pre><p>The workaround is to add default flags to your .cargo/config.toml file.</p><pre>[build]<br>rustflags = [&quot;-C&quot;, &quot;target-feature=+aes,+ssse3&quot;]<br>rustdocflags = [&quot;-C&quot;, &quot;target-feature=+aes,+ssse3&quot;]<br><br>[test]<br>rustflags = [&quot;-C&quot;, &quot;target-feature=+aes,+ssse3&quot;]<br>rustdocflags = [&quot;-C&quot;, &quot;target-feature=+aes,+ssse3&quot;]</pre><p><strong>Compose file</strong></p><p>A couple of errors are possible here due to an upstream <a href="https://github.com/containers/podman-compose/issues/264">podman compose bug</a>.</p><p>The first is when environment variables defined are not considered.</p><pre>services:<br>  oracle:<br>    platform: linux/amd64<br>    environment:<br>      CONTRACT_ADDRESS: 0x5FbDB2315678afecb367f032d93F642f64180aa3<br>    entrypoint: /bin/sh -c &#39;python main.py $${CONTRACT_ADDRESS}&#39;</pre><p>In this type of error, the CONTRACT_ADDRESS field will return as empty in ROFL. You need to inject the variable value directly inside entrypoint as a workaround.</p><pre>services:<br>  oracle:<br>    platform: linux/amd64<br>    entrypoint: /bin/sh -c &#39;python main.py 0x5FbDB2315678afecb367f032d93F642f64180aa3&#39;</pre><p>The other type of error that may occur is when depends_on is ignored.</p><pre>services:<br>  contracts:<br>    image: &quot;ghcr.io/foundry-rs/foundry:latest&quot;<br>    platform: linux/amd64<br>    volumes:<br>      - ./contracts:/contracts<br>    entrypoint: /bin/sh -c &#39;cd contracts &amp;&amp; forge create&#39;<br><br>  oracle:<br>    platform: linux/amd64<br>    entrypoint: /bin/sh -c &#39;python main.py&#39;<br>    restart: on-failure<br>    depends_on:<br>      contracts:<br>        condition: service_completed_successfully</pre><p>In this type of error, instead of oracle spinning up once the contracts service successfully deploys the contracts and finishes, they start in parallel by ignoring the depends_on command.</p><p>There is no immediate workaround as of now. You can try to implement customized logic in your oracle service to crash it, and then trigger the restart mechanism and try again.</p><p><strong>appd</strong></p><p>If you encounter the 422 Unprocessable Entity error, when the provided request couldn&#39;t be decoded, you need to ensure all the required fields are present and correctly formatted in accordance with the <strong>appd REST API</strong> section described above.</p><p><strong>ROFL Proxy URL is not working</strong></p><p>Sometimes the app might be using outdated artifacts, which will result in the proxy URL returned by oasis rofl machine show being inaccessible. This is easily fixed by updating to the latest Oasis CLI version. The next step is to run oasis rofl upgrade in your project directory to update the artifacts in your rofl.yaml file, and finally, rebuild and redeploy your app.</p><pre>oasis rofl build<br>oasis rofl update<br>oasis rofl deploy</pre><p>This concludes our 2-part bonus guide describing the various features for your ROFL app, and some common troubleshooting hacks. Looking forward to your feedback in the comments section.</p><p>For technical specs, APIs, architecture, and integration guides, the <a href="https://docs.oasis.io/"><strong>Oasis documentation</strong></a> is your starting point.<br> For direct support on specific issues, the Oasis engineering team is available in the<a href="https://discord.com/invite/BQCxwhT5wS"><strong>dev-central channel</strong></a> on the official Discord.</p><p><em>Originally published at </em><a href="https://dev.to/dc600/roflize-an-app-bonus-guide-to-features-troubleshooting-part-2-2j2c"><em>https://dev.to</em></a><em> on August 14, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9cd921c283bc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/roflize-an-app-bonus-guide-to-features-troubleshooting-part-2-9cd921c283bc">ROFLize an App: Bonus Guide to Features &amp; Troubleshooting (Part 2)</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>