CIP: <unassigned>
Title: Blockchain Validated Asset Metadata (BVAM)
Author: Devon Weller <devon@tokenly.com>
Discussions-To: https://counterpartytalk.org/t/cip-proposal-blockchain-validated-asset-metadata-bvam/2210
Status: Draft
Type: Informational
Created: 2016-07-22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # for remote servers | |
| unbind C-b | |
| # use C-a for prefix | |
| set-option -g prefix C-a | |
| # change delay | |
| set -sg escape-time 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "asset": "A1111234567890", | |
| "name": "Tokenly VIP Gold Club Member", | |
| "short_name": "TOKENLY VIP Gold", | |
| "description": "With a TOKENLY VIP Gold token, you enjoy exclusive access to all things Tokenly and great deals every week.", | |
| "images": [ | |
| { | |
| "data": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgODguMjYiPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDojNDE3MGEwfTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5Ub2tlbmx5X0xvZ29fSWNvbjwvdGl0bGU+PGcgaWQ9IkxheWVyXzIiIGRhdGEtbmFtZT0iTGF5ZXIgMiI+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNOTkuMTggNDEuMDVsLTIxLjkyLTM4QTYuMTcgNi4xNyAwIDAgMCA3MS45MiAwaC0xOC41djMxaDE3LjJ2LTQuODloNGw0LjE5IDcuMjZhMi44OSAyLjg5IDAgMCAxIDAgMi45NCAzIDMgMCAwIDEtMi41OSAxLjUxSDIzLjc5YTMgMyAwIDAgMS0yLjU5LTEuNTIgMi45IDIuOSAwIDAgMSAwLTIuOTRsNC4xOS03LjI1aDRWMzFoMTcuMlYwSDI4LjA4YTYuMTcgNi4xNyAwIDAgMC01LjMzIDMuMDhMLjgyIDQxLjA1YTYuMTcgNi4xNyAwIDAgMCAwIDYuMTVsMjEuOTIgMzhhNi4xNyA2LjE3IDAgMCAwIDUuMzMgMy4wOGgxOC41MXYtMzFoLTE3LjJ2NC44OGgtNGwtNC4xOS03LjI2YT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| aEg+ebyIMkXVzhrjGmtLlOmjaUfMLzqSSqgsCZ64ocf6rbAbDyEYeVPdv37suJgQ | |
| 7s886tr0eicESzbJVmmoIg/SwV3q5/JtwdiVTT6a+ajE6lMZyZGmVq6Eqsn6OwV+ | |
| pCvciFWgz49ZUnxJ1Ek998DSTLsmxKDjo0gzuYqEkDnieu/kHXizrQRvavU1At0B | |
| i5TMXWxgms/C5O9//BhLRxBKX/a1O4zgOA8cZb/kAJfGFoArwPH5dUhjzTg7KTTl | |
| he0Q9IeJAJZ9nBehJ3hd7XqAKoPxDYt9toQzoRX/KadEHNHfQIMdA6s6ahP54iYE | |
| XiB2aYo+dIOHLgx0w6nZQw== |
Details about the new subasset issuance type:
-
Create a new issuance type called subassetissuance at
subassetissuance.py -
The ID will be
21 -
The encoded format will be
>QQ?{}s{}s. This is an Asset ID (8 bytes), Quantity (8 bytes), Divisibilty (1 byte), Asset Longname (variable), Description (variable). Description is optional.
Note that this means subassets will not be callable. Callable assets are currently disabled.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Encrypts plaintext using AES-GCM with supplied password, for decryption with aesGcmDecrypt(). | |
| * (c) Chris Veness MIT Licence | |
| * | |
| * @param {String} plaintext - Plaintext to be encrypted. | |
| * @param {String} password - Password to use to encrypt plaintext. | |
| * @returns {String} Encrypted ciphertext. | |
| * | |
| * @example | |
| * const ciphertext = await aesGcmEncrypt('my secret text', 'pw'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "asset": "TESTSOUP", | |
| "description": "Just some test soup.", | |
| "image": "https://i.imgur.com/HU2dgWR.png" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Verifying my Blockstack ID is secured with the address 18vC3yE8K5fKq99goLPV74dZL5DyUyeivK https://explorer.blockstack.org/address/18vC3yE8K5fKq99goLPV74dZL5DyUyeivK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| contract job | |
| jobsMapStorage = {} | |
| daoEscrow = 0 | |
| daoFunds = 0 | |
| listOfDisputeResolvers = [0xAdd11111, 0xAdd22222] | |
| DR_SERVICE_ADDRESS = 0xAdd99999 | |
| daoFundManagerAddress = 0xAdd4e55 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Gets the value of an environment variable. Supports boolean, empty and null. | |
| * | |
| * @param string $key | |
| * @param mixed $default | |
| * @return mixed | |
| */ | |
| function env($key, $default = null) |
OlderNewer