--- title: 'CloutCoin' disqus: hackmd --- # CloutCoin ## Table of Contents [TOC] ## What is CloutCoin The idea behind CloutCoin is essentially a marketplace for social influencers. It provides a platform for businesses/projects to invite and interact with social influencers / content creators to futher engage their audiences in a way that benefits both parties.   ## Purpose > The clout project has several goals > 1. The creation of a marketplace where businesses/projects and people can leverage one another to earn income > 2. To provide a blockchain based payment mechanism that enables to users to earn CloutCoin   ## Benefits to Influencers >1. Guaranteed influencer payment >> a) A business/project must maintain a balance of CloutCoin sufficient to support its initiatives. When funds are allocated to an initiative they are time locked for the period of the campaign. If a business/project terminates a initative prior to maturity all influencers are paid out prior to refunding the balance to the business/project. b) Influencers are paid out weekly independent of the campaign end date c) When/if the allocated funds are deemed insufficient the business/project account is suspended and no influencers can participate until funds are topped up   ## Benefits to the Businesses / Projects > Clout provides a collaborative platform where businesses/projects can employ influencers, providing opportunities for influencers to participate in marketing initiatives and awareness campaigns to drive interaction with a business/project.   ## Main Components ### Clout Admin Dashboard > Provides centralized administration/provisioning of campaigns, influencers and content approval ### Clout User Dashboard > Provides an interface for influencers to post conent and promote content ### Processes > Basic workflow ```sequence Influencer -> Project: Request to represent a project Project -> Influencer: Approve/Deny Project->Campaign: Project creates a campaign Influencer -> Campaign: Submit Content Project -> Campaign: Approve/Deny Content All Influencers -> Campaign: Influencers can promote the content ```   ## Tokenomics >- Create a token that has a max supply of 100,000,000 >- The token will be available for swap on uniswap (Ropsten) >>- Create a LP for eth -> Clout   ## Tech Stack ### NextJS > Used for creating the UI and may leverage SSR if deemed to be required ### Firebase > Used to maintian all relevent data collections and documents that do not represrnt state objects on the blockchain. ### Web3Modal > Web3Modal is an easy-to-use library to help developers add support for multiple providers in their apps with a simple customizable configuration ### Hardhat > Development environment to compile, deploy, test, and debug your Ethereum software ### Solidity > Solidity is an object-oriented, high-level language for implementing smart contracts. ### Uniswap > The Uniswap protocol will be used to provide liquidity for the coin ### Metamask > The application will use the metamask wallet   ## Defining the Project - [ ] Smart Contract Structure ([Diagram](https://app.diagrams.net/#G1U7VZFOpQGd1YixD9YqCFIf05VKmWY5-U)) ### CN Tower Design #1 The first of 5 in the CN Tower NFT collection. {*Lets include some info about the peice here*} This piece features local artist @Arudz Purchaser will be shipped a real life version of the NFT in a digital animated frame # DEMO WALK THRU intro - I created a partial demo for a social media influencer application, it involves the creation of a token contract and a escrow contract. In which the escrow contract accepts and pays out to the influencers via my native token. I intergrated my native token with uniswap however for the purpose of the demo im running it localy so i created a temp faucet to get things running show the clout diagram and explain this is the workflow, i acheived creating the erc20 aspects of the project but didnt have time to finish the front end so the demo reflects the core contracted related items 1 - deploy contracts to local BC > show everone the output from the deployed contract > 2 - start the app 3 - explain the signup process 4 - explain that the create company and the funding process works > explain that the calls will be chained but for the demo its important to see the process broken down > finaly show the companys bal in the timelock contrack 5 - The influencer frintend wasnt completed however the smart contract functions have been written and tested summary i created a token i integrated it with a trading pair on uniswap i created an escrow contract that accepts and pays my token i created a basic front end to demo my contracts