Weird Actions

An attempt to build a set of action contracts for NFTs. Each action is composed of contracts that are deployed by artists and creators activating self-sovereignty. The ultimate goal is to have more tools for creators to experiment beyond the current default mint().

This whole repository was inspired by: Zora drops

Warning1: Some of these ideas may be the same (I'll clean them up later)

Warning2: This README is a collection of ideas first, some of the actions may be rethought or even never see the light of day.

Actions

MergeNFT

It allows artists and creators to implement a mint new NFT contract based on the merger of another NFTs.

The creator must set how many NFTs need to be merged by the user in order to receive a new NFT, which collection the NFTs that must be merged come from and what happens to the NFTs after they are merged.

Among the possibilities of what happens to NFTs that have been merged are:

  • The NFTs are burned
  • NFTs are locked into the merger contract (can the developer add a date for when these NFTs are unlocked or if they will be forever locked)

MergeNFT (same collection)

Same as MergeNFT above, but using the same collection.

The creator can split the process into two steps, allowing users to mint NFTs first and then at another time they merge X tokens in order to mint a new one.

Friend-invite mint

It allows artists and creators to implement a mint-invite based minting process.

The process works this way:

  • The token #1 of the collection is minted by the artist/creator.
  • When minting token #1 the artist/creator indicates the address of the next user who can mint token #2
  • When the user mints token #2 it indicates the address of the user who can mint token #3
  • The process continues until the maximum supply of the collection is reached.

Friend-payed-invite mint

Same process as the mint-invite action above, but with the possibility for the user who is minting the current token to pay the mint value of the token of the user he is inviting to mint.

Recycle to mint

It allows a creator to make a mint process based on recycling other NFTs in order to mint a new one from the new collection.

The creator must set the addresses of the collections accepted for recycling and the number of tokens needed from each.

Magic box

Use the ERC-998 standard to allow developers to create "boxes" of items. Putting several NFTs from different collections together in a single mint

Maybe allow collectors/creators to put together several different NFTs and sell them as "packs" (onlyfans inspired lol)

Note1: Need to examine the pattern and understand why it is so under-explored

Note2: Maybe use ERC6551

Rethink this a little bit

Giveaway to mint new one

It allows artists/creators to create a minting process where collectors need to send an NFT from those accepted by the bazaar in order to mint a new NFT in the current collection.

Something like:

  • Creators set which collections they accept NFTs from for the bazaar
  • When minting a new NFT in the current collection, users must send an NFT from one of the collections accepted by the bazaar
  • After all tokens in the current collection are minted, the NFTs in the bazaar are put up for "direct" sale.
  • The NFTs sent to the bazaar remain the property of the current collection contract until the "direct" sale stage.

Note: This is more of a proof of concept. This action would be very interesting, if we already had proof of humanity used in mass, so that the people who buy the NFTs from the bazaar are different from the previous owners, thus increasing the rotativity of the pieces

Dynamic supply

Community-managed-supply

It allows the community of NFT owners in a collection to propose and vote on whether they want to increase the collection's supply.

Something like:

  • The collection's creator or some holder proposes to increase the collection's supply by X
  • All the other holders vote for or against the proposal. 1 NFT = 1 Vote
  • If the proposal passes the total supply is increased by X
  • For a proposal to pass it must have 51% + 1 vote? (maybe)

Note 1: Looks cool for generative projects

Supply increase over time

It allows artists/creators to create collections that start with a certain supply, and this supply increases at a certain rate over a certain period of time until it reaches a target ceiling.

E.g.: Collection starts with 1000 tokens available and every 9 months 500 new tokens will be available until the maximum supply of 5000 tokens is reached.

Note: Maybe this is better as a module or extension that is pluggable into other weird actions

Mint token and increase supply

When you mint a token that token increases the total available supply by a new slot of X tokens. This new supply is of tokens that are children of the "originals".

The contract creator defines:

  • How many new supply slots will be added whenever a new token is minted
  • The depth of the increase (if child tokens also add new slots)

Send the tokenId and its "depth" to the rendering function.

Note: Can be interesting for collections that want to add some kind of "hierarchy".

Note2: Maybe the increase in supply can be based on demand (how to calculate the demand onchain? does it need to be onchain?)

Rule-based mint

Allows the creation of rule-based mint flows that use the data from the: Weird actions stuff storage

Rules examples:

  • Mint only for those who have spent X ETH on mints in the Y collection
  • Mint only for those who have spent X ETH on mints in total in all collections
  • Mint only for those who have more than 10 invitations in a given collection that uses the "friend-invite mint" contract
  • Many more...

Note: The collections are the ones that use any of the weird-actions contracts

Playful little "commands"

Shuffle all tokens

Allows after the mint period is over the contract creator to call a function that will randomly shuffle the list of tokens and their owners.

Burn a few and let re-mint (maybe?)

It allows the contract creator to call a function shortly after the mint period is over, which will randomly burn some tokens and let the owners of those tokens re-mint new different ones.

Unlock at some point

Allows the creator to define a collection and a certain date when the mint will be available for all those who have minted the current collection (to which he "plugged" this extension)

Unlock at some quantity

Same mechanism as above plus using the amount minted in the current collection as the unlocker. Only those who minted X in the first collection will get a token in the plugged collection on the set date

Burn, and the amount burned decides the artwork

It allows the creator to make groups of artworks and decide how many tokens need to be burned to receive from each group.

E.g.

* 10 tokens burned to mint from group 1
* 30 tokens burned to mint from group 2
* 60 tokens burned to mint from group 3

Allow the tokenURI function to receive the burnt amount to be used in generative art cases

Reward that keeps tokens

Using the number of transfers of a token as a mechanism.

"Share" a token

Allows the owner of a media to share it with someone else, as a way of spread!

Sharing media means creating a copy of NFT and sending it to other users' wallets. When an NFT is shared in the metadata it is indicated that it has been shared.

{
 "title": "...",
 "image": "...",
 "description": "...",
 "shared": true,
}

Send a token

Mint a token to someone else. A gift for a friend

Pay what you want

It allows the creator to set a payment method that allows the collector to pay whatever amount they want for the tokens.

Creators will have the option to set a minimum and maximum as well.