Skip to content

ShuntaroOkuma/space-data-bank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Data Bank

A repository for buying and selling satellite data on Web3.

Users can encrypt and upload satellite data using Lighthouse. After uploading, mint the hash value received from Lighthouse and the metadata of satellite data. Minted NFTs can be bought and sold on the marketplace. NFT buyers can use Lighthouse's Share feature to download and unzip the uploaded data.

Deploy contracts on local network

  • Change working directory

    cd blockchain/
  • Start node

    yarn hardhat node
  • Compile contracts

    yarn hardhat compile
  • Run unit tests

    yarn hardhat test --network hardhat

    Should be all green

      9 passing (881ms)
    ✨  Done in 1.53s.
    
  • Deploy

    yarn hardhat run deploy/deploy.js --network localhost

Deploy on hyperspace testnet

yarn hardhat deploy
  • Write address info to app/src/utils/constants.ts as env vars

Run apps

cd app/
yarn dev

Upload file

You can access "http://localhost:3000/upload" after run apps.

List up on Marketplace

TBD...

Buy NFT and Download file

TBD...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published