Your Guide to COTI: Refreshed Documentation Is Here
User-friendly documentation is often a challenge for protocols, especially when introducing entirely new features. So when our community spoke, we listenedāāāand today, weāre excited to unveil our refreshed an restructured documentation, available at docs.coti.io.
Meaningful Web3 adoption cannot happen without robust privacy and COTIās garbled circuits (GCs), developed by Soda Labs, are a fast, lightweight and cost-efficient means of carrying out any kind of encrypted transaction, from simple transfers to complex DeFi operations.
Web3 builders can now access these features in their dApps on the COTI L2, an EVM-compatible platform currently available on testnet, with mainnet scheduled for launch in Q1Ā 2025.
Letās take a look at how to get started withĀ COTI.
Docs Homepage
Our docs start with an overview of what COTI is, why privacy is necessary, and some of the use cases for garbled circuits. Youāll also find a summary and links to the most important parts of theĀ docs:
Technology Overview
Quickstart Guide
Developer Tools
Reorganized AndĀ Updated
So, whatās changed? Weāve restructured the docs for more straightforward navigation. In the left-hand menu, navigate to the Networks page to find details for the devnet and testnet environments, available for developers to use (mainnet is coming inĀ 2025).
Testnet provides a pre-production environment for developers, ahead of COTIās V2 launch nextĀ year.
Devnet includes code that is still in development, providing a less stable environment but providing devs with access to new features at an earlyĀ stage.
Next, in the left-hand menu, check out How COTI Works to discover more about the COTI EVM, its architecture, and how garbled circuits can be used in practice.
Weāve also restructured the next menu item, Build on COTI, which is now set out asĀ follows:
Core Concepts
Quickstart
Guides
Tools
This navigation is more intuitive for developers discovering COTI for the first time, assisting them to quickly get started in building dApps and other Web3 services onĀ COTI.
Coding OnĀ COTI
Within this menu, there are a few things that are specific to COTI because of the way garbled circuits work. Weāve provided the following simplified navigation:
Core Concepts: Familiarize yourself with COTIās core concepts, in order to get started with GCs on the COTIĀ EVM.
Quickstart: Discover the basic requirements for building on COTI. The good news is that you wonāt need to go far beyond the Solidity that is widely used within EVM systems. We also support TypeScript and Python for getting setĀ up.
Guides: SeeĀ below.
Tools: SeeĀ below.
Guides
We have added new material to help dApp creators understand how to practically apply garbled circuits to their projects, offering examples of how to approach some of the more common tasks including encrypted token transfers and writing private smart contracts.
The new Guides menu is set out asĀ follows:
Basic Private Smart Contract. An example of a private smart contract that confidentially adds all the values passed toĀ it.
Account Onboarding. A walkthrough of the process for acquiring an AES key, which is required for interacting with a private smart contract.
Sending a Transaction with Encrypted Outputs. Code for encrypting the arguments to be passed to the sample private smart contract givenĀ above.
Resolving a Transactionās Encrypted Outputs. Using the AES encryption key for decrypting and checking the result of the addition operation.
Writing a Private Smart Contract. Guidelines for using COTIās privacy features effectively.
Doās and Donāts. Handy tips to help you maintain the privacy and security of sensitive information on the blockchain, and ensure more gas-efficient transactions.
Best Practices. Recommendations that developers should observe to protect confidential information and maintain the integrity of their confidential smart contracts.
Those who attended our recent developer call will recognize the new examples that illustrate privacy feature implementation patterns. More extensive documentation on these use cases can be expected in the near future. You can catch up on the developer call, which covers these privacy feature examples, in the videoĀ below.
<a href="https://medium.com/media/31461363759d1c99f1c6fd21b5282856/href">https://medium.com/media/31461363759d1c99f1c6fd21b5282856/href</a> Tools
Here you will find COTIās libraries and tools. In particular, our SDK has benefited from significant updates, with improved cryptographic operations and comprehensive string-handling across both the TypeScript and Python implementations. These updates allow developers to create more complex applications and carry out many different types of operation, while maintaining greater simplicity.
The overhauled Tools menu is laid out asĀ follows:
Typescript SDK
Ethers.js
Python SDK
Web3.py
Contracts Library
Hardhat
Remix Plugin
Developer Sandbox.
From this section, please note the Remix plugin. This powers the popular Remix IDE that is widely used by an estimated 100,000+ developers for Ethereum smart contract development. The plugin will play a big role in enabling developers to access COTIās privacy-preserving features quickly and easily, inside the familiar RemixĀ IDE.
The plugin is forward-compatible, designed to work with devnet, testnet, and the forthcoming mainnet, and is the ideal starting point for developers who are new to COTI. At present, devnet is supported, with testnet comingĀ soon.
As we announced recently, the coti-ethers and coti-contracts libraries are now also available.
For more information about COTIās tech stack and tooling check out the presentation by our technical team.
<a href="https://medium.com/media/5b163c1ec9eee7483c1d450984f8cf95/href">https://medium.com/media/5b163c1ec9eee7483c1d450984f8cf95/href</a> Need SomeĀ Help?
The Support and Community section provides links to our social platforms, where you can connect with developers and other community members, plus a glossary of specific terms you may want toĀ explore.
Last but not least, our new Ask AI service is on hand to offer instant support for developers.
The AI Chatbot is trained on many different relevant sources to enable it to providing useful answers on a wide range of topics and even offer sampleĀ code.
Find Out MoreāāāAnd Join Our BuildersĀ Program!
Weāll be adding more information to the docs over time, so if there are particular topics or guides youād like to see included, let usĀ know.
Meanwhile, the COTI Builders Program offers grants, support, and training to developers who want to contribute to the ecosystem by building on COTI and creating products, services, and infrastructure that will help increase adoption.
Stay COTI!
Quick links to developer resources:
Github-COTI RemixĀ Plugin
Testnet Explorer
Uptime Dashboard
Testnet Faucet
Discord Server
COTI ether.js SDKĀ support
COTI web3.py SDKĀ Support
COTI Developer Sandbox (DevNetĀ only)
For all of our updates and to join the conversation, be sure to check out our channels:
Website: https://coti.io/
X: https://twitter.com/COTInetwork
YouTube: https://www.youtube.com/channel/UCl-2YzhaPnouvBtotKuM4DA
Telegram: https://t.me/COTInetwork
Discord: https://discord.gg/9tq6CP6XrT
GitHub: https://github.com/coti-io
Your Guide to COTI: Refreshed Documentation is Here was originally published in COTI on Medium, where people are continuing the conversation by highlighting and responding to this story.