Brave core + curated ads
Decentralized curation model for the Brave ads network.
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.
- 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