Contracts
D-Chain Protocol Contracts
- AVIDA: The AVIDA protocol contracts for D-Chain
- Abstract Account System contracts
- Proxy: The code for the account that holds the assets and interacts with the users
- Plugin Registry: The plugin registry storing all official plugins approved from D-Chain governance
- Authenticators
- Webauthn: Authenticator to verify transactions signed with Passkey credentials
D-Chain Abstract Account Contracts
The contracts for D-Chain Abstract Accounts are a modified version from the Vectis smart account framework. The core difference is that the D-Chain
abstractaccount
module is used instead of the Vectis Factory Contract to create smart accounts and store relevant actors addresses for the framework.
D-Chain adopts the Vectis smart contract wallet framework that allows user to interact with dApps on the blockchain with the same amount of autonomy of a classic non-custodial solution, but supercharged with functionalities, designed to provide the user with better experience and security.
Features
Abstract Accounts come with base features:
- Seedless accounts: Accounts are by default controlled by an
Entity
, which can choose authentication method, default to be Webauthn (for creation and tx signing) - Extensible plugin features: supercharge and customise Abstract Account with automated transactions and pre-transaction workflow / guards. See plugin section
- Account controller rotation: Accounts can rotate their own
Entity
in the case of updates, this can be extended in the future for guardianships
With the above features, Abstract Account provides functionality for both retail users and businesses to satisfy regulatory requirements:
- consumer protection: guardianship features can help recovery user funds and manage fraud risk
- Pre-Transaction checks: Vectis is a compliant solution and satisfies crypto AML / travel checks
- Transparency: Users can at all time check any status on their wallet
Plugins
D-Chain adopts the Vectis plugin-registry system.
Abstract Accounts are designed to be extensible with a plugin system. Account controllers can add plugins to perform authorised (automated) transactions and pre-execution workflow and guards.
Plugins can choose to apply to the Plugin Registry (PR) to give users a certain level of assurance. Test suite is provided to allow developers to easily test plugins in the Vectis ecosystem.
Read more about the Vectis smart account framework from the introductory article.