Global Social is a decentralized social protocol that leverages Cartesi's powerful computational capabilities to make social data transparent and resistant to censorship.
This is a Social Protocol built on Cartesi, leveraging Cartesi's RISC-V architecture to store large social posts and updates. More importantly, Cartesi's powerful computational capabilities make decentralized social algorithms possible. People can review publicly transparent algorithms and verify the correctness of their data.
In Global Social, the frontend can use the [inspect] API to search for matching posts. Thanks to Cartesi's powerful computational capabilities, the response speed is comparable to Web2, with storage capacity and query performance also on par. This provides users with a modern, high-throughput application experience. In future development, more complex algorithms can be introduced, allowing users to freely choose suitable algorithms and ensuring a decentralized and transparent social experience.
In this project, the [`advance] API is used to update post data. Users can click 'like,' and these likes will influence the algorithm's recommendations.
Using the Cartesi Framework, API route definitions and routing were handled, along with configurations for nodes and the RISC-V architecture. Additionally, SQLite was integrated to store posts and enable searches based on specific conditions.
The primary operations are divided into [inspect] and [advance], which are used for reading and writing data. Data reading supports searches based on specific conditions and serves as the default recommendation. Data writing involves creating posts and liking specific posts.
In the advanced API, the encoding method uses the ABI encoding format. The already encoded bytecode is passed to the backend, which will then decode it into the function selector and arguments. The function selector is used to specify the action to be performed.