Skip to content

SpatialDAO is a DataDAO that allows organizations to create deal bounties for specific pieces of data. Deal clients, on the other hand, are hunting bounties and making storage deals for DAO-proposed data and getting rewarded for that!

Notifications You must be signed in to change notification settings

nijoe1/spatialDAO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to spatialDAO

alt text

Our application is hosted on IPFS using Spheron.

Authors

Short Description

SpatialDAO is a dataDAO Factory that allows created dataDAOs in the platform to make file proposals and bounties for specific commitment pieces to manage them and permanently store them on the filecoin network. Deal clients, on the other hand, are hunting bounties and making storage deals for DAO-proposed data and getting rewarded for that!

Long Description

SpatialDAO is a platform that enables organizations to create and monetize their own dataDAOs (Decentralized Autonomous Organizations) using the Filecoin Ethereum Virtual Machine (FEVM). The platform operates on a bounty philosophy, where each organization has a set of proposers, voters, and administrators. Administrators can add or remove proposers, proposers can create proposals for data storage, and voters can vote on the importance of the data. If a proposal is accepted, proposers can create bounties to fund the storage of that data. Bounties can only be created for successfully voted files, and they keep information about the bounty reward and the number of bounties the organization will offer for that file. Deal clients in the Filecoin ecosystem can search for bounties, create storage deals for the files that have bounties, and claim bounties once the dataDAO contract verifies that the storage deal has been made on the network. The SpatialDAO offers a social layer that utilizes Orbis.club that is operating on the Ceramic network to allow organizations to explore proposals and bounties, as well as providing a communication layer for its members.

ARCHITECTURE


The Future of spatialDAO


We are going to create a server that will generate for the users the commitment piece CID of the file that they need to propose and also store it on IPFS using NFT.STORAGE for Clients in the filecoin ecosystem to find them and make storage deals for those files.

We have plans to create a proxy pattern dataDAO factory with openZeppelins standards for saving gas for new created DAOs.

We have plans for introducing a contract that will handle storing files but for each user separately. And let them choose for encrypted or non encrypted files. To permanently store them using our smart contracts that we are going to create only for user services.

We have plans to create a fair payment model for DAO creations and user file uploads to keep growing the platform.

Technologies Used


This is how we used the FEVM hyperspace testnet - Spheron || NFT.Storage - Orbis SDK

Our FEVM dataDAOFactory and dataDAO Contracts
We created fully complied contracts using the Zondax and OpenZeppelin standards. The contracts are extended version of the dealRewarded contract You can find the contracts in those links:
Here is the contract folder
https://github.com/nijoe1/spatialDAO/tree/main/spaceWarpContracts/contracts

Orbis SDK
The spatialDAO uses the orbis SDK, built on the Ceramic network, to power its decentralized social platform. Orbis provides us user profiles, posts, and one social space for each dataDAO for communication and collaboration between the DAO members. All of this information is stored on the Ceramic network to ensure a decentralized and secure environment. Orbis plays a key role in enabling The spatialDAO to function as a decentralized social platform and provide a range of features for users to connect and engage with dataDAO communities in a scalable and decentralized way.

Spheron & NFT.STORAGE
Our application interface is hosted using Spheron to the IPFS network.
All the metadata files for each user and each dataDAO are stored on the IPFS network using NFT.STORAGE The code snippets that are using NFT.STORAGE modules are located here:
https://github.com/nijoe1/spatialDAO/blob/main/web-interface/hooks/useNftStorage.ts

SmartContracts

Our contract is deployed on FEVM HyperSpace Testnet here is the contract glif explorer Link.
You can use the spacialDAO.abi.json and contractFactory.abi.json that are on the below links to check in the explorer the interactions and the method names
https://github.com/nijoe1/spatialDAO/blob/main/web-interface/constants/factory.abi.json
https://github.com/nijoe1/spatialDAO/blob/main/web-interface/constants/spatialdao.abi.json
One of many dataDAO contract :
https://explorer.glif.io/address/0xD5eD553EAFf3decDCc25D237e3F31F74b379F0ED/?network=hyperspacenet
Here is a succesfull client bounty claim recorded on the glif explorer : https://explorer.glif.io/tx/bafy2bzaceagcsrthxvkh2lhygf5hrioa4wdplzmkibxv34ajhqiwu5ms2yp54/?network=hyperspacenet

That transaction shows the last step of undertanding that everything works!
daoFactoryContract :
https://explorer.glif.io/address/0xAF454A764dC42c6D1e835c04D318671203aD9b78/?network=hyperspacenet
The useContract is located here :
https://github.com/nijoe1/spatialDAO/blob/main/web-interface/hooks/useContract.ts

to run on localhost just run

yarn install yarn dev

About

SpatialDAO is a DataDAO that allows organizations to create deal bounties for specific pieces of data. Deal clients, on the other hand, are hunting bounties and making storage deals for DAO-proposed data and getting rewarded for that!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published