Skip to content

Collab contract Guide

merchantcoppola edited this page Nov 2, 2022 · 19 revisions

Collab contract Guide

This article covers how two or more wallets can collaborate to put up a work jointly on teia.art It is based on this video by @ktorn:

collabhowto

Note that one artist will need to be the lead collaborator, or manager, in the sense that they will manage the collab contract and do all minting and swapping. There is a higher initial fee for collab contracts (currently around 1.5 tez) because a new smart contract is being created. The lead collaborator will pay all fees. Once an OBJKT is minted, all collaborators will need to sign the work, to verify that they are in fact part of the collab. The OBJKT will appear under โ€˜collabsโ€™ on each wallet that is a collaborator. It will show as 'unverified' until all collaborators have verified it. Some wallet operations will take a little more time โ€“ up to a minute or two usually.

For Creating a contract for fundraiser events we highly reccomend using the process as described below, with only one core contributor (the artists address) and the donation address(es) as BENEFICIARY, not contributors. This way, the donation addresses which are oft Contract addresses dont need to sign the piece in order for it to be verified and appearing on the artists profile.

You can set up multiple Core Collaborators (which would usually be the artists involved with the project) and multiple Beneficiaries (who are usually not creators, but who will get some share when the OBJKT is collected). These might be charities or other organisations who will receive a donation etc. Referring to ktorns video, we call the manager or lead collaborator Alice, and the 2nd collaborator Bob. Each has a separate wallet.

Setting up the collab contract

  1. To begin the setup as contract manager, sync wallet with teia.art then click on Collaborate on the menu.
  2. There are two tabs โ€“ Manage, for dealing with existing collabs, and Create, for creating new. Go to the Create tab.
  3. Add the Core Collaborators by adding their addresses in. Use the โ€˜add another collaboratorโ€™ link to add each
  4. Set up the Shares, eg 2 collaborators who share equally, you can add equal numbers in the Shares field. Ytorn recommends treating shares as percentages. NOTE that shares cannot be changed after they have been committed.
  5. Click Next and you will see Beneficiaries. This is where you can add charity donations to the contract. (You can skip this with the Skip button)
  6. Add beneficiaries by adding their wallet address or choose from a project on the list of known projects. You can add multiple.
  7. Add the share amount for the beneficiary.
  8. Click the Next button allows you to review the Collaborators, Beneficiaries and their respective shares.
  9. Double, triple check this setup before clicking Create Collaborative Contract. Your wallet should open in order to confirm and pay for the creation of the contract (which is more expensive in storage fees than minting and swapping). As usual, this will take some moments to finalise.
  10. The collab contract is now set up, and the manager (Alice) is the only one who can mint and swap OBJKTs and manage other aspects.

Notes โ€“ the manager of the collab sets it up and as a consequence, they pay the fees (storage fee and gas). Secondary collaborators will now see the collab contract under their Collabs but will not be able to manage it. The manager of the collab cannot change collaborators or beneficiaries or the shares in the contract, once it is finalised.

Managing the finalised contract

The manager of a contract can change the name and profile associated with the collab, by signing in to the collab contract. On your own account (in this example, Aliceโ€™s) make sure it is synced

  1. Go to Collaborate on the menu, then click Sign In on the collab you wish to manage.
  2. The displayed wallet will now include both your own and the collab addresses. Now, menu items will relate to the collab contract rather than you personally (eg Edit Profile refers to the profile of the collab contract)
  3. Edit the collab name and profile pic by clicking Edit Profile. This will cost you a small fee.
  4. To finish managing, click the menu and you should see Exit Collab, as well as Unsync.

In order to add (mint) OBJKTs, the collab manager must be signed in to the collab. (Or, on the Minting page, they can change who they are minting as). Note that only the manager can mint. Other collaborators will not be able to mint on this contract (and may see a message โ€˜you are not part of any collaborations..โ€™ which is not quite accurate, because they are just not manager of any contracts)

Minting an OBJKT

  1. The collab manager (Alice, in our example) will sign in to the collab. Then click on OBJKT(mint), on the menu.
  2. The Mint page is much the same as minting as an individual, but it will note that you are minting as the collab
  3. Fill out the Mint form as usual, including royalties. When you are happy, Preview, then mint OBJKT. Again, the manager will pay the small minting fee.

Verifying the OBJKT for all collaborators

  1. Once the OBJKT is minted, all collaborators (eg Bob in this case) will need to click on Collabs, when synced (synced with their own wallet) . You should see all the OBJKTs associated with the collab.
  2. click on the OBJKT. You will see initially a message that you are a participant but havenโ€™t signed and also see UNVERIFIED beside the OBJKT. Click the โ€˜sign work nowโ€™ button After artists have verified, the OBJKT will appear when they Manage Assets and look in Collabs.

Swapping a minted collab OBJKT

The collab manager (Alice, in our example) has to swap the OBJKT

  1. The manager should sync their wallet then sign in to the collab. Click โ€˜manage assetsโ€™ to see the collab OBJKTs
  2. The option to Swap should appear. Click on โ€˜swapโ€™ and fill out the form as normal.

The OBJKT is now swapped and ready to be collected.

Setting up a contract for fundraisers

First, sync your wallet (1), go to the menue and select "collaborate" (2)

Re01

Then go to the "create" tab (3), add your wallet address to "Addresses (4) and give your address shares for the split (this will determine how much shares of the sales revenue will be distributed to your wallet, more on this later. Then, hit "next" (6)

re02

Under "Beneficiaries" select a suggested address/cause. (7)

In this example its the "Pakistan Relief" address, but you can add other addresses manually or from that list if you want to, depending on which fudnraiser address you want to donate to. of course you can also donate to multiple addresses. Note: For most fundraisers there are dedicated feeds on Teias frontpage. For your Fundraiser Pieces to be included in these Feeds, at least 50% of the split needs to go to the events address.

re03

You have to give the Beneficiary address shares too (8): The ratio between the shares will be used to calculate the percentage split of revenues between the addresses you listed. This applies to both primary and secondary sales and can't be changed after the contract has been created. Note that in order to appear on Teias dedicated feed for the initiative, you need to at least donate 50% of the splits towards the donation address.

Tip: If you want to donate 100%, put in 1 share for your wallet and 100000 shares for the beneficiary address.

Next, hit ... well ... "next" (9)

re04

Click on "create collaborative contract" - confirm the transaction with your wallet and wait a few moments. Congratulations, you got your collab contract!

re05

To mint you need to "log in" to your new contract, you can do that in the "manage" tab of the "collaborate" menue point (11+12)

re06

re07

Now you should see the collab contract address in the top right corner and can now mint like you would do normally. Pro tip: As long as you are logged into your collab contract, you can also give it a profile name on teia in the "settings" option of the menue.

re08

To make the collab piece appear in your "collab" tab on your teia profile, you have to sign the collab. you can do that on the objkt page of your piece minted with the contract directly under the image: "sign your contract now"

Congratulations, you are done!

Further info

more detailed write ups about the contract: Here is the hicathon write up https://docs.hicathon.xyz/wg-32-sales-improvement-split-sales-and-royalties This is a link to all the WG docs https://docs.hicathon.xyz/

Clone this wiki locally