# 4thTech Wiki

## 4thTech Wiki

- [Welcome](https://wiki.4thtech.io/welcome.md): Welcome to 4thTech, Web3's first "on-chain" communication building blocks. Technology infrastructure that enables 1000s of "on-chain" communication dApps.
- [Getting started](https://wiki.4thtech.io/quickstart/index.md): Learn about immutable on-chain communication, build on top of our protocol stack or utilize the power of our dMail & dChat SDKs & white labels.
- [Overview](https://wiki.4thtech.io/architecture/overview.md): Read about 4thTech architecture overview. Designed to be as lightweight and modular as possible while retaining core decentralization primitives.
- [Blockchain](https://wiki.4thtech.io/architecture/blockchain.md): We strive to enable access to on-chain communication no matter to the native L1 or L2.
- [Storage](https://wiki.4thtech.io/architecture/storage.md): While the SDK integrators can utilize centralized storage, decentralized storage is the key to any modern Web3 solution.
- [OCC Protocol](https://wiki.4thtech.io/architecture/protocol.md): With many iterations behind there are six smart contracts forming the core protocol layer.
- [Encryption](https://wiki.4thtech.io/architecture/encryption.md): Read about 4thTech encryption overview.
- [SDK](https://wiki.4thtech.io/integration/sdk.md): dMail & dChat plug-and-play SDKs stand ready for security-enabled social scaling in the multi-chain universe
- [White-label](https://wiki.4thtech.io/integration/white-label.md): dMail & dChat white-label UI stand ready for security-enabled social scaling in the multi-chain universe
- [Ethereum](https://wiki.4thtech.io/sdk/ethereum.md): Documentation for the @4thtech-sdk/ethereum package
- [Mail](https://wiki.4thtech.io/sdk/ethereum/mail.md)
- [send](https://wiki.4thtech.io/sdk/ethereum/mail/send.md)
- [setOpenedAt](https://wiki.4thtech.io/sdk/ethereum/mail/setopenedat.md)
- [deleteMail](https://wiki.4thtech.io/sdk/ethereum/mail/deletemail.md)
- [deleteMails](https://wiki.4thtech.io/sdk/ethereum/mail/deletemails.md)
- [fetch](https://wiki.4thtech.io/sdk/ethereum/mail/fetch.md)
- [fetchAll](https://wiki.4thtech.io/sdk/ethereum/mail/fetchall.md)
- [fetchPaginated](https://wiki.4thtech.io/sdk/ethereum/mail/fetchpaginated.md)
- [fetchByTransactionHash](https://wiki.4thtech.io/sdk/ethereum/mail/fetchbytransactionhash.md)
- [count](https://wiki.4thtech.io/sdk/ethereum/mail/count.md)
- [getUserAppIds](https://wiki.4thtech.io/sdk/ethereum/mail/getuserappids.md)
- [downloadAttachment](https://wiki.4thtech.io/sdk/ethereum/mail/downloadattachment.md)
- [onNew](https://wiki.4thtech.io/sdk/ethereum/mail/onnew.md)
- [onOpened](https://wiki.4thtech.io/sdk/ethereum/mail/onopened.md)
- [onDeleted](https://wiki.4thtech.io/sdk/ethereum/mail/ondeleted.md)
- [Chat](https://wiki.4thtech.io/sdk/ethereum/chat.md)
- [sendMessage](https://wiki.4thtech.io/sdk/ethereum/chat/sendmessage.md)
- [addMessageToConversation](https://wiki.4thtech.io/sdk/ethereum/chat/addmessagetoconversation.md)
- [deleteMessage](https://wiki.4thtech.io/sdk/ethereum/chat/deletemessage.md)
- [createGroupConversation](https://wiki.4thtech.io/sdk/ethereum/chat/creategroupconversation.md)
- [removeConversation](https://wiki.4thtech.io/sdk/ethereum/chat/removeconversation.md)
- [addMembersToGroupConversation](https://wiki.4thtech.io/sdk/ethereum/chat/addmemberstogroupconversation.md)
- [removeMemberFromGroupConversation](https://wiki.4thtech.io/sdk/ethereum/chat/removememberfromgroupconversation.md)
- [removeMembersFromGroupConversation](https://wiki.4thtech.io/sdk/ethereum/chat/removemembersfromgroupconversation.md)
- [calculateConversationHash](https://wiki.4thtech.io/sdk/ethereum/chat/calculateconversationhash.md)
- [countMessages](https://wiki.4thtech.io/sdk/ethereum/chat/countmessages.md)
- [fetchConversationHashes](https://wiki.4thtech.io/sdk/ethereum/chat/fetchconversationhashes.md)
- [fetchConversation](https://wiki.4thtech.io/sdk/ethereum/chat/fetchconversation.md)
- [fetchConversations](https://wiki.4thtech.io/sdk/ethereum/chat/fetchconversations.md)
- [fetchConversationMessagesPaginated](https://wiki.4thtech.io/sdk/ethereum/chat/fetchconversationmessagespaginated.md)
- [getUserAppIds](https://wiki.4thtech.io/sdk/ethereum/chat/getuserappids.md)
- [onMessageSent](https://wiki.4thtech.io/sdk/ethereum/chat/onmessagesent.md)
- [onMessageDeleted](https://wiki.4thtech.io/sdk/ethereum/chat/onmessagedeleted.md)
- [onGroupConversationCreated](https://wiki.4thtech.io/sdk/ethereum/chat/ongroupconversationcreated.md)
- [onConversationRemoved](https://wiki.4thtech.io/sdk/ethereum/chat/onconversationremoved.md)
- [onMemberAddedToConversation](https://wiki.4thtech.io/sdk/ethereum/chat/onmemberaddedtoconversation.md)
- [onMemberRemovedFromConversation](https://wiki.4thtech.io/sdk/ethereum/chat/onmemberremovedfromconversation.md)
- [Encryptor](https://wiki.4thtech.io/sdk/ethereum/encryptor.md)
- [isUserAddressInitialized](https://wiki.4thtech.io/sdk/ethereum/encryptor/isuseraddressinitialized.md)
- [retrieveUserPublicKey](https://wiki.4thtech.io/sdk/ethereum/encryptor/retrieveuserpublickey.md)
- [storePublicKey](https://wiki.4thtech.io/sdk/ethereum/encryptor/storepublickey.md)
- [getState](https://wiki.4thtech.io/sdk/ethereum/encryptor/getstate.md)
- [getPublicKey](https://wiki.4thtech.io/sdk/ethereum/encryptor/getpublickey.md)
- [getPublicKeyType](https://wiki.4thtech.io/sdk/ethereum/encryptor/getpublickeytype.md)
- [computeSharedSecretKey](https://wiki.4thtech.io/sdk/ethereum/encryptor/computesharedsecretkey.md)
- [Encryption](https://wiki.4thtech.io/sdk/encryption.md): Documentation for the @4thtech-sdk/encryption package
- [EncryptionHandler](https://wiki.4thtech.io/sdk/encryption/encryption-handler.md)
- [addEncryptionInstance](https://wiki.4thtech.io/sdk/encryption/encryption-handler/addencryptioninstance.md)
- [encrypt](https://wiki.4thtech.io/sdk/encryption/encryption-handler/encrypt.md)
- [decrypt](https://wiki.4thtech.io/sdk/encryption/encryption-handler/decrypt.md)
- [getEncryption](https://wiki.4thtech.io/sdk/encryption/encryption-handler/getencryption.md)
- [AES Encryption](https://wiki.4thtech.io/sdk/encryption/aes-encryption.md)
- [Encryptor AES Encryption](https://wiki.4thtech.io/sdk/encryption/encryptor-aes-encryption.md)
- [Encryptor](https://wiki.4thtech.io/sdk/encryptor.md): Documentation for the @4thtech-sdk/encryptor package
- [isInstalled](https://wiki.4thtech.io/sdk/encryptor/isinstalled.md)
- [isInitialized](https://wiki.4thtech.io/sdk/encryptor/isinitialized.md)
- [isLocked](https://wiki.4thtech.io/sdk/encryptor/islocked.md)
- [isUnlocked](https://wiki.4thtech.io/sdk/encryptor/isunlocked.md)
- [getState](https://wiki.4thtech.io/sdk/encryptor/getstate.md)
- [getPublicKey](https://wiki.4thtech.io/sdk/encryptor/getpublickey.md)
- [getPublicKeyType](https://wiki.4thtech.io/sdk/encryptor/getpublickeytype.md)
- [computeSharedSecretKey](https://wiki.4thtech.io/sdk/encryptor/computesharedsecretkey.md)
- [Storage](https://wiki.4thtech.io/sdk/storage.md): Documentation for the @4thtech-sdk/storage package
- [Remote Storage Provider](https://wiki.4thtech.io/sdk/storage/remote-storage-provider.md)
- [upload](https://wiki.4thtech.io/sdk/storage/remote-storage-provider/upload.md)
- [download](https://wiki.4thtech.io/sdk/storage/remote-storage-provider/download.md)
- [onUploadProgress](https://wiki.4thtech.io/sdk/storage/remote-storage-provider/onuploadprogress.md)
- [offUploadProgress](https://wiki.4thtech.io/sdk/storage/remote-storage-provider/offuploadprogress.md)
- [emitUploadProgress](https://wiki.4thtech.io/sdk/storage/remote-storage-provider/emituploadprogress.md)
- [PollinationX Storage Provider](https://wiki.4thtech.io/sdk/storage/pollination-x.md)
- [Types](https://wiki.4thtech.io/sdk/types.md): Documentation for the @4thtech-sdk/types package


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://wiki.4thtech.io/welcome.md?ask=<question>
```
The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
