Giter Club home page Giter Club logo

adspaces's Introduction

Contributors Forks Stargazers Issues MIT License


Logo

AdSpaces

A p2p crypto-native advertising platform | ETHOnline 2022 entry
· Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Content
  3. Contributing
  4. License
  5. Contact

About The Project

Product Name Screen Shot

Our goal is to create a crypto-native web traffic monetization platform, honoring the principles of web3: decentralization, self-custody & composability. Thus we develop a web3 dapp with as many components completely decentralized as possible, keeping rewards functionality on-chain to enable interoperability.

(back to top)

Built With

We are using the following tools:

(back to top)

Content

This project consists in general of two components: The smart contracts and the frontend.

Contracts

All the contracts used for this project can be found in the /contracts folder. We have made two contracts: The AdSpaceFactory and the AdSpace contract itself. The AdSpaces will be deployed only by the Factory on user request. An example of a deployed AdSpaceFactory can be found on Optimism Goerli at 0x2e9...8B4DB, the ABI for contract interaction at /front/src/variables/AdSpaceFactory.json.

AdSpaceFactory

When the factory gets deployed it creates three tables in Tableland: AdSpaces, Campaigns and Deals. This contract handles all requests for writing into the database. Nearly every write contract function on the factory results in a INSERT or UPDATE statement on the database. There are three main functions:

  1. createAdSpace

    Deploys an AdSpace contract and writes a new entry into the AdSpace Tableland table. The constructor args for the AdSpace need to be passed.

  2. createCampaign

    Writes a new entry into the Campaigns Tableland table.

  3. createDeal

    Writes a new entry into the Deals Tableland table and updates the corresponding AdSpace Tableland entry.

AdSpace

tba

Frontend

To set up a local version of the frontend follow this steps.

  1. Clone the repo
git clone https://github.com/gfkacid/AdSpaces.git
  1. Change directory to frontend folder
cd AdSpaces/front
  1. Install NPM packages with NPM or Yarn
npm install
yarn
  1. Start the frontend
yarn start

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. But for the duration of the ETHOnline Hackathon '22 contributions outside of the team can not be accepted.

The members of the team for the Hackathon are:

Any contributions you make after 28/09/2022 are greatly appreciated. If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Project Link: https://github.com/gfkacid/AdSpaces

acid:

  • [@twitter?]

mme:

  • twitter: @mme022
  • discord: mme#9065

(back to top)

adspaces's People

Contributors

0xmme avatar gfkacid avatar riki0923 avatar dysntr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.