Cobweb is an dApp developed for the Spiderhack hackathon. It stands at the intersection of a shares platform and a decentralized voting system, leveraging the power of the Spiderhack blockchain to usher in a novel form of governance and ownership distribution. Cobweb is an enhanced fork of friend.tech, with added functionalities powered by Spiderchain.
Watch a detailed demonstration of Cobweb on YouTube: Watch Demo
To explore Cobweb, you can directly access the application or set it up locally on your system. Here are the ways to get started:
- Application URL: Visit Cobweb
- Smart Contract Address: 0xe3502f370a09876B41687f6a0E61a695d4b97123
Follow these steps to run Cobweb on your local machine:
- Clone the Repository:
git clone https://github.com/catalyst002/Cobweb.git
- Navigate to the Directory:
cd Cobweb
- Set Up Supabase Client Secret: Create a
.env
file in the root directory with your Supabase development credentials. Optionally, set up a Supabase project with asubjects
table that includes aroomId
column. VITE_SUPABASE_ANON_KEY= VITE_SUPABASE_PROJECT_URL= - Install Dependencies:
yarn install
- Start the Frontend Development Server:
yarn dev
- Open a New Terminal Session for the Chat Server:
cd server && yarn install
- Start the Chat Server:
yarn start
- Deploy the Smart Contract:
node deployer.mjs
- Access the Application: Open
http://localhost:5173/
in your browser.
Before you can test Cobweb, ensure the development network (testnet) is running. Follow these steps to set up the testnet:
- Start the local testnet: In a new terminal, run:
anvil --fork-url https://node.botanixlabs.dev
- Begin Testing: With the fork operational, you're ready to test using different Chrome user profiles to simulate various subjects and holders.