Git Product home page Git Product logo

space-cats-dao's Introduction

Space Cats DAO

A Twitter-style app built using Solana and Arweave.

Disclaimer

This was built for learning/experimental purposes. The code is not necessarily ready for a production application. Use at your own risk.

Architecture

This repository is a twitter clone built using Solana and Arweave. Solana stores user accounts and initial post data directly on chain. Posts are then stored permanently using Arweave. An off-chain (centralized) read/write service handles reading post data from Solana and writing it to Arweave. This service subscribes to account changes from Solana, posts data to Arweave whenever new posts appear, and indexes the post history to serve quickly to clients. Periodically, this service also garbage collects the initial post data from the Solana account.

The code here is organized as follows:

.
├── backend         # Backend NodeJS read/write service
├── frontend        # Client ReactJS application
├── programs        # Solana program source code
├── test            # Solana program tests/helper scripts
└── README.md

The Solana smart contract is build using Anchor.

One might imagine a real implementation in which the read/write service was also decentralized.

space-cats-dao's People

Contributors

space-cat-96 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.