<?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[Ternoa - Medium]]></title>
        <description><![CDATA[Fast, secure &amp; cost-efficient PayFi network. DeFi-ready with native yield generation built-in. - Medium]]></description>
        <link>https://medium.com/ternoa?source=rss----a48590730295---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Ternoa - Medium</title>
            <link>https://medium.com/ternoa?source=rss----a48590730295---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 25 May 2026 13:50:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/ternoa" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[$CAPS Token Utility]]></title>
            <link>https://medium.com/ternoa/caps-token-utility-8ac55bf54527?source=rss----a48590730295---4</link>
            <guid isPermaLink="false">https://medium.com/p/8ac55bf54527</guid>
            <dc:creator><![CDATA[Mickaël Canu]]></dc:creator>
            <pubDate>Thu, 19 Mar 2026 05:19:52 GMT</pubDate>
            <atom:updated>2026-03-19T05:19:53.822Z</atom:updated>
            <content:encoded><![CDATA[<p>$CAPS is the native token of the Ternoa ecosystem. It powers two independent security technologies, TIP and CIFER, and serves as the settlement currency for every operation they produce. Beyond the security toolkit, Ternoa hosts native DeFi activity through VaultBridge, an AggLayer technology that generates yield on every bridged position and directs a share of that yield toward permanent $CAPS supply reduction. Demand for $CAPS is driven entirely by real product usage across fee streams, network security rewards, and a deflationary buyback-and-burn mechanism.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bo1t7tC6nredGEky1lotUw.png" /></figure><h3>Token Flow</h3><pre>flowchart LR<br>    A[User pays fee] --&gt; B[$CAPS settled on-chain]<br>    B --&gt; C[Operators and validators]<br>    B --&gt; D[Buyback and burn]<br>    D --&gt; E[$CAPS removed from supply]</pre><h3>Revenue Streams</h3><h3>TIP Verification Fees</h3><p>TIP (TEE Integrity Prover) provides runtime protection for smart contracts and Web3 infrastructure. Projects pay ongoing fees in $CAPS across three distinct services.</p><p><strong>Runtime monitoring.</strong> TEE enclaves capture a cryptographic fingerprint of a project’s running code every 60 seconds, compare it against the expected state, and generate a ZK proof posted on-chain. Any deviation triggers an alert immediately. Fees accrue continuously as long as a project is monitored.</p><p><strong>Source verification and audit.</strong> An AI agent continuously scans open-source dependencies for known vulnerabilities, license issues, and malicious packages. It also flags discrepancies between deployed bytecode and published source code, ensuring what is running on-chain matches what was audited. Each scan cycle costs $CAPS.</p><p><strong>Autonomous pentesting.</strong> AI-driven penetration testing probes smart contracts and infrastructure for exploitable weaknesses on an ongoing basis. Each pentesting cycle runs against live services and costs $CAPS.</p><p>Pricing across all three services is tiered across Standard, Premium, and Enterprise plans.</p><h3>CIFER Encryption Fees</h3><p>CIFER is a zero-key post-quantum encryption network. Every encryption and decryption operation routed through its TEE enclave cluster requires $CAPS. As builders integrate and usage grows, the number of daily operations scales directly, and so does fee consumption.</p><h3>Appchain Settlement Fees</h3><p>Every TIP proof and every CIFER cryptographic commitment is anchored on the Ternoa appchain. Each on-chain write operation carries a micro-fee denominated in $CAPS. As proof and commitment volume grows with the builder ecosystem, settlement fees scale alongside it.</p><p>Projects with high security requirements can also use Ternoa directly as their settlement layer. By doing so, they inherit both the native yield generated through VaultBridge on every dollar they bring onto the chain and the full security stack that the appchain is built around. For these projects, Ternoa is not just a place to post proofs but the foundational layer their entire operation settles on.</p><h3>Network Security</h3><p>Network security on Ternoa is provided through stablecoin staking. When users bridge stablecoins onto Ternoa, those assets become vbAssets. For example, USDC becomes vbUSDC. Users can then optionally delegate their vbAssets to secure the two networks, similar to delegated proof of stake.</p><p><strong>TIP validator staking.</strong> vbAssets delegated to TIP validator nodes power the 60-second TEE integrity checks and generate the ZK proofs posted on-chain. Validators earn rewards in $CAPS.</p><p><strong>CIFER enclave operator staking.</strong> vbAssets delegated to CIFER enclave operators secure the geo-distributed Intel SGX/TDX and AMD SEV enclave network. These enclaves handle all key generation and usage in hardware-isolated environments. Operators earn rewards in $CAPS.</p><p>Rewards draw from an expanding fee base rather than from token emissions.</p><h3>VaultBridge and Native DeFi</h3><p>VaultBridge is an AggLayer technology integrated into the Ternoa appchain. When users bridge funds onto Ternoa, those funds generate yield for the sender automatically. Every bridging position becomes a productive DeFi position with no additional steps required from the user.</p><p>By default, bridged stablecoins pass through Morpho to generate yield. After this Morpho phase, users can optionally delegate their vbAssets to CIFER enclave operators to further secure the decentralized post-quantum zero-key encryption network and earn additional $CAPS rewards. 10% of all staking rewards from this delegation are burned, permanently reducing circulating supply each time rewards are distributed.</p><p>10% of all yield generated through VaultBridge is also allocated to buyback-and-burn. The remaining yield goes to the user who bridged the funds.</p><h3>Buyback and Burn</h3><p>10% of all yield flowing through the Ternoa ecosystem, from VaultBridge positions and from vbAsset staking rewards, is used to purchase $CAPS from the open market and permanently remove it from circulation.</p><p>The burn rate is a direct function of real economic activity. The more funds are bridged and staked, the more $CAPS gets burned. As ecosystem usage grows, supply contracts.</p><p>This is structurally different from scheduled or discretionary burns. The mechanism runs continuously and scales with actual usage.</p><h3>Shield Score</h3><p>Projects built on Ternoa’s security layer that launch their own token may allocate a portion of their supply to $CAPS holders, depending on each builder’s launch design. Distribution is weighted by Shield Score, a cumulative loyalty metric that reflects how long you have held $CAPS and how much you hold.</p><p>Shield Score accrues week over week and never resets. The longer you hold, the larger your potential share of each qualifying builder token distribution.</p><h3>Examples</h3><h3>RWA Project Building Directly on Ternoa</h3><p>A real-world asset platform tokenizing property, invoices, or commodities and settling natively on the Ternoa appchain is the most complete case for $CAPS demand generation.</p><p>Every dollar brought onto Ternoa passes through VaultBridge before anything else. This means the platform’s entire TVL generates yield automatically from day one, with no opt-in required. 10% of that yield is used to buy and burn $CAPS continuously. The larger the TVL, the more $CAPS gets removed from supply.</p><p>On top of that, the platform uses TIP to monitor its smart contracts in real time, paying $CAPS per 60-second verification cycle. If it relies on CIFER to encrypt sensitive asset data or investor credentials, every encryption and decryption operation costs $CAPS. Every proof and commitment produced by both services settles on the appchain, adding micro-fees in $CAPS.</p><p>A single RWA project building natively on Ternoa therefore contributes to $CAPS demand across four vectors simultaneously: VaultBridge yield burn, TIP fees, CIFER fees, and appchain settlement fees.</p><h3>EVM Project Integrating TIP or CIFER</h3><p>A DeFi protocol, bridge, or dApp deployed on Ethereum, Avalanche, or any EVM-compatible chain does not need to move to Ternoa. TIP and CIFER are available as external services.</p><p>If the team wants continuous runtime protection for their smart contracts, they integrate TIP and pay $CAPS per verification cycle. If they want to encrypt user data, function inputs, or on-chain state variables, they integrate CIFER and pay $CAPS per operation. Both services settle their proofs and commitments on the Ternoa appchain, contributing settlement fees as well.</p><p>The EVM project stays on its own chain. $CAPS is consumed purely through service usage.</p><h3>Web2 Project or Open Source Repository</h3><p>A traditional software company or an open-source project maintainer can use TIP’s AI scanning and autonomous pentesting without any blockchain deployment.</p><p>If they want to verify that their published packages have not been tampered with, or continuously audit their dependencies for vulnerabilities, they pay $CAPS per scan cycle. If they want ongoing penetration testing against their infrastructure, they pay $CAPS per pentesting cycle.</p><p>For these projects, $CAPS usage is entirely fee-driven and scoped to the specific TIP services they activate.</p><h3>What Is Live Today</h3><p>The Ternoa ecosystem is already partially live across both public mainnet and private production environments.</p><p><strong>Public mainnet.</strong> VaultBridge is live and the Ternoa settlement layer is active on mainnet. The network is DeFi-ready for bridged assets and productive positions. TIP Audit is available in alpha. CIFER Web3 Encryption is available in beta on Ethereum, Base, and Avalanche. CIFER Web2 Encryption is available in beta.</p><p><strong>Private production.</strong> TIP Runtime is live in private production. TIP Audit is live for selected private integrations. Delegated funds to TEE operators are live in private production.</p><h3>What Comes Next</h3><p>The next phase focuses on opening private production features to broader public access, scaling TIP Runtime, growing CIFER adoption across Web3 and Web2, and deepening the connection between VaultBridge activity, network security rewards, and the $CAPS buyback-and-burn mechanism.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ac55bf54527" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ternoa/caps-token-utility-8ac55bf54527">$CAPS Token Utility</a> was originally published in <a href="https://medium.com/ternoa">Ternoa</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web3 has a security crisis. And the industry is still pretending it’s fixable with better audits.]]></title>
            <link>https://medium.com/ternoa/web3-has-a-security-crisis-and-the-industry-is-still-pretending-its-fixable-with-better-audits-762954e92480?source=rss----a48590730295---4</link>
            <guid isPermaLink="false">https://medium.com/p/762954e92480</guid>
            <dc:creator><![CDATA[Mickaël Canu]]></dc:creator>
            <pubDate>Sun, 15 Mar 2026 16:10:38 GMT</pubDate>
            <atom:updated>2026-03-15T16:10:40.348Z</atom:updated>
            <content:encoded><![CDATA[<p>Every year, the crypto ecosystem loses billions of dollars to hacks, exploits, and infrastructure compromises. Not hundreds of millions — billions. Over $10 billion in the last three years alone. That number isn’t a blip. It’s a structural indictment of how security is treated in this industry.</p><p>The uncomfortable truth is that most of the money lost wasn’t taken by genius hackers finding exotic vulnerabilities. It was taken through attacks on problems that have been known for years — problems that the industry has chosen to patch around rather than solve at the root.</p><p>Let’s talk about why.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5iP0wujLizWLccNkNaslQQ.png" /></figure><p><strong>Smart contracts are open books — by design</strong></p><p>When a developer deploys a smart contract on a public blockchain, everything about it becomes visible to the entire world. The logic, the state variables, the balances, the conditions that trigger transfers — all of it is readable by anyone with an internet connection. This is intentional. Transparency is part of the value proposition of public blockchains.</p><p>But that same transparency is also a gift to attackers. Before a team has even finished testing their deployment, adversaries can already be reading the contract, mapping its logic, and looking for weaknesses. The attacker has unlimited time and zero cost to study the target. The defender has to get it right once, under time pressure, on a live network where a mistake means permanent loss.</p><p>This asymmetry is brutal. And it doesn’t go away.</p><p><strong>Audits are a snapshot. Code runs forever.</strong></p><p>The standard response to smart contract risk is the security audit. Before launch, you hire a firm, they review your code, they publish a report, and you get a badge of approval. This has become table stakes — something every serious project does.</p><p>The problem is that an audit is a photograph. It captures the state of the code at a single moment in time. But software is not static. Dependencies update. Configurations change. New integrations get added. Libraries get patched. Teams iterate. And every single one of those changes potentially introduces a new attack surface that no auditor has ever looked at.</p><p>The gap between “audited at launch” and “running as audited” widens every day a project is live. In traditional software, this problem is mitigated by runtime monitoring — systems that continuously check whether what’s running matches what’s expected. In web3, almost nothing like this exists. Projects launch, collect the audit badge, and then fly blind at runtime.</p><p>An audit tells you what the code looked like before anyone cared about attacking it. It tells you almost nothing about what’s running in production six months later.</p><p><strong>The supply chain is soft</strong></p><p>Modern software is not built from scratch. It’s assembled from open-source libraries, third-party dependencies, forked repositories, and shared infrastructure. Every smart contract project exists inside a dependency tree that can stretch dozens of layers deep, touching code written by anonymous contributors in repositories that haven’t been reviewed in years.</p><p>This is the supply chain — and it’s one of the least-examined attack surfaces in crypto. A compromised dependency doesn’t trigger a smart contract audit. A malicious update pushed to an npm package doesn’t show up in a deployment review. A developer whose laptop is compromised doesn’t invalidate the audit report.</p><p>The published source code can look perfectly clean. The deployed bytecode can be something else entirely. Right now, most projects have no mechanism to verify that what’s running on-chain actually corresponds to what their team published on GitHub. That gap is exploitable — and it has been.</p><p><strong>Runtime protection is nearly nonexistent</strong></p><p>In traditional software security, there’s an entire discipline around what happens after deployment: runtime protection, anomaly detection, behavioral monitoring, integrity verification. These systems watch running code and infrastructure continuously, looking for deviations from expected behavior — signs of tampering, unauthorized modifications, injected code.</p><p>Web3 has essentially none of this. The culture of security in crypto stops at the audit. What happens at runtime — whether the infrastructure running a DeFi protocol is actually what the team thinks it is, whether the code being executed matches the audited version, whether the enclave handling keys has been tampered with — these questions go largely unasked and unanswered.</p><p>This isn’t a minor gap. For protocols managing hundreds of millions of dollars, the absence of runtime protection means that a successful infrastructure compromise can go completely undetected until the funds are already gone. By the time anyone notices something is wrong, the exploit has been live for hours, days, or longer.</p><p><strong>And then there’s quantum</strong></p><p>Most of the conversation about quantum computing and cryptography treats it as a distant, theoretical problem. Something for future generations to worry about. This framing is increasingly wrong.</p><p>Quantum computers capable of breaking current elliptic curve cryptography — the foundation of essentially every wallet, signature scheme, and key exchange in use across Web3 today — are no longer purely hypothetical. Research into error correction and qubit fidelity has been accelerating. The timeline for practically relevant quantum attacks is measured in years, not decades. And unlike most security threats, quantum attacks don’t announce themselves in advance. When the capability exists, existing encryption doesn’t degrade gradually — it breaks.</p><p>The entire cryptographic stack that underpins Web3 is built on assumptions about computational hardness that quantum computing will eventually invalidate. Migrating that stack is not a simple software update. It requires changes at the protocol level, the contract level, the wallet level, and the infrastructure level — changes that take years to design, test, and roll out.</p><p>The projects that start preparing now will have a path. The ones that wait for quantum attacks to become front-page news will not.</p><p><strong>The gap nobody has filled</strong></p><p>What makes this problem particularly acute is that no existing solution addresses it in a cross-chain, infrastructure-agnostic way. There are tools for auditing. There are tools for monitoring on-chain transactions. There are post-quantum cryptography libraries. But there’s no unified security layer that combines runtime integrity verification, post-quantum data encryption, and settlement into a service that any project on any chain can plug into without rebuilding their stack.</p><p>Builders deploying on Ethereum, Avalanche, or any EVM chain face a choice between cobbling together incomplete solutions or accepting that large parts of their security posture are simply unanswered. Most accept the gaps — not because they don’t care, but because the alternative doesn’t exist.</p><p>That’s the real problem. Not a lack of awareness. Not a lack of effort. A genuine absence of infrastructure that makes runtime security and quantum-resistant encryption available to the projects that need it, at the layer where it actually matters.</p><p>Until that infrastructure exists, the losses will keep coming.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=762954e92480" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ternoa/web3-has-a-security-crisis-and-the-industry-is-still-pretending-its-fixable-with-better-audits-762954e92480">Web3 has a security crisis. And the industry is still pretending it’s fixable with better audits.</a> was originally published in <a href="https://medium.com/ternoa">Ternoa</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TEE-ISM: A Trust-Minimized Verification Layer for Cross-Chain Messaging]]></title>
            <link>https://medium.com/ternoa/tee-ism-a-trust-minimized-verification-layer-for-cross-chain-messaging-81fa54e50afa?source=rss----a48590730295---4</link>
            <guid isPermaLink="false">https://medium.com/p/81fa54e50afa</guid>
            <dc:creator><![CDATA[Mickaël Canu]]></dc:creator>
            <pubDate>Fri, 10 Oct 2025 12:38:14 GMT</pubDate>
            <atom:updated>2025-10-10T12:38:10.373Z</atom:updated>
            <content:encoded><![CDATA[<p>Cross-chain messaging is built on trust. Unfortunately, most bridges and messaging protocols rely on trust in all the wrong places — validators, indexers, and RPC providers. If those actors are compromised or censored, the entire bridge can be hijacked.</p><p>The Ternoa team successfully built a system that removes these weak trust points — TEE-ISM, a hardware-backed verification layer that redefines cross-chain security.</p><p>What if we could remove them from the trust equation altogether?<br>That’s the idea behind <strong>TEE-ISM</strong> — a hardware-backed message verification layer that shifts cross-chain security away from external actors and toward <strong>cryptographic proofs and verifiable execution</strong>.</p><h3>The Problem With Validator-Centric Trust</h3><p>Today, the majority of ISMs work like this:</p><ol><li>A message is emitted on a source chain.</li><li>Off-chain actors — validators, indexers, or relayers — observe it.</li><li>They sign or provide proof of its existence.</li><li>The destination ISM trusts their signatures to process the message.</li></ol><p>This is simple, but it’s fragile.</p><ul><li>A compromised validator set can forge messages.</li><li>Indexers can be manipulated or censored.</li><li>RPC providers can return altered or stale data.</li></ul><p>Every one of these layers expands the attack surface. We don’t just have to trust one party — we end up trusting several, and any one of them can break the system.</p><h3>A Different Approach: Verifiable Hardware as a Root of Trust</h3><p>TEE-ISM replaces these human or infrastructural trust anchors with a <strong>cryptographically verifiable enclave</strong>.</p><p>The core idea is simple:</p><ul><li>A <strong>TEE Oracle</strong> runs inside trusted hardware.</li><li>It fetches and verifies the existence of messages directly from chain state.</li><li>It returns a signed proof that the ISM contract can verify on-chain.</li><li>No validator committees. No indexers. No third-party RPCs.</li></ul><p>This shifts cross-chain verification away from actors you need to trust — to <strong>math and hardware you can verify</strong>.</p><h3>Why TEE Can Be Trusted</h3><p>A <strong>Trusted Execution Environment (TEE)</strong> is a secure area of modern CPUs designed to run code in complete isolation from the host operating system, hypervisor, and other applications.</p><p>What makes it powerful isn’t just isolation — it’s <strong>attestation</strong>.<br>Attestation allows anyone to cryptographically verify:</p><ul><li>Which code is running inside the enclave.</li><li>That it’s running on genuine, tamper-resistant hardware.</li><li>That its execution environment hasn’t been modified.</li></ul><p>Private keys never leave the enclave, and even a compromised host can’t access its memory. This means the output of the enclave — like message proofs — can be trusted <strong>as if verified by math and hardware</strong>, not by an operator.</p><p>This creates a verifiable trust anchor without depending on validators, operators, or infrastructure providers.</p><h3>SGX and TDX — Two Secure Flavors of the Same Design</h3><p>TEE-ISM runs in two forms:</p><ul><li><strong>SGX-based enclaves</strong>, which offer fine-grained enclave-level isolation and the ability to seal data securely inside the enclave.</li><li><strong>TDX-based isolated environments</strong>, which provide full-VM isolation with strong attestation and operational simplicity.</li></ul><p>Both architectures are fully capable of:</p><ul><li>Event-based verification</li><li>State delta verification</li><li>Direct state proof verification (non-delta)</li></ul><p>They share the same verification engine, security model, and trust assumptions.<br>The difference is primarily <strong>in operational trade-offs and infrastructure models</strong>, not in capability.</p><p>This dual-TEE approach gives flexibility. Some deployments may favor SGX’s tighter enclave model; others may prefer TDX’s broader isolation domain.</p><h3>Verification Methods — How Truth Is Proven</h3><p>TEE-ISM supports three verification paths. Each exists to minimize trust further and increase proof strength:</p><ol><li><strong>Event-Based Verification</strong><br>The enclave verifies message existence from emitted logs on the source chain.<br>It’s simple, lightweight, and already removes validator and indexer trust.</li><li><strong>State Delta Verification</strong><br>Instead of relying on logs, the enclave inspects the state at block <em>B</em> and block <em>B-1</em>.<br>A verifiable change in state proves that the message was genuinely processed on-chain.<br>This approach neutralizes replay attacks and indexer manipulation.</li><li><strong>Non-Delta Direct State Verification</strong><br>The final form is the most trust-minimized: the enclave reads the storage proof from the mailbox contract and verifies message existence directly.<br>No logs. No deltas. Just raw, cryptographic truth.</li></ol><p>All three verification modes are fully enclave-contained.<br>No external validators, no RPC trust beyond the enclave itself — and in some cases, the <strong>RPC node is also running inside the TEE</strong>, cutting external dependencies entirely.</p><h3>End-to-End Flow — What Happens Under the Hood</h3><p>The overall message flow remains familiar but is radically more secure:</p><ol><li>A user sends a message to a mailbox contract on the source chain.</li><li>A relayer picks up the message and identifies TEE-ISM as the ISM to use.</li><li>The relayer queries the TEE Oracle for a proof.</li><li>The TEE Oracle verifies the message’s existence via one of the verification methods, optionally using a TEE-hosted RPC.</li><li>The oracle returns a signed proof package.</li><li>The relayer submits this proof to the destination mailbox.</li><li>The ISM contract verifies the enclave’s proof and signature.</li><li>The message is delivered to the destination user.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wCEgpFLjkyQUC3YW.png" /></figure><p>This architecture keeps the structure of cross-chain messaging familiar for relayers and protocols — but <strong>removes the weakest parts of the trust model</strong>.</p><h3>Trust Model Shift — Collapsing the Attack Surface</h3><p>In the old model, trust is scattered across multiple actors: validator committees, indexers, RPC providers. Compromising any of them can undermine the entire system.</p><p>In the TEE-ISM model, the trust surface collapses to two things:</p><ul><li><strong>The blockchain itself</strong> — the source of provable state.</li><li><strong>The enclave</strong> — whose code and identity can be attested cryptographically.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jN8DBa6fzfcZn7Tj.png" /></figure><p>There’s no committee to bribe. No indexer to tamper with. No external RPC to poison.<br>If the enclave isn’t genuine, attestation fails. If the state isn’t real, the proof fails.</p><p>This is a <strong>measurable trust model</strong> — not a social one.</p><h3>Why This Matters</h3><p>Bridges and messaging protocols are critical infrastructure in a multi-chain world. When they fail, they don’t just take a dApp down — they can trigger cascading security incidents across ecosystems.</p><p>TEE-ISM is not about adding another actor.<br>It’s about <strong>removing actors entirely</strong> — and replacing them with something cryptographically verifiable.</p><p>This is a new trust foundation for cross-chain security:</p><ul><li>Verifiable execution instead of trusted validators.</li><li>Cryptographic proofs instead of signatures from committees.</li><li>Attestation instead of faith in infrastructure providers.</li></ul><p>The result is a bridge architecture with a <strong>smaller, measurable, enforceable trust surface</strong> — and that’s the only kind worth building on.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81fa54e50afa" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ternoa/tee-ism-a-trust-minimized-verification-layer-for-cross-chain-messaging-81fa54e50afa">TEE-ISM: A Trust-Minimized Verification Layer for Cross-Chain Messaging</a> was originally published in <a href="https://medium.com/ternoa">Ternoa</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Ternoa 2.0, “HORIZON”]]></title>
            <link>https://medium.com/ternoa/introducing-ternoa-2-0-horizon-37ca902db353?source=rss----a48590730295---4</link>
            <guid isPermaLink="false">https://medium.com/p/37ca902db353</guid>
            <dc:creator><![CDATA[Mickaël Canu]]></dc:creator>
            <pubDate>Tue, 28 Jan 2025 14:20:35 GMT</pubDate>
            <atom:updated>2025-01-28T12:31:11.481Z</atom:updated>
            <content:encoded><![CDATA[<p>Today marks a transformative milestone for Ternoa.</p><p>About one year ago, in a context where the industry started consolidating on a handful of leading infrastructures, we made the strategic decision to expand the reach of our tech stack to the Ethereum ecosystem.</p><p>The last year offered the opportunity to broaden our R&amp;D scope, leveraging 3 years of experience building with TEEs on Polkadot. We launched new research streams on use cases answering ETH scaling roadmap needs such as multi-proving, or integrity proofs.</p><p>In addition, becoming an EVM infrastructure gave us the opportunity to put our tech stack in the hands of many builders teams -as the Ethereum ecosystem is home to the largest community of builders in web3- and figure out use cases where we can make a real difference.</p><p>It was a year of learnings and growth leading us to this new milestone, and I’m thrilled to unveil <strong>Ternoa 2.0</strong>, “HORIZON”, the latest evolution of our blockchain.</p><h3>Ternoa 2.0 foundational principles</h3><p>Ternoa 2.0 is designed to become a leading PayFi infrastructure within Polygon / Ethereum ecosytems, built upon five core pillars:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gkokkIkkqdwy6QT-uRYQug.jpeg" /></figure><h3>1. Trust-minimized</h3><p>Since the very beginnings, Ternoa is a TEE-centric infrastructure provider. In the same vein, Ternoa2.0 is a TEE-enhanced Layer 2 using integrity proofs to provide stronger guarantees to end users, with trust minimized offchain services. And native keystore primitives provided by our TEE key management system.</p><h3>2. Cost-efficiency</h3><p>Ternoa 2.0 posts data on Avail DA ensuring that transaction data is accessible to all network participants while remaining fast, at a reduced cost compared to Ethereum DA.</p><h3>3. Instant transactions</h3><p>Powered by Polygon CDK, Ternoa 2.0 relies on zero-knowledge validity proofs to provide fast pre-confirmations. This guarantees blazingly fast transactions to users.</p><h3>4. EVM Compatibility</h3><p>To ensure a smooth developer experience, Ternoa 2.0 is a fully EVM equivalent infrastructure where developers can deploy any EVM smart contract. This makes it easier than ever to onboard existing projects into our ecosystem.</p><h3>5. Unification</h3><p>Last but not least, Ternoa 2.0 is a Polygon Agglayer L2, enabling direct connections to multiple blockchain ecosystems. This unification makes cross-chain interactions effortless for developers and users alike, enabling liquidity to move seamlessly across unified ecosystems</p><h3>A Vision for the Future</h3><p>Ternoa 2.0 is a pledge to our vision of making decentralized payments, finance, and applications accessible, secure, and interoperable for all.</p><p>In parallel to this new roadmap Ternoa 1.0 remains the go-to gateway to our TEE key management system, “the Fortress”, where privacy-first dapps can be deployed with very little efforts using our JS SDK.</p><p>As we step into this exciting new phase, I invite you to join us in shaping the future. Whether you’re a developer, business, or user curious about Web3, Ternoa has something to offer.</p><p>Let’s build the future of finance and decentralized applications — together.</p><p><strong>What’s your take on Ternoa 2.0?</strong> Let me know your thoughts in the comments, and feel free to connect if you’d like to learn more!</p><p>#Web3 #Blockchain #DeFi #DataAvailability #zkProofs #EVM #Innovation</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=37ca902db353" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ternoa/introducing-ternoa-2-0-horizon-37ca902db353">Introducing Ternoa 2.0, “HORIZON”</a> was originally published in <a href="https://medium.com/ternoa">Ternoa</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is AggLayer?]]></title>
            <link>https://medium.com/ternoa/what-is-agglayer-3c29e5980c03?source=rss----a48590730295---4</link>
            <guid isPermaLink="false">https://medium.com/p/3c29e5980c03</guid>
            <dc:creator><![CDATA[Mickaël Canu]]></dc:creator>
            <pubDate>Wed, 15 Jan 2025 04:41:11 GMT</pubDate>
            <atom:updated>2025-01-10T17:08:26.775Z</atom:updated>
            <content:encoded><![CDATA[<p>Blockchain technology has revolutionized how we think about finance, governance, and digital interactions. But as the blockchain space grows, it faces a fundamental challenge: fragmentation. Chains operate in isolation, creating inefficiencies and barriers for users and developers alike. Enter <strong>AggLayer</strong>, a groundbreaking solution designed to unify the Web3 ecosystem. But what exactly is AggLayer, and why does it matter?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Gf4e_SjC-1IXct3S-8mkw.png" /></figure><h3>The Problem: Fragmentation in Web3</h3><p>Current blockchain architectures often fall into two categories:</p><ol><li><strong>Monolithic</strong>: Single chains attempt to scale by increasing node sizes, but this compromises decentralization and sovereignty.</li><li><strong>Modular</strong>: Sovereign chains (e.g., Layer 2 solutions) are independent, but they fragment liquidity and create a poor user experience.</li></ol><p>Neither approach fully addresses the need for scalable, unified ecosystems. Fragmentation leads to higher costs, inefficiencies, and a fractured user experience.</p><h3>The Solution: Aggregation Layer (AggLayer)</h3><p>AggLayer is a decentralized protocol that sits between blockchain ecosystems, offering:</p><ol><li><strong>Unified Liquidity</strong>: Chains connected to AggLayer share liquidity, enabling seamless cross-chain asset transfers.</li><li><strong>Low-Latency Interoperability</strong>: Chains can safely interact in near real-time without waiting for Ethereum finality.</li><li><strong>Asset Fungibility</strong>: Native tokens remain native across chains, eliminating the need for wrapped or synthetic assets.</li></ol><p>AggLayer is <strong>not</strong> a Layer 2 or a shared sequencer. Instead, it acts as an interoperability layer that prioritizes safety, sovereignty, and scalability.</p><h3>How Does AggLayer Work?</h3><p>AggLayer achieves its goals through three key phases:</p><h3>1. Pre-Confirmation</h3><p>When a chain submits a new block or batch, AggLayer accepts it as “pre-confirmed” after verifying dependencies. This step minimizes latency while ensuring dependencies are tracked.</p><h3>2. Confirmation</h3><p>Chains generate and submit validity proofs. Once verified by AggLayer, these proofs confirm the block or batch if all dependencies are also confirmed.</p><h3>3. Finalization</h3><p>AggLayer aggregates proofs from multiple chains into a single proof, which is then posted to Ethereum. This ensures consistency and trust across interconnected chains.</p><h3>Key Features of AggLayer</h3><ol><li><strong>Safety</strong>: AggLayer’s cryptographic guarantees prevent malicious actions like double-spending or invalid transactions from propagating across chains.</li><li><strong>Atomic Interoperability</strong>: Enables cross-chain transactions to execute as a bundle — either all succeed, or none are included.</li><li><strong>Asynchronous Interoperability</strong>: Chains can interact safely without waiting for Ethereum finality, reducing latency from minutes to seconds.</li><li><strong>Modular Design</strong>: AggLayer doesn’t impose strict requirements on participating chains. It supports diverse architectures, tokens, and governance models.</li></ol><h3>Why AggLayer Matters</h3><p>By solving the challenges of liquidity fragmentation and cross-chain inefficiencies, AggLayer creates a Web3 experience that feels unified — similar to how the <strong>TCP/IP protocol</strong> unified the internet. Developers gain more flexibility, users experience seamless transactions, and the ecosystem as a whole becomes more efficient and accessible.</p><h3>Real-World Implications</h3><p>Imagine having ETH on Polygon but needing to mint NFTs on Zora. With AggLayer, this happens in one transaction without using third-party bridges or wrapped tokens. This level of seamlessness is the future of blockchain interactions.</p><h3>A Minimal yet Powerful Approach</h3><p>AggLayer’s design is intentionally minimal, focusing on safety and interoperability. Chains retain their sovereignty and can choose how deeply to integrate with the layer — from fully embracing it to opting out of fast interoperability altogether.</p><h3>Conclusion</h3><p>AggLayer represents a significant step toward a unified blockchain ecosystem. By addressing core challenges like liquidity fragmentation and interoperability, it paves the way for a Web3 environment as intuitive and interconnected as the modern internet. As blockchain technology evolves, AggLayer could become the backbone of a truly unified decentralized future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c29e5980c03" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ternoa/what-is-agglayer-3c29e5980c03">What is AggLayer?</a> was originally published in <a href="https://medium.com/ternoa">Ternoa</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Our zkEVM Layer 2 Stands Out]]></title>
            <link>https://medium.com/ternoa/why-our-zkevm-layer-2-stands-out-b6c35733885a?source=rss----a48590730295---4</link>
            <guid isPermaLink="false">https://medium.com/p/b6c35733885a</guid>
            <dc:creator><![CDATA[Mickaël Canu]]></dc:creator>
            <pubDate>Mon, 25 Nov 2024 08:09:42 GMT</pubDate>
            <atom:updated>2024-11-24T14:14:13.096Z</atom:updated>
            <content:encoded><![CDATA[<p>At <strong>Ternoa</strong>, security is the cornerstone of our vision for blockchain technology. Our <strong>zkEVM Layer 2</strong> is engineered to deliver unparalleled protection while pushing the boundaries of scalability and innovation. Here’s why this technology sets new standards for Layer 2 solutions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RHfanlKbPtGNwHeLS8zubw.jpeg" /></figure><h3>🔒 zk-Proof: Confidentiality and Security</h3><p>One of the key features of our zkEVM Layer 2 is the use of <strong>zk-Proofs</strong> (Zero-Knowledge Proofs). This cutting-edge technology ensures:</p><ul><li><strong>Ultra-fast and cost-efficient transactions</strong> through off-chain computations.</li><li><strong>Enhanced confidentiality</strong> by proving data integrity without revealing the underlying information.</li><li><strong>Heightened security</strong> that safeguards data integrity without compromise.</li></ul><p>This makes our zkEVM Layer 2 the ideal solution for use cases requiring a perfect balance between performance and data protection.</p><h3>🌉 Seamless Integration with AggLayer</h3><p>Our zkEVM Layer 2 is natively designed to integrate with <strong>AggLayer</strong>, providing unique benefits such as:</p><ul><li><strong>Shared liquidity</strong>, enabling our users to access deeper markets.</li><li><strong>Advanced interoperability</strong>, facilitating seamless communication between blockchains.</li><li><strong>Future-proof scalability</strong>, ensuring our solution evolves with the ever-changing blockchain ecosystem.</li></ul><h3>⚡ Scalability Powered by Data Availability (DA)</h3><p>Leveraging the <strong>Data Availability (DA)</strong> model, our Layer 2 delivers exceptional scalability with:</p><ul><li><strong>Reduced costs</strong>: Transactions are faster and more affordable.</li><li><strong>Universal accessibility</strong>: A solution designed to democratize blockchain usage.</li><li><strong>Minimized Layer 1 congestion</strong>: Efficient synchronization with the base layer ensures seamless operation.</li></ul><h3>🛡️ Cutting-Edge Security with Ternoa’s TEE Network</h3><p>Our Layer 2 gains access to <strong>Ternoa’s TEE (Trusted Execution Environment) Network</strong>, a state-of-the-art security infrastructure offering:</p><ul><li><strong>Secure execution of sensitive data</strong> in an isolated and tamper-proof environment.</li><li><strong>Exclusive security services</strong>, including cryptographic signing, encryption, and integrity attestation.</li><li><strong>A trusted framework</strong>, guaranteed by a distributed and validated architecture.</li></ul><p>By leveraging this network, our Layer 2 ensures maximum protection for users and developers while enhancing the reliability of operations.</p><h3>💡 Innovation Backed by Ternoa Integrity Proofs (TIP)</h3><p>Our system is also protected by <strong>Ternoa Integrity Proofs (TIP)</strong>, a unique mechanism that:</p><ul><li>Verifies the integrity of every transaction.</li><li>Ensures the deployed code matches its open-source version.</li><li>Guarantees trustworthy and compliant deployments.</li></ul><h3>🎯 Why Choose Our zkEVM Layer 2?</h3><p>To sum up, our zkEVM Layer 2 delivers:</p><ol><li><strong>An unmatched user experience</strong> with lower fees and faster transactions.</li><li><strong>Exceptional interoperability and scalability</strong> with AggLayer and the DA model.</li><li><strong>Uncompromising security</strong> powered by Ternoa’s TEE Network and TIP.</li></ol><p>With Ternoa, you no longer have to choose between innovation, performance, and security.</p><h3>🚀 Join the zkEVM Revolution</h3><p>Our zkEVM Layer 2 isn’t just a technical solution — it’s a commitment to a decentralized, secure, and accessible future. Discover what’s next with Ternoa!</p><p><a href="https://www.ternoa.network/">🌐 Learn More</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6c35733885a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ternoa/why-our-zkevm-layer-2-stands-out-b6c35733885a">Why Our zkEVM Layer 2 Stands Out</a> was originally published in <a href="https://medium.com/ternoa">Ternoa</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Say Hello to Ternoa Integrity Proof!]]></title>
            <link>https://medium.com/ternoa/say-hello-to-ternoa-integrity-proof-28e2fceaa216?source=rss----a48590730295---4</link>
            <guid isPermaLink="false">https://medium.com/p/28e2fceaa216</guid>
            <dc:creator><![CDATA[Mickaël Canu]]></dc:creator>
            <pubDate>Thu, 24 Oct 2024 10:39:16 GMT</pubDate>
            <atom:updated>2024-10-24T10:37:30.035Z</atom:updated>
            <content:encoded><![CDATA[<p>Earlier this year, we unveil our motivation behind expanding instances across our decentralized network of coprocessors, enhancing security not just for Web3, but for all digital infrastructure.</p><p>The goal? To leverage our breakthroughs and offer an unparalleled level of trust and security for every Web3 component — and beyond.</p><p><strong>The Problem We’re Solving in Web3<br></strong>In the current Web3 landscape, we are asked to place blind trust in Layer 2 solutions and their components — explorers, sequencers, indexers, and more. While many of these components are open-source, we often assume that what we see is what’s being deployed. But what if that isn’t the case?</p><p>What if the deployed code is different from the open-source version?<br>What if someone injects malicious code?<br>What if a bad actor modifies a core system file?</p><p><strong>Real-World Examples<br></strong>1 Imagine a blockchain explorer used by millions. A malicious or internal actor alters the indexer script to show fake transactions. This undermines the entire Layer 2’s credibility, rendering it untrustworthy.</p><p>2 You deploy your own Layer using Polygon, Arbitrum, or another solution. Once in control, you could easily edit the core source code — giving you full power over everything.</p><p><strong>⠀Scary, right?<br></strong>This isn’t just a Web3 problem — Web2 faces the same risks. Imagine trusting a P2P chat app based on its open-source code, only to find out the actual version running is compromised.</p><p><strong>TIP to the Rescue<br></strong>Ternoa Integrity Proof (TIP) solves this issue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*djQWJOX7phagBtME5p8FHg.png" /></figure><p><em>How does it work?</em></p><p>Anyone can deploy their script using our decentralized coprocessors, and TIP will prove that the code is 100% identical to the open-source, audited version — guaranteeing zero tampering.</p><p>Our secure enclave network will deploy with the highest level of security, continuously auditing and monitoring the integrity of every script in real time.</p><p>To ensure and maintain this integrity, users will need $CAPS, making it an essential asset in securing Web3’s future. But this is just the beginning. We have even more exciting advancements lined up, and we can’t wait to share them with you.</p><p>Stay tuned in the coming weeks for an in-depth look at how Ternoa is transforming the very foundation of digital trust, one block at a time. The future of secure and transparent Web3 starts now — and we’re building it together.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28e2fceaa216" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ternoa/say-hello-to-ternoa-integrity-proof-28e2fceaa216">Say Hello to Ternoa Integrity Proof!</a> was originally published in <a href="https://medium.com/ternoa">Ternoa</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ternoa launches Testnet of zkEVM+, built with Polygon CDK, bringing in anti-censorship, integrity…]]></title>
            <link>https://medium.com/ternoa/ternoa-launches-testnet-of-zkevm-built-with-polygon-cdk-bringing-in-anti-censorship-integrity-508c5051a0c5?source=rss----a48590730295---4</link>
            <guid isPermaLink="false">https://medium.com/p/508c5051a0c5</guid>
            <category><![CDATA[layer-2]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[blockchain-security]]></category>
            <dc:creator><![CDATA[Martin]]></dc:creator>
            <pubDate>Mon, 17 Jun 2024 11:56:37 GMT</pubDate>
            <atom:updated>2024-06-17T11:56:36.895Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Ternoa launches Testnet of zkEVM+, built with Polygon CDK, bringing in anti-censorship, integrity proofs and native privacy to secure digital assets on Ethereum ecosystem</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1aqSsTEK_NgHRfjbvK-k9g.png" /></figure><p>Ternoa is launching zkEVM+, a security and privacy-centric L2 on Ethereum built with Polygon CDK, following the 2023 release of a decentralized privacy stack available as a Polkadot sdk L1 chain.</p><p>A full EVM-equivalent infrastructure, zkEVM+ brings <a href="https://ethresear.ch/t/integrity-proofs-to-improve-rollup-security/19437">censorship resistance via integrity proofs,</a> and native privacy to Ethereum ecosystem builders and users. Built on Polygon CDK, it combines hybrid coprocessor technologies and Avail Data Availability in a unique, best-of-breed architecture co-implemented with Zeeve RaaS.</p><p>Anurag Arjun, co-founder of Polygon and Avail, is a board advisor to the project. He shares his experience and insight to help Ternoa make a decisive contribution to Ethereum’s scaling roadmap.</p><p>Ternoa is already home to one of the largest blockchain infrastructure communities in France, with 200k social media members. And to an ecosystem Labs, supporting enterprise adoption since 2022, working with large French corporate accounts (such as Caisse des Dépôts &amp; Consignations, Stellantis), Japanese studios (Toho) or gaming companies (Tap Nation).</p><p>Today, the Ternoa privacy stack is used by several dapps such as “Time Guardian”, a mobile app dedicated to digital inheritance management, or “Keeper Defi”, an abstracted wallet with built-in DeFi opportunities, now offering a 250k$ / 17 million CAPS <a href="https://points.keeper.tech/">incentive program</a>.</p><p>To welcome EVM builders looking to launch apps on a high-security infrastructure, Ternoa is opening a $500k / 33 million CAPS <a href="https://www.ternoa.network/builder-program">grant program</a> to onboard new developers and projects during the Testnet phase.</p><p><em>For press enquiries: press@ternoa.network</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=508c5051a0c5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ternoa/ternoa-launches-testnet-of-zkevm-built-with-polygon-cdk-bringing-in-anti-censorship-integrity-508c5051a0c5">Ternoa launches Testnet of zkEVM+, built with Polygon CDK, bringing in anti-censorship, integrity…</a> was originally published in <a href="https://medium.com/ternoa">Ternoa</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ternoa Fortress: DKMS (Intro)]]></title>
            <link>https://medium.com/ternoa/ternoa-fortress-dkms-part-i-102b2e1e2bca?source=rss----a48590730295---4</link>
            <guid isPermaLink="false">https://medium.com/p/102b2e1e2bca</guid>
            <category><![CDATA[secret-nft]]></category>
            <category><![CDATA[confidential-computing]]></category>
            <category><![CDATA[ternoa]]></category>
            <category><![CDATA[key-management-system]]></category>
            <dc:creator><![CDATA[Amin Razavi]]></dc:creator>
            <pubDate>Thu, 09 May 2024 12:32:32 GMT</pubDate>
            <atom:updated>2024-08-27T12:13:58.404Z</atom:updated>
            <content:encoded><![CDATA[<p>Ternoa Fortress is the first-of-a-kind flexible decentralized infrastructure that can host any confidential computing application. For a Decentralized Key Management System, Fortress in addition to expected security, the confidentiality of storage/retrieval of keys without any central authority or master key, provides a set of unique management features like Asynchronous Noninteractive Key Transfer, Interoperability between applications, and Resilience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hbjtpIz5YM0QRIfZSMy2XA.jpeg" /></figure><h3>Introduction</h3><p><a href="https://medium.com/ternoa/ternoas-fortress-1dafe026f938">Ternoa Fortress</a> infrastructure co-evolved with the Ternoa <a href="https://medium.com/ternoa/the-launch-of-ternoa-phase-4-part-i-secret-nft-c2c09a07eaa7">Secret-NFT</a> solution. Fortress is an off-chain and chain-agnostic decentralized protocol based on the Trusted Execution Environment (TEE) technology which natively hosts the Secret-NFT. Secret-NFT is a radical approach for adding confidentiality to regular NFTs respecting transferability and transparent flexible ownership. Secret-NFT technology at its core is a Decentralized Key Management System (<a href="https://docs.ternoa.network/learn/ternoa-fortress/key-management">DKMS</a>) where in Ternoa it is backed by tens of cryptographic layers. In this article, we explain the design decisions and implementation details of all these concepts and products.</p><figure><img alt="Ternoa blockchain key Components" src="https://cdn-images-1.medium.com/max/1024/0*BzOfEVWUhMY4E_l4" /><figcaption>Figure 1: Key Components of Ternoa Blockchain</figcaption></figure><h3>Trusted Execution Environment (TEE)</h3><p>Secure-hardware cryptography has always been the ultimate level of security, especially for financial and military-grade applications, because modern cryptography is based on mathematical algorithms that will eventually be executed in hardware, either conventional electronic CPU, GPU, FPGA, ASIC, or unconventional Quantum, Optical, Neuromorphic and biological computers. They all follow the same concept of computation known as the Turing machine. Computation inside the Turing machine hardware, in the hands of experts, can be manipulated, so we need verifiable computation at the micro level (proof system), and a fault-tolerant system at the macro level (state replication, error correction). Moreover, there are methods to eavesdrop on the running computation in hardware, in that case, we need to secure the processing and storage inside the hardware. Normally it has been done in expensive special-purpose microchips and secure modules like SRAM-based PUF, HSM, and TPM.</p><p>Recently main CPU manufacturers started a new line of powerful general-purpose processors as Trusted Execution Environment (TEE) which are both computationally impenetrable and verifiable. TEEs promise <em>integrity</em> (the program being run is exactly the one specified by the user) and <em>confidentiality</em> (the data processed by the program is not leaked outside of the enclave) against an actively malicious adversary with control over the operating system.</p><p>In the next article, we will investigate these processors&#39; security measures and known vulnerabilities, and then show that TEE will be the best secure processing technology for the next decade.</p><h3>Decentralized Key Management System (DKMS)</h3><p>A decentralized key management system (DKMS) leverages cryptographic primitives and distributed ledger technology (DLT) to establish a trustless environment for managing cryptographic keys. Unlike centralized systems with a single point of control (below Image from Google Cloud), DKMS employs a distributed network of nodes to perform key/randomness generation, protection, storage, exchange, replacement, and use through decentralized cryptographic mechanisms. This paradigm offers enhanced security by eliminating a central point of vulnerability. It ensures resilience through Byzantine Fault Tolerance (BFT) protocols, allowing the system to function even in the presence of malicious actors. Furthermore, DKMS fosters transparency through immutable audit trails recorded on the DLT, providing users with a verifiable and tamper-proof record of all key management operations.</p><figure><img alt="Google Cloud Centralized KMS" src="https://cdn-images-1.medium.com/max/1024/0*3on77wtpzdswK2i4" /><figcaption>Figure 2: Centralized KMS (Image Source: Google Cloud Document)</figcaption></figure><p>In Ternoa DKMS there is no root master key (Figure 2), whereas each TEE hardware is the key because nobody has access to it. Whenever data is encrypted by a data encryption key (DEK), it gets encrypted with the Key encryption key (KEK). The master key normally is used to encrypt a set of KEKs. In Ternoa for more security and forward secrecy, every key is temporary and partially accessible. To have a better vision, Ternoa KMS works like a very secure hardware wallet, but instead of putting it in a safe box, it is partitioned into smaller hardware wallets every one of which contains part of the data, moreover, these partial hardware wallets are replicable, if one of them lost we can still recover from other replicas. Additionally, key rotation happens in all of them regularly, which means even if this partial data is stolen, it will be useless after a short time, and if it is disconnected/isolated/outdated for a long time, it will be slashed off the system.</p><h3>Secret NFT</h3><p>NFTs (Non-Fungible Tokens) have gained popularity as a way to represent ownership of unique digital assets. They are often associated with blockchain technology where ownership records are transparent and cannot be duplicated or forged. In the context of a network society, shared economy, and decentralized identities, NFTs play a role in redefining ownership and enabling partial, temporary, and delegated shared ownership of digital assets. This means that ownership of an NFT can be transferred or shared among multiple parties, and it can also include time-limited access rights.</p><p>As the world becomes more connected with autonomous AI-powered IoT devices, managing assets, including keys, becomes crucial. This implies that in addition to managing the ownership of digital assets through NFTs, effective key management methods should be considered to maintain security and control over these assets.</p><p>While NFTs use decentralized technology, DKMS refers to the secure storage and management of cryptographic keys in a decentralized manner. NFTs and DKMS are used together to enable secure and transparent ownership and transfer of digital assets. However, it’s important to note NFTs themselves are not a direct application of DKMS. Instead, DKMS can be utilized to enhance the security and privacy aspects of NFT ownership. DKMS can be used to add confidentiality to NFTs by enabling secure and private ownership of the NFT media content:</p><p>1. Generation of Keys: Each user generates a pair of cryptographic keys — a public key and a private key. The private key is kept secret and is used to sign transactions, while the public key is shared publicly.</p><p>2. Ownership Verification: When an NFT is created, its ownership is associated with the owner’s public key. This linkage is stored on the blockchain or decentralized ledger, making it publicly verifiable.</p><p>3. Confidential Transactions: The private key allows the owner to prove ownership and transfer the NFT without revealing their identity or sensitive information. The transfer can be cryptographically signed with the private key and broadcast to the network.</p><p>4. Decentralized Storage: The NFT’s metadata and ownership details can be stored decentrally, ensuring resilience and availability without relying on a single point of failure.</p><p>5. Extensibility: Each confidential NFT can contain another private key, source code, or NFT for more complex applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/0*o-P5jwZSpFQqusck" /><figcaption>Figure 3: On-chain and Off-chain components of Ternoa Secret-NFT protocol</figcaption></figure><p>The rest of this series is an explanation of Ternoa’s answers to technical questions :</p><ul><li>How is each private key kept secret?</li><li>How can the user manage many private keys for different applications?</li><li>How do we have a confidential market for encrypted assets?</li><li>How do we transfer a private key to the new owner?</li><li>How to keep all the required non-functional qualities: Resilience, Connectivity, Flexibility, Backward secrecy, Forward secrecy, Collusion resistance, Efficiency, and Scalability?</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=102b2e1e2bca" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ternoa/ternoa-fortress-dkms-part-i-102b2e1e2bca">Ternoa Fortress: DKMS (Intro)</a> was originally published in <a href="https://medium.com/ternoa">Ternoa</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting started with the Ternoa SDK — easiest way to mint, query, and sell NFTs.]]></title>
            <link>https://medium.com/ternoa/getting-started-with-the-ternoa-sdk-easiest-way-to-mint-query-and-sell-nfts-d3e336c0be11?source=rss----a48590730295---4</link>
            <guid isPermaLink="false">https://medium.com/p/d3e336c0be11</guid>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[nft-collectibles]]></category>
            <category><![CDATA[nft]]></category>
            <category><![CDATA[ternoa]]></category>
            <dc:creator><![CDATA[Pranjal Bhardwaj]]></dc:creator>
            <pubDate>Thu, 18 Apr 2024 03:28:21 GMT</pubDate>
            <atom:updated>2024-04-18T03:28:21.070Z</atom:updated>
            <content:encoded><![CDATA[<h3>Getting started with the Ternoa SDK — easiest way to mint, query, and sell NFTs.</h3><p>Unlocking the potential of NFTs has never been easier with the Ternoa SDK. Empowering developers with seamless integration, the Ternoa SDK revolutionises NFT operations. From minting to transferring, explore how this powerful SDK streamlines the creation and management of non-fungible tokens, shaping the future of digital ownership. Let’s dive right into the step-by-step process:</p><p><strong>Step 1: Create your Ternoa wallet and claim Alphanet CAPS.</strong></p><p>You can download the Ternoa Wallet app. It is available on the<a href="https://play.google.com/store/apps/details?id=com.ternoa.wallet.prod"> <strong>Google Play Store</strong></a> and the<a href="https://apps.apple.com/us/app/ternoa-wallet/id1562180877#?platform=iphone"> <strong>iOS App Store</strong></a>. To see detailed instructions, follow our <a href="https://docs.ternoa.network/getting-started/wallets">documentation</a>.</p><p><strong>Step 2 : Install </strong><a href="https://nodejs.org/en/download/"><strong>NodeJS v.14+,</strong></a><strong> along with NPM.</strong></p><p><strong>Step 3: Generate IPFS key with </strong><a href="https://ipfs-key-manager-git-dev-ternoa.vercel.app/"><strong>Ternoa IPFS key manager</strong></a></p><p><strong>Step 4: Cloning the github repository</strong></p><p>In this tutorial, we will be using the scripts available in the following GitHub repository:</p><pre>git clone https://github.com/capsule-corp-ternoa/ternoa-sdk-starter<br>cd ternoa-sdk-starter</pre><p><strong>Step 5: Install Ternoa JS library and app dependencies using npm install</strong></p><p>This is one of the most important steps in setting up our development environment. This step ensures that there are no dependency issues while compiling our scripts.</p><p>Execute the following commands to install the required libraries:</p><pre>npm install ternoa-js<br>npm install</pre><p><strong>Step 6: Create a .env file with seed phrase and IPFS key</strong></p><p>After you have generated the IPFS key, create a .env file in the project directory. You will need to specify the IPFS key and seed phrase of your wallet to execute the transactions:</p><pre>SEED_TEST_FUNDS= &quot;a b c d e f g&quot;<br>IPFS_API_KEY= &quot;pqrstuvwxyz&quot;</pre><p>Note: Make sure to not expose your private keys and IPFS key in a public github repository for safety reasons.</p><p><strong>Step 7: In this tutorial, we will be interacting with the following files one by one:</strong></p><ul><li>01_mintNFT.ts</li><li>02_getNFT.ts</li><li>03_sellNFT.ts</li></ul><p>Firstly, to prepare the basic NFT asset, we will create a new typescript file named createNFT.ts . Here we will specify the metadata for the NFT by adding the image file in your project directory. You will also need to specify the file name and file type.</p><pre>import fs from &quot;fs&quot;;<br>import { TernoaIPFS, File } from &quot;ternoa-js&quot;;<br><br>const main = async () =&gt; {<br>  const file = new File(<br>    [await fs.promises.readFile(&quot;FILE_NAME&quot;)],<br>    &quot;FILE_NAME&quot;,<br>    {<br>      type: &quot;FILE_TYPE&quot;,<br>    }<br>  );<br><br>  const ipfsClient = new TernoaIPFS(new URL(&quot;IPFS_NODE_URL&quot;), &quot;IPFS_API_KEY&quot;);<br><br>  const nftMetadata = {<br>    title: &quot;NFT TITLE&quot;,<br>    description: &quot;NFT DESCRIPTION&quot;,<br>  };<br><br>  const { Hash } = await ipfsClient.storeNFT(file, nftMetadata);<br>  console.log(&quot;The off-chain metadata CID hash is &quot;, Hash);<br>};</pre><p>Once the script is ready, you will be able to execute it using:</p><pre>cd ternoa-sdk-starter-main/src/basics<br>npm run start src/basics/createNFT.ts</pre><p>You will see an output with an off-chain metadata CID hash, which we will need for the next steps. The next steps can be found in Part 2 of this tutorial.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*URUncB5ljs2_cGd9" /></figure><p><strong>Step 8:</strong> Make sure you copy and paste the CID hash at ‘offchainData’ created in the previous step.</p><pre>import { createNft, getKeyringFromSeed, WaitUntil } from &quot;ternoa-js&quot;;<br><br>const mintNFT = async () =&gt; {<br> try {<br>  const keyring = await getKeyringFromSeed(&quot;//TernoaTestAccount&quot;);<br>  const nftData = await createNft(<br>   &quot;IPFS_CID&quot;,<br>   0,<br>   undefined,<br>   false,<br>   keyring,<br>   WaitUntil.BlockInclusion<br>  );<br>  console.log(&quot;The on-chain NFT id is: &quot;, nftData.nftId);<br> } catch (e) {<br>  console.error(e);<br> }<br>};</pre><p>Once that is done, to mint the NFT, we need to execute this file by</p><pre>cd ternoa-sdk-starter-main/src/basics<br>npm run start src/basics/01_mintNFT.ts</pre><p>You will see an output saying the NFT has been successfully minted, and it will return the NFT ID.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VjX-YThOR5h6-P-9" /></figure><p><strong>Step 9:</strong> You can visit the <a href="https://polkadot.js.org/apps/#/explorer">Polkadot UI explorer</a> to see recent events, where you can see the recently minted NFT like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ClS2beQR7PjXX1Ud" /></figure><p>Note: Make sure you have the explorer open before minting the NFT. In some cases, you might not be able to see your mint under the recent events if you load the ternoa <a href="https://polkadot.js.org/apps/#/explorer">alphanet polkadot explorer</a> after minting NFT.</p><p><strong>Step 10:</strong> Check the Ternoa wallet app and go to the NFT section to check if the NFT has been minted successfully. Along with the NFT, you’ll be able to see the NFT metadata.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/749/0*s64EWKrLinEyo4uq" /></figure><p><strong>Step 11:</strong> In this step, we will query the on-chain NFT data. Firstly, Copy the NFT ID and specify it under</p><pre>const NFT_ID = 83179;</pre><p>The final file would look something like:</p><pre>import { u128 } from &quot;@polkadot/types&quot;;<br>import { request, gql } from &quot;graphql-request&quot;;<br><br>// Change the nftId provided by default with the one created in step one (01_mintNFT.ts).<br>const NFT_ID = [&quot;NFT_ID&quot;];<br><br>// The function below prepares a stringified query to get NFT data from a specific NFT id.<br>const query = (id: number) =&gt; gql`<br>    {<br>      nftEntity(id: &quot;${id}&quot;) {<br>        owner<br>        nftId<br>        offchainData<br>        collectionId<br>        royalty<br>        isSoulbound<br>      }<br>    }<br>`;<br><br>const getNftData = async () =&gt; {<br> try {<br>  console.log(&quot;Sending query to the indexer...&quot;);<br>  if (NFT_ID === undefined) throw new Error(&#39;Change the const NFT_ID with the one created in step one (01_mintNFT.ts).&#39;)<br><br>  // Here we make the request to our indexer by providing both the endpoint and the query.<br>  const response = await request&lt;{ nftEntity: NftType }&gt;(<br>   &quot;https://indexer-alphanet.ternoa.dev&quot;,<br>   query(NFT_ID)<br>  );<br><br>  console.log(response);<br>  console.log(&quot;Step 2 is over! See you later 👋&quot;);<br> } catch (error) {<br>  console.error(error);<br> } finally {<br>  process.exit();<br> }<br>};<br><br>getNftData();<br><br>type NftType = {<br> owner: string;<br> nftId: string;<br> offchainData: string;<br> collectionId: string;<br> royalty: number;<br> isSoulbound: boolean;<br>};</pre><p>Then execute the 02_getNFT.ts file using the following command:</p><pre>cd ternoa-sdk-starter-main/src/basics<br>npm run start src/basics/02_getNFT.ts</pre><p>Here you will see an output like the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vgstA3G3CH9-TCi_" /></figure><p>You can see the owner wallet address, nftId, offchainData, collectionId, royalty, and isSoulbound properties associated with the NFT.</p><p><strong>Step 12:</strong> Head over to <a href="https://indexer-alphanet.ternoa.dev/">https://indexer-alphanet.ternoa.dev/</a> to access the graphQL indexer. Here we will be executing a simple query to check the NFT created and held in our wallet. You can specify your wallet address by replacing “YOUR_WALLET_ADDRESS”.</p><pre>query {<br>nftEntities(<br>first: 5,<br>filter: {<br>owner: { equalTo: &quot;YOUR_WALLET_ADDRESS&quot; }<br>}<br>) {<br>totalCount<br>nodes {<br>nftId<br>owner<br>creator<br>collectionId<br>offchainData<br>}<br>}<br>}</pre><p>Upon execution, we will be able to see the NFT IDs along with NFT data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tbVPjGwgE_CxQZd6" /></figure><p><strong>Step 13:</strong> In this step, we will be listing our NFT on a marketplace. For this, we will need the nftId and the marketplaceId. Firstly, specify the NFT ID, like: const NFT_ID = 83179;</p><p>Then fill out the required parameters, like Marketplace ID and selling price and then execute the file.</p><pre>import {<br> initializeApi,<br> getKeyringFromSeed,<br> WaitUntil,<br> safeDisconnect,<br> listNft,<br>} from &quot;ternoa-js&quot;;<br>import dotenv from &quot;dotenv&quot;;<br>dotenv.config();<br><br>const NFT_ID = [&quot;NFT_ID&quot;];<br><br>const sellNFT = async () =&gt; {<br> try {<br>  if (NFT_ID === undefined) throw new Error(&#39;Change the const NFT_ID with the one created in step one (01_mintNFT.ts).&#39;)<br><br>  await initializeApi();<br>  console.log(<br>   &quot;Ternoa-JS API initialized: you&#39;re connected to the Ternoa Alphanet Network&quot;<br>  );<br>  <br>  const SEED_TEST_FUNDS = process.env.SEED_TEST_FUNDS;<br>  if (!SEED_TEST_FUNDS) throw new Error(&quot;SEED_UNDEFINED: Verify your .env variables&quot;)<br>  <br>  const keyring = await getKeyringFromSeed(&quot;leg system coach toss first wood dutch neither stable drift absorb squeeze&quot;);<br>  console.log(&quot;Keyring set and ready to use.&quot;);<br><br>  const listedNft = await listNft(<br>   NFT_ID,<br>   MARKETPLACE_ID,<br>   SELLING_PRICE,<br>   keyring,<br>   WaitUntil.BlockInclusion<br>  );<br>  console.log(<br>   `Your NFT ${listedNft.nftId} is now listed for sale at: ${listedNft.priceRounded} CAPS`<br>  );<br><br>  console.log(<br>   &quot;Congratulation folks! This is the end of your journey with us! 👋&quot;<br>  );<br> } catch (e) {<br>  console.error(e);<br> } finally {<br>  await safeDisconnect();<br>  process.exit();<br> }<br>};<br><br>sellNFT();</pre><pre>cd ternoa-sdk-starter-main/src/basics<br>npm run start src/basics/03_sellNFT.ts</pre><p>Upon execution, you will be able to see an output returning the NFT ID and the selling price with a confirmation message.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vGKNKir4J7Hm1AUS" /></figure><p><strong>Step 14:</strong> You can verify the event by visiting the <a href="https://polkadot.js.org/apps/#/explorer">polkadot UI explorer</a> and checking out the recent events. The &#39;sell’ event for your NFT will look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*u6ZQXxWNE-elRVgy" /></figure><p>Congratulations! You have completed all the steps and successfully minted your NFT. We encourage everyone to tweak different NFT properties to explore functionalities which we will be covering in the upcoming tutorials.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3e336c0be11" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ternoa/getting-started-with-the-ternoa-sdk-easiest-way-to-mint-query-and-sell-nfts-d3e336c0be11">Getting started with the Ternoa SDK — easiest way to mint, query, and sell NFTs.</a> was originally published in <a href="https://medium.com/ternoa">Ternoa</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>