Giter Site home page Giter Site logo

aorta's Introduction

MemeFrames

MemeFrames are permaweb pages with a DAO inside. Once you launch a MemeFrame, anyone can deposit testnet $CRED to mint the DAOs native token until the cap is reached (1,000 $CRED by default). After minting, token holders can vote to change the contents of their permaweb page. Add an ARNS name to it and you have a community controlled site/app.

The MemeFrame's DAO also retains the treasury of $CRED tokens used in minting. Token holders can vote to use (and grow) these however they like.

Requirements

  • Node version 20.
  • aos - npm i -g https://get_ao.g8way.io
  • A sense of humor.
  • $CRED to burn. They will probably all go to zero.

Deploying

To deploy your MemeFrame clone this repo and run the following:

aos --data src/index.html \
--tag-name MemeFrame-Name --tag-value aoWifHat \
--tag-name MemeFrame --tag-value MemeFrame \
--tag-name FrameID --tag-value {default html tx id}  \
--tag-name Content-Type --tag-value text/html

Then in aos:

.load-blueprint token
.load-blueprint staking
.load process/memeframes.lua

Change 'MEMEFRAME_NAME' to your preferred name unless you want your community to rally under a particularly stupid name.

User Staking and voting

Set MemeFrame Address

MEMEFRAME = "{Your MemeFrame Address}"

First the users need CRED and should transfer the CRED to your MemeFrams

Send({Target = CRED, Action = "Transfer", Quantity = "1000", Recipient = MEMEFRAME})

Stake

Send({Target = MEMEFRAME, Action = "Stake", Quantity = "1000", UnstakeDelay = "1000" })

Vote to change the FRAME

Send({ Target = MEMEFRAME, Action = "Vote", Side = "yay", TXID="..." })

Need Help

Support channel in AO Discord Cookbook

aorta's People

Contributors

i-tozer avatar

Watchers

 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.