Ouronet Demiourgos Codex
The Ouronet Demiourgos Codex is a cryptographic framework designed to manage assets on the Kadena Network. It consists of two key components:
A Collection of Kadena Public Keys – These keys, generated either from seed words or as barebone keys, serve as the foundation for interacting with the Kadena blockchain. (Mandatory)
A Collection of Ouronet Accounts – These accounts, whether smart or standard, facilitate engagement with the Ouronet Virtual Blockchain. (Optional)
As a repository of Kadena Public Keys, the Demiourgos Codex acts as a gateway for interacting with the Kadena Network. Additionally, when combined with Ouronet Accounts, it enables seamless interaction with the Ouronet Virtual Blockchain, which operates on Kadena’s infrastructure.
While the Ouronet Demiourgos Codex can manage Kadena Public Keys across any chain, switching to Chain 2 activates full functionality for engaging with the Ouronet Virtual Blockchain.
Kadena Key Pairs
Kadena utilizes elliptic curve cryptography (ECC) to generate public-private key pairs. These cryptographic pairs are fundamental to securing transactions and verifying ownership on the blockchain.
The Public Key is openly visible on the blockchain and serves as an address for transactions.
The Private Key is its corresponding secret counterpart, used to sign transactions and prove ownership of the public key.
Kadena key pairs can be generated in two ways:
Deterministic (Seed-Based Generation) – A single seed phrase can derive multiple key pairs, allowing for secure recovery and management.
Non-Deterministic (Barebone Generation) – Key pairs are generated independently without a seed phrase, meaning they exist in isolation and cannot be regenerated from a mnemonic backup.
Demiourgos Codex
After creating a new Demiourgos Codex (default on Kadena Chain 2), users may begin to add cryptographic Kadena assets:
Add Kadena Public Keys and this can be done:
Using direct barebone generation (direct key pair creation) (can be done multiple times)
Using Seed-based generation (derived from a mnemonic phrase).
Multiple Seed-Phrases may be added. When adding a Seed Phrase, its first Public Key is added into the Codex. Subsequent Public Keys may be added either consecutively or by direct selection (ex add the 777th Public Key from my Seed-Phrase).
Restore or create an Ouronet Account – using custom Ouronet Seed Words, even if no Kadena public keys have been added.
While an Ouronet Account can exist in the Codex without Kadena public keys, managing it requires the presence of the correct public keys. Without them, the user can view the account but cannot perform operations with it.
Once all the needed Cryptographic Assets are added into the Demiourgos Codex, It can be exported locally into a Json file, which has its Kadena Private Keys, and Ouronet Private Keys encrypted. This Json file may be loaded on another machine to restore the whole Demiourgos Codex.
Creating an Ouronet Account
To create an Ouronet Account (Standard or Smart), at least two distinct Public Keys are required:
One Public Key is needed to create the Keyset for the account's Guard (1 Public Key, predicate keys-all).
Another Public Key is required to generate the K:xxx Account, which will be attached to the Ouronet Account.
Guard and Kadena Account Link
If the Guard of an Ouronet Account is derived from the same Public Key as the attached Kadena Account, the account will have restricted functionality. Specifically, actions requiring KDA spending (from the associated Kadena Account) will be restricted.
Although this setup is not explicitly prohibited at the smart contract level and can still be created via Pact code, restrictions are imposed during Ouronet Account creation through the Demiourgos Codex to ensure full functionality.
Restoring Full Functionality
To restore full functionality for existing Ouronet Accounts with an identical guard to their associated Kadena Account, users can:
Rotate the associated Kadena Account to a different one.
Update the guard of the Ouronet Account itself.
Last updated