-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Added - Ability to create & update a Cardano Token Registry submission JSON file - Requires 'token-metadata-creator' tool, instructions to download/build this tool added to Guild Operators documentation: - https://cardano-community.github.io/guild-operators/#/Build/offchainMetadataTools - Token Registry lookup in Wallet >> Show - Token asset fingerprint generation according to cardano-foundation/CIPs#64 # Changed - Redesigned input handling to be more flexible and improve output Many line changes due to some code refactoring for println and the new ask function to handle input
- Loading branch information
Showing
13 changed files
with
1,628 additions
and
1,401 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
!> - An average pool operator may not require offline-metadata-tools at all. Please verify if it is required for your use as mentioned [here](build.md#components) | ||
|
||
>Ensure the [Pre-Requisites](basics.md#pre-requisites) are in place before you proceed. | ||
In the Cardano multi-asset era, this project helps you create and submit metadata describing your assets, storing them off-the-chain. | ||
|
||
##### Download pre-built binaries | ||
|
||
Go to [input-output-hk/offchain-metadata-tools](https://github.com/input-output-hk/offchain-metadata-tools#pre-built-binaries) to download the binaries and place in a direcotry specified by `PATH`, eg `$HOME/.cabal/bin/`. | ||
|
||
##### Build Instructions | ||
|
||
An alternative to pre-built binaries. Instructions describe how to build the `token-metadata-creator` tool but the offchain-metadata-tools repository contains other tools as well. Build the ones needed for your installation. | ||
|
||
##### Clone the repository | ||
|
||
Execute the below to clone the offchain-metadata-tools repository to $HOME/git folder on your system: | ||
|
||
``` bash | ||
cd ~/git | ||
git clone https://github.com/input-output-hk/offchain-metadata-tools.git | ||
cd offchain-metadata-tools/token-metadata-creator | ||
``` | ||
|
||
##### Build token-metadata-creator | ||
|
||
You can use the instructions below to build token-metadata-creator, same steps can be executed in future to update the binaries (replacing appropriate tag) as well. | ||
|
||
``` bash | ||
git fetch --tags --all | ||
git pull | ||
# Replace master with appropriate tag if you'd like to avoid compiling against master | ||
git checkout master | ||
$CNODE_HOME/scripts/cabal-build-all.sh | ||
``` | ||
The above would copy the binaries into `~/.cabal/bin` folder. | ||
|
||
##### Verify that token-metadata-creator is installed | ||
|
||
Verify that the tool is executable from anywhere by running: | ||
|
||
``` bash | ||
token-metadata-creator -h | ||
``` |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.