Understanding Crates and Token Contracts

Token Contracts

Cargo is a platform that enables you to easily tokenize assets on the Ethereum blockchain using the ERC-721 standard token contract. Cargo abstracts all the complexity related to these contracts and provides an easy to use interface to create, sell, and transfer these assets. When we say "tokenize an asset" we mean first to create a new contract on the Ethereum blockchain and then add a new entry (token) within that contract that represents and is potentially tied to an asset, either digital or tangible. Cargo provides a means of storing and securing a digital file tied to this token. Remember, a token is an entry noted in our contract represented by an identifier.

Here's an example. Say I am a digital artist. I have created five digital drawings. With Cargo I can tokenize these drawings and sell them to digital art collectors. I create a new contract using the Cargo Dashboard and then I "mint" five tokens - each one representing one of my 5 digital drawings. I upload the high resolution drawing when I create my token, so the owner of the token can download it. Now that I have minted my tokens I can use Cargo to create a public facing page where potential buyers can view a low quality preview image of the drawing and they can also purchase one of the five drawings. I set each one for sale and specify my asking price in Ether, a currency denomination on the Ethereum blockchain. A collector can then purchase one of the tokens. By using the Ethereum blockchain one can truly own a digital asset. After purchasing a token you can easily verify that you are the true owner. Cargo takes this a step further. If you can prove that you are the owner of the token, then you will be able to access the digital files tied to that token - in this case it will be the high resolution digital art. There are many different use cases for tokenizing digital and tangible assets. In the future I predict it will become a new normal.

Crates

Cargo provides a means of organizing of the contracts and tokens you create by using what we call crates. The dictionary defines a crate as "a slatted wooden case used for transporting or storing goods". Cargo provides digital crates for your token contracts. You can create as many crates as you'd like and each crate can contain many token contracts. You can use crates to group groups of token contracts together so you can display the tokens within those contracts to your users easily. What do I mean by this? Well, you can create crate pages which is a public page that you can use to easily display and sell your tokens to your users. People who have purchased tokens from you can view the tokens they own on your crate page and they have access to sell and transfer their owned tokens from that page.

For advanced users you can also use Cargo JS to query information about your crates and create your own custom experience for your users. You also have the ability to query the Cargo smart contracts directly.

You can add additional vendors to your crates, so you can create marketplaces where vendors can upload their content and sell through your marketplace. We'll talk more about vendors and beneficiaries in the next section.