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.