> For the complete documentation index, see [llms.txt](https://openledger.gitbook.io/openledger/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://openledger.gitbook.io/openledger/product-walkthrough/datanets.md).

# Datanets

### **Create a datanet**

1. **Input Metadata**
2. Navigate to Model Datanets and select Create Datanet.
3. Enter the required metadata:
   * Name
   * Summary
   * Description (supports markdown)
   * Tags
4. Upload valid .md, .pdf, .txt and .docx files (maximum size: 5 MB, UTF-8 encoded for a submission).
5. Add relevant tags
6. Click Create to complete the process.<br>

![](https://2792865779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvYkUjsu4WqPo9ErCXDA%2Fuploads%2FyOoVcNhdMhpu4vabuIBX%2F1.png?alt=media)

Upon creation, a draft Datanet is initialized and displayed.

![](https://2792865779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvYkUjsu4WqPo9ErCXDA%2Fuploads%2F4lEny4JybPH0QR7mOOIA%2F2.png?alt=media)

### **Publish to Blockchain**

After creation, datanet contract should be created onchain with fee payment.

1. Review the uploaded files under **Unpublished Datanets,** uploaded files can be deleted before Publish to Blockchain.
2. Click **Publish to Blockchain**
3. Review the details:
   * Datanet Name
   * Your OPEN balance
   * Deployment fee
4. Deployment fee is calculated based on the file size
5. Click **Confirm & Create** to initiate a wallet transaction
6. On success, the transaction hash is displayed and a confirmation popup appears.

![](https://2792865779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvYkUjsu4WqPo9ErCXDA%2Fuploads%2FQf9wTENRAs9tp3i9tqzt%2F3.png?alt=media)

1. On failure, an error modal appears (e.g., insufficient balance).

![](https://2792865779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvYkUjsu4WqPo9ErCXDA%2Fuploads%2FuY0El951mPCMxLsdi3Yx%2F4.png?alt=media)

1. Files are parsed and datanet rows are generated using LLM, and all the generated rows are stored on-chain.

### **Review and Publish**

1. Datanet owners can review the datanet rows and delete any unwanted entries.
2. Once all the rows are onchain, datanet can be published.

![](https://2792865779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvYkUjsu4WqPo9ErCXDA%2Fuploads%2Fm1QvnWUkhTVeM0e8l6Ur%2F5.png?alt=media)

1. Your Datanet is now live, reusable, and trainable to any AI models within OpenLedger.

![](https://2792865779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvYkUjsu4WqPo9ErCXDA%2Fuploads%2FlG0a7yGwYNoXr6cT4PVq%2F6.png?alt=media)

### Datanet Versioning and Contributions <a href="#nyh2cfubh9jk" id="nyh2cfubh9jk"></a>

* **Metadata update:** Only **Summary**, **Description and Tags** can be edited after creation.
* **File update:** Uploading new files or modifying existing rows will create a new version and incur an applicable fee.

<figure><img src="https://2792865779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvYkUjsu4WqPo9ErCXDA%2Fuploads%2FcscEbodANoqNtc2AwW74%2F7.png?alt=media" alt=""><figcaption></figcaption></figure>

### Contributions <a href="#du7kim3b09ko" id="du7kim3b09ko"></a>

* Public Datanets allow file uploads via the **Contribute** button.
* The owner can **Approve** or **Reject** submissions.
* Approved submissions create a new on-chain version (e.g., AI\_Model\_V2).
* On approval, Datanet owners are charged deployment fees for the new versions.
