🧪 Brain Crypto Interfaces suggests the use of incentives for uploading brain data to improve open source classification models. Commmunication privacy and security between users can be leveraged with Waku communication protocols.
In the images above, on the right column, Ground Truth (GT) represents the images that had been seen by participants while wearing a non-invasive EEG BCI. Samples 1 through 3 were outputted by the model without "seeing" the GT - showing that visual stimuli can be decoded from EEG data. Image source.
This smart contract system provides a decentralized platform for BCI (Brain-Computer Interface) data transactions, designed to benefit both data buyers and BCI owners. It allows data buyers to request and gather diverse datasets to improve their existing models, while providing a mechanism for BCI owners to get paid for their data contributions.
Data buyers can create bounties on the platform to request specific types of data, including photos, videos, text, and audio. These bounties are designed to collect BCI data from participants who engage with the requested media content. The collected BCI data can then be used to enhance the buyer's models, improving classification capabilities or other aspects of their data-driven projects.
BCI owners can visit the platform and browse available bounties. They can participate by watching the provided media content and uploading their BCI data. If the uploaded data is deemed valuable and improves the buyer's model, the bounty creator can decide to pay the BCI owner. This decision is based on the buyer's assessment of the data's utility, thus requiring some level of trust from the seller.
The platform supports the creation and management of bounties with detailed attributes:
-
Creating Bounties:
- Data buyers create bounties by specifying all required details, including the type of data needed and the reward amount.
- These bounties are stored on-chain, with descriptions possibly linked to external resources for detailed information.
-
Participating in Bounties:
- BCI owners select bounties of interest, engage with the specified media content, and collect their BCI data.
- They then submit/upload this data through the platform, associating it with the relevant bounty.
-
Evaluating Submissions:
- The bounty creator reviews the submissions within the specified judge time.
- If a submission is found to improve the classification capability of the model, the bounty creator can approve and pay the participant. Trust required in the Bounty Creator.
- Payment is made in Ether, directly transferred to the participant's address.
This platform is a crypto marketplace for buying and selling BCI data, benefiting both data buyers looking to enhance their models and BCI owners seeking to monetize their data. Inspired by Vitalik's blogpost on techno-optimism, it leverages incentives to create datasets that can be used for decoding brain inputs and controlling hardware, eventually minimizing the feedback loop between humans and machines.
Before you begin, you need to install the following tools:
- Node (>= v18.17)
- Yarn (v1 or v2+)
- Git
To get started with Scaffold-ETH 2, follow the steps below:
- Clone this repo & install dependencies
git clone [email protected]:ETHPrague-BRX/think2earn.git
cd think2earn
yarn install
- Run a local network in the first terminal:
yarn chain
This command starts a local Ethereum network using Hardhat. The network runs on your local machine and can be used for testing and development. You can customize the network configuration in hardhat.config.ts
.
- On a second terminal, deploy the test contract:
yarn deploy
This command deploys a test smart contract to the local network. The contract is located in packages/hardhat/contracts
and can be modified to suit your needs. The yarn deploy
command uses the deploy script located in packages/hardhat/deploy
to deploy the contract to the network. You can also customize the deploy script.
- On a third terminal, start your NextJS app:
yarn start
Visit your app on: http://localhost:3000
. You can interact with your smart contract using the Debug Contracts
page. You can tweak the app config in packages/nextjs/scaffold.config.ts
.
- Subraph commands:
yarn deploy --reset
yarn clean-node
yarn run-node
yarn local-create
yarn abi-copy && yarn codegen
yarn local-ship
And then check in subgraph page
Optimism Sepolia deployment address: https://sepolia-optimism.etherscan.io/address/0x5B6260d9dB1e105c829704FcDC2b65E1399807Ee
Mantle mainnet deployment address: https://mantlescan.xyz/address/0x5B6260d9dB1e105c829704FcDC2b65E1399807Ee#code