Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.23 KB

README.md

File metadata and controls

23 lines (17 loc) · 1.23 KB

Wavelet Reveal - Decentralized Blog

enter image description here

This simple distributed blog with a one-click paywall. It runs on Wavelet network and is build using Gatsby.

Anyone can publish a Post which involves paying a fee to the Blog owner (account responsible for deploying the Smart Contract). To recover and get a profit, Publishers can add a fee for anyone to be able to see their content.

Folders

  • contract - contains rust smart contract
  • client - it's a Gatsby default starter project

Development

Rust Smart Contract

From the contract folder:

  • run cargo build --release --target wasm32-unknown-unknown to compile the smart contract
  • you can upload your smart-contract on the Wavelet testnet via https://lens.perlin.net/#/contracts

Gatsby Client

From the client folder:

  • run gatsby develop or npm run develop to run Gatsby development server
  • run gatsby build or npm run build to build the project for production
  • run gatsby serve or npm run serve to start static server view the built app