Skip to content
forked from brave/brave-core

Decentralized curation model for the Brave ads network

License

Notifications You must be signed in to change notification settings

ma9o/brave-core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brave core + curated ads

Decentralized curation model for the Brave ads network. Compilation requires libjson-rpc-cpp.

Major modifications:

  1. Extension
  • web3Wrapper.ts: interfaces with the Metamask provider to interact with the ranking contract.
  • content.ts: added event listeners to handle messaging between extension and scripts living in the main window's context.
  • solidity/: main contract and Docker configuration to deploy it on a development chain.
  1. Ads service
  • ads_impl.cc: added simple sorting algorithms and a hacky routine to enrich the bundle with price data.
  • rpc-ranker/: new component interfacing with Ethereum on localhost:8545.

alt text

About

Decentralized curation model for the Brave ads network

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 63.2%
  • TypeScript 16.8%
  • C 11.4%
  • Python 4.3%
  • CSS 1.1%
  • JavaScript 1.1%
  • Other 2.1%