Skip to content

AdMetaNetwork/admeta-webapp

Repository files navigation

Node.js CI

Introduce

AdMeta WebApp is built for users to better interact with AdMeta Blockchains. Now it supports AdMeta Testnet by default. Below are a few steps to introduce the basic functionalities.

Getting Started

Testnet

Go to https://app.admeta.network/ to launch the WebApp.

Local Deployment

  1. Generater Fleek a key and a secret (you can see the document Fleek Doc), and replace the corresponding key in the c.example.ts file, don’t have to change the file name, upload.ts is the upload img api file.

  2. AdMeta default node is Sepolia test net.

  3. Run start

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Publish Ad

Connect Wallet

Click the button "Connect wallet" on the top right to authorize this web app with your Metamask wallet extension and select the account you want to sign in to AdMeta.

Create Ad Proposals

  1. Switch to the tab "Ad Management" on the left sidebar, and you will see the ad proposals created by you if you have already done any. If not you can simply click "Publish new ad" to create one.

  2. Follow the steps of ad proposal creation. First, you need to upload an image of your ad design. This image will be uploaded to IPFS. Also, you need to specify the related parameters of your proposal. After this, you can preview this ad, and submit it if everything is correct.

  3. A sign request is prompted at this time to send an ad proposal transaction, and after signing and sending this transaction, you will see the ad proposal appear on your ad lists with the status "Pending". This means it is not approved yet. You have done it successfully now!

Ad Approval

Ad Approval can be only done by AdMeta council, with a manual review of ad contents.

License

GPLv3

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages