The Odsy Tech Stack: Turing-Complete Wallet Contracts

The Odsy Tech Stack: Turing-Complete Wallet Contracts

We’ve seen how dWallets are both capable of operating across chains thanks to their support for signing mechanisms such as ECDSA. They are also capable of providing unparalleled security thanks to the Odsy Network’s particular implementation of TSS. Altogether, this allows developers to build an entirely new kind of secure multi-chain solutions.

But what exactly are these solutions that can be built and how can we build them? To understand this we need to take a look at the Odsy Network’s capability to deploy wallet contracts.

Wallet Contracts

Wallet contracts are a specific type of smart contract that determine how access control is managed in the Odsy Network. The difference is that wallet contracts are specifically concerned with the conditions under which transactions are signed with dWallets.

However, since dWallets have addresses on other blockchains and can sign transactions for those addresses, the logic programmed in wallet contracts can determine whether actions like transfers, staking, or voting take place in these other blockchains.

It’s also important to note that the logic for signing these transactions can be anything imaginable. The Odsy Network’s virtual machine is Turing-complete, meaning that it is capable of running any kind of logic built with wallet contracts.

How Wallet Contracts Work

For a transaction to be signed by a dWallet, the user and the Odsy Network need to engage in a MPC protocol for signature generation. Within the Odsy Network, wallet contracts determine whether or not the network should participate in the signing protocol for that specific transaction. They are the way to enforce access control logic on transactions signed with dWallets.

The user can then broadcast that signed transaction to the blockchain network where the original request came from. There, it will be used to approve a transfer of funds, staking them, voting in a DAO, or any other operation. As you can see, these signatures are being controlled by wallet contracts, making them the primary tool for programmable access control.

How to Work with Wallet Contracts

The Odsy Network is a completely open-source project. The team is working on an SDK that will simplify parsing transactions from other networks, helping developers build wallet contracts that interact with these transactions and easily create multi-chain access control mechanisms.

You can find more detailed information about the Odsy SDK in the litepaper. In our next series of posts, we’ll take a look at some of the possibilities for what can be built by leveraging this technology.

Show Comments