pocketnetteam / pocketnet.core

Decentralized social network based on the blockchain
https://pocketnet.app
Apache License 2.0
115 stars 28 forks source link

Advertiser Marketplace Implementation #206

Open tawmaz opened 2 years ago

tawmaz commented 2 years ago

This is the tracking issue for development of the Bastyon advertiser marketplace. The initial proposal is to create a multisig transaction between an advertiser and blogger, which when fully signed will create a post share under the bloggers account of the post created by the advertiser. The transaction specifies a PKOIN amount which will be transfered from advertiser to blogger.

Here is a very preliminary design proposal: https://github.com/tawmaz/PocketnetDocs/blob/main/BastyonAdvertiserMarketplace.adoc

tawmaz commented 2 years ago

Pull request for block chain implementation is still in progress here: https://github.com/pocketnetteam/pocketnet.core/pull/261

Remaining tasks:

tawmaz commented 2 years ago

Pull request for block chain implementation is still in progress here: #261

Remaining tasks:

  • Update design doc with implementation instructions for front-end
  • Set chainparams "fRequireStandard" back to true and add checks to verify AdPost script as standard
  • Queries to for advertisers to find users with high follow counts and reps (probably should be a new task)
  • Add check to prevent AdPost form being deleted after it is accepted
  • Additional edge case unit tests to check against double spends and prevent redeeming coins without posting add

These above tasks have been completed as part of this pull request: https://github.com/pocketnetteam/pocketnet.core/pull/261

tawmaz commented 2 years ago

Remaining tasks for support of front end: