By now we know that a DAO on Astro can do the same things just like a normal NEAR wallet. And NEAR wallets can buy NFTs.
How To Buy A Mintbase NFT Through The MarmaJ DAO
Especially, as the MarmaJ DAO will buy 3xr galleries with the theme of love and positivity with a value of 2.19N which have been minted through the MarmaJ DAO. You can find a guide for hot to mint a gallery through the DAO here.
To get started you will need 2 things:
- The DAO that will buy your NFT.
- The NFT and its token in the JSON code that you want the DAO to buy.
1. Open Astro DAO – make sure your pop-up blocker is deactivated for this website – and log in with your nearname by clicking on the N on the top right corner.
2. Connect to your wallet.
3. As you are logged in to Astro now, find the DAO that you would like the NFT to buy. In our case, we will use the MarmaJ DAO. You can find all the DAOs by entering their name in the search field. Click on the DAO that you would like to buy the NFT.
Time To Get Your NFT
1. Open Mintbase and choose the NFT you would want to buy. In our case, we will use a 3xr gallery that we minted. You will find it in your “owned” section on Mintbase. If you would like to know how to mint one first. Have a look here.
2. Click on “buy with NEAR”. (Note: You will not buy the NFT from your wallet; you will only extract the metadata from the NFT and then cancel. Even though you want the DAO to buy it, it is important to do this step, as you will now be able to see the token ID in the JSON so that you can create your custom function call for the DAO).
3. Click on “more information”.
4. Click on the “function”, in our case “make_offer”.
5. You can now see the data you will need:
The token ID (red)
The price (orange); N value changed into yocto NEAR
6. Copy both lines or leave this page open and return to Astro to create your function call. Make sure to pick the DAO you want to mint and click on the green “+” sign.
7. Click on the little arrow next to “Propose a Transfer” and pick “Custom Function Call”.
8. Click on the arrow next to “Custom” and choose “Buy NFT from Mintbase”.
9. Now create your custom function call by adding the following information:
- Description: short text which includes NFT link and price; for example “Buying a 3xr gallery; spreading the love. Price 2.19N;”
- External link: add the Mintbase link from the gallery so the council can have a look before voting
- Token key: The one that you have copied from the nearwallet page (Step X)
- Deposit: The price of the NFT (in our case 2.19N)
- Tgas: (next to “bond”) change it to 100.
Important for DAOs who vote: The last voter on this proposal needs to change the Tgas to 300 in order to cast the vote.
10. Click on propose on the bottom right corner.
11. You will be redirected to your wallet. “Approve” the transaction to send the custom function call to the DAO.
12. Here is the proposal to the DAO to buy this NFT. When the council votes, you can see the “approved” stamp and the number of votes.
13. Once the DAO council has approved, the NFT be automatically bought by the DAO and will be visible in the “NFT” section in the DAO.
If you have questions, feel free to join our The Marma J Foundation Telegram group and ask away. We’re looking forward to seeing your galleries there!