Skip to content

Instantly share code, notes, and snippets.

@davestaxcp
Last active December 14, 2023 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save davestaxcp/6a74ecfb159647ae59f2b47d786ba61e to your computer and use it in GitHub Desktop.
Save davestaxcp/6a74ecfb159647ae59f2b47d786ba61e to your computer and use it in GitHub Desktop.
Minting a Counterparty Asset to Emblem Vault Curated Collections

Minting a Counterparty Asset to Emblem Vault Curated Collections


This tutorial will teach you how to send a single whole unit of a Counterparty (XCP) asset to be minted on the official and specific Emblem Vault Curated Collection supported for your XCP token. This tutorial also includes how to list and sell these Bitcoin based assets on popular Ethereum NFT markets like Opensea.


First off, it is important to familiarize yourself with the correct sources and support channels for Coval and Emblem Vault:


Secondly, it is important to familiarize yourself with the Official Emblem Vault Team:

Shannon Code : https://www.linkedin.com/in/shannoncode/

Eric Porper : https://www.linkedin.com/public-profile/in/porper

Jake Gallen : https://www.jakegallen.com/

Adam McBride : https://twitter.com/adamamcbride


Third, it is VERY important to familiarize yourself with the official Coval Contract Addresses:

COVAL - ETH: 0x3d658390460295fb963f54dc0899cfb1c30776df

COVAL - Polygon: 0x4597c8A59Ab28B36840B82B3A674994A279593D0

Emblem Vault is also deployed on Gnosis, FTM, and BSC. Please check Coingecko for up-to-date contracts.

Always review the official documentation if confused about which Contract Address you will be dealing with during this process: https://docs.emblem.wiki/


Official Support for Coval and Emblem Vault functions:


This document is intended to be a written version of the tutorials already posted by the: Emblem Vault Youtube


The Counterparty Wallet we will be using for this tutorial is:

https://freewallet.io/

  • This is the most popular and up to date wallet for all Counterparty Functions. We will specifically be using the Desktop Version: https://github.com/jdogresorg/freewallet-desktop/releases

  • Freewallet is developed by the historically notable and active Counterparty Developer, Jdog: https://github.com/jdogresorg

  • Freewallet.io is the ONLY official site for this Counterparty Wallet

  • DO NOT USE 'Freewallet.org' - this is NOT the same Counterparty Wallet shown in this tutorial.


The Ethereum Wallet we will be using for this tutorial is:

https://metamask.io/


The Ethereum system used in this tutorial to 'Revoke Permissions' on Ethereum networks is:

https://revoke.cash/


Connecting MetaMask to Emblem Vault


First off, you will want to download a supported Ethereum Wallet. It is recommended to use: https://metamask.io/

  • Make sure you back up your seed-phrase and never share it with anyone, as this is the password to your Ethereum Wallet as well as all the assets you own on Emblem Vault. It cannot be noted enough to keep this seed-phrase information safe and written down.

Next, navigate to the Emblem Vault official minting interface: https://emblem.finance/

In the upper right hand side of this page there will be a button to "Connect to MetaMask".

walletconnect

MetaMask will then give you a popup notification to connect MetaMask to this site. In which it is required to see your address, account balance, activity and suggest transactions to approve.

walletconnect1

walletconnect2

Click "Connect" to connect your MetaMask wallet to the Emblem Vault interface.


Creating a Curated Vault


Once you have successfully connected your MetaMask wallet to Emblem, you can find the "Create Curated" button on the upper left of the website.

createcurated

The Emblem Vault interface will now have you choose which specific Curated Collection you are going to be minting to.

createcurated1

In this care we are going to be minting a "Rare Pepe".

createcurated2

The specific XCP asset we will be minting is named as "TUXPEPE".

createcurated3

Make sure to verify the information and artistic image is correct here before clicking "Create Rare Pepe Vault". It is required to send exactly 1.0 units of the card you pick and this minting process will not work if it is not the exact card you chose.

With this in mind, go ahead now and click "Create Rare Pepe Vault".

createcurated4

The Emblem Vault interface will now show you some simple information about this collection. It will also show you the the card's attributes like issuance, card series and other useful information.

Take note here, that it says "Nothing in here! Fill 'er up!", because we have yet to send this XCP asset to the vault.

image

Near the bottom there is a "Deposit Addresses" area with a button that says "BTC/XCP/OMNI". This is your public address that is owned by this Emblem Vault to store your XCP asset.

createcurated5 5

When you click "BTC/XCP/OMNI" it will pop up the "BTC Deposit Address". Copy this address to your clipboard, you will need it when using Freewallet to send this asset to the right address.

createcurated6

That's all the information we need for now from Emblem Vault. Let's now send our XCP asset to this Emblem Vault.


Sending Your XCP Asset From Freewallet


If you would like an overview of the process of sending an XCP asset from Freewallet, take a look at this tutorial.

For our purpose here it is important we send specifically the "TUXPEPE" asset to the correct Emblem Vault address. Simply right click the asset you wish to send and click "Send [YOUR ASSET NAME]". A "Send Funds" popup will appear.

As you can see below, the "Destination" field is the same address we recieved on the Emblem Vault we created when clicking the "BTC/XCP/OMNI" button earlier.

Use the address copied from your clipboard before and VERIFY it is EXACTLY the same address. This is of the highest importance because this transaction is immutable. If you send your asset to the wrong address, it is un-recoverable.

send1

Take note here that for our purpose, we would like this transaction to happen as fast as possible and get confirmed on the Bitcoin blockchain in a short amount of time. It is recommended to use a higher fee than the "High" setting in the "Priority" section of this send. In this example we doubled the recommended fee.

send2

Freewallet will now give you another popup, make sure you verify this information is EXACTLY correct before pressing "Yes".

send3

Once you have sent the transaction you can track it's progress on the Bitcoin blockchain by clicking "View Transaction".

send4

This will now take you to a public Counterparty block explorer named "xchain" (https://xchain.io/).

If the transaction has not showed up immediately, please have patience as the xchain servers will need a couple minutes to update with the data of your unconfirmed transaction. Take note the processes in Bitcoin will take a little longer than you might normally be accustomed to using the Ethereum network.

This Counterparty transaction is showing as "Unconfirmed", which at the moment is how it should be. This process of confirming the transaction can take anywhere from 10 minutes to an hour depending on Bitcoin network conditions.

send5

If you click the "Transaction Hash" link, which in this example starts with "cf472..." it will take you to a Bitcoin block explorer to review more information about this Bitcoin transaction (which is what the Counterparty Transaction is based in).

The main thing to take note here is that the "ETA" shows something within 1-3 blocks. If this is the case, at the moment you will just have to wait for this transaction to be confirmed.

send6

Now that we have verified all the details of our transaction, navigate back to the "xchain" transaction page.

send5

Here you can click the address link of the destination. Which is the same address link shown on the Emblem Vault "BTC/XCP/OMNI" address.

send7

From here you can also use the "More" tab on the right side of this xchain page to review that this asset is in the Unconfirmed section of xchain.

send8

As you can see here, this transaction was sent "2 minutes ago" and is still unconfirmed.

send9

When the transaction is confirmed, it will now show on this page under the "Balances" area of xchain.


Minting your Curated Vault


Navigate back the the Emblem Vault interface and the specific Curated Vault you created before.

Now that we have confirmation of the asset being sent to the correct Emblem Vault "BTC/XCP/OMNI" address, we will now have to click the [Refresh Balances] button.

Give this process a few minutes (or more) to have Emblem Vault internally verify the XCP asset you sent is confirmed as well as the correct card you specified when creating the Curated Vault.

send11

When Emblem Vault has verified that this asset is in fact the correct asset chosen, it will now show your card in the "Current Contents" area of this interface. You will also now see the "Mint Vault" option. Click the "Mint Vault" option.

mint1

Here you will be guided in your MetaMask wallet for a signature request to mint this vault.

mint2

After the signature request you will be given details about how much ETH this Curated Emblem Vault will cost to mint.

In this circumstance, the Ethereum fee for this transaction plus a flat $20 fee is applied. This totals to 0.015604 in ETH to mint this vault on the Ethereum network. If you have more than 50,000 coval token in this Ethereum address, the flat fee is reduced to $10. If you hold more than 15,000 Coval, the flat rate is $18.

Review the pricing below:

image

In this specific cirumstance, the fee applied was $20 in Ethereum, set in USD value and not a certain amount of ETH.

mint4

Once you have minted this vault. It is now locked and will not be able to access the private keys for this vault unless you click "Unlock Vault (Get Private Keys)". At this moment, since you intend to list this on NFT markets like Opensea, you must leave this asset locked.

From here, to see this vault on Opensea, simply click the "Opensea" button on the bottom of the vault.


Listing Your Vault for Sale on Opensea


When clicking the "Opensea" button on your minted vault, it will point you to the page on Opensea where your vault is located.

mint5

Take note here that the "List for Sale" button will not be visible until you connect your wallet address to Opensea.

mint6

Below is how that sign message function will look.

mint7

Once you have connected your wallet address to Opensea you will then be able to use the "List for Sale" button to properly denote the details of how you would like to sell the vault.


Verifying Any Curated Emblem Vault


You are able to verify all the components of this process on any vault in any Emblem Vault Curated Collection. To do so, navigate to the asset page shown on Opensea. For this exmaple we are looking at the "SUCKMYPEPE" Rare Pepe asset.

assetpage

On the left side of the Opensea page is a section shown as "Details", click the dropdown and navigate to the "Token ID" link denoted in the red box below.

assetpage1

This link will take you to the Emblem Token ID and within the first few lines of this code you can verify the "BTC/XCP/OMNI" addresses associated with this SUCKMYPEPE Emblem Vault.

assetpage2

You can copy this address and paste into the search bar on the Counterparty Block explorer: https://xchain.io/

Here you can verify this SUCKMYPEPE asset is within the Balances of the Emblem Vault Token ID's specific XCP address associated with this vault.

assetpage3

You can also find the exact link to the Emblem Vault as it is seen on Emblem.finance by clicking this link in the Description. It is recommended to verify all Curated Emblem Vault assets using both of these techniques to find the information behind the vault you are viewing.

assetpage4


Revoking Ethereum Permissions


This next step is recommended for the safety of you Ethereum wallet, especially if you have used Emblem Vault to mint assets on the previous "Legacy Vault" system in the past.

Below is the main page of the RevokeCash interface: https://revoke.cash/.

Go ahead and paste your public Ethereum address that holds your Emblem Vault assets to view the permissions that are active on your Ethereum address.

revoke1

Within this list, if you have previously used the "Emblem Vault Legacy" an entry for "Emblem Vault_v2: E..." will be shown on the RevokeCash interface. It is recommended, since you are now finished minting your vault, to "Revoke" this specific permission.

Also note here that OpenSea now has an open contract on your Ethereum address for the specific Emblem Vault Curated Collection you chose. If you have a card up for sale, do not revoke this permission yet as it will cancel your open price point on your Curated Vault.

In the circumstance you have none of your Emblem Curated Vaults up for sale, or have simply stopped using Opensea, it is recommended to Revoke this Opensea contract as well.

revoke2

You will have to sign in to RevokeCash with your Ethereum address to revoke this contract. When you click the "Revoke" button, RevokeCash will show you the details and price it will be to revoke these permissions.

revoke3

Once you have Revoked the permissions RevokeCash will show you a pop-up on the upper right side of the interface.

revoke4

The last step after you are all finished is to navigate to your MetaMask wallet and click "Lock Metamask" for safety.

revoke5

Congratulations! You just minted an XCP asset to a Curated Emblem Vault.

Don't forget to enjoy the artwork associated with your token!


This tutorial was written by davesta.xcp : https://twitter.com/davesta_xcp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment