ada_handle 1.0.2 copy "ada_handle: ^1.0.2" to clipboard
ada_handle: ^1.0.2 copied to clipboard

outdated

Flutter ADA Handle package which is suporting conversion operations for $handle

example/README.md

ada_handle #

Demonstrates how to use the ada_handle package

final String handle = 'walmart';
String policyIdAssetId = AdaHandle.getPolicyAssetHexCombination(handle);
print(policyIdAssetId);

Output: f0ff48bbb7bbe9d59a40f1ce90e9e9d0ff5002ec48f232b49ca0fb9a77616c6d617274

Pass this value to get back asset information, for example with the Blockfrost API

The following request reads the data from Cardano Mainnet for ADA Handle "walmart"

Attention! HTTP header of your request MUST include the project_id in order to authenticate against Blockfrost servers

https://cardano-mainnet.blockfrost.io/api/v0/assets/f0ff48bbb7bbe9d59a40f1ce90e9e9d0ff5002ec48f232b49ca0fb9a77616c6d617274

The Response would look like this:

{
    "asset": "f0ff48bbb7bbe9d59a40f1ce90e9e9d0ff5002ec48f232b49ca0fb9a77616c6d617274",
    "policy_id": "f0ff48bbb7bbe9d59a40f1ce90e9e9d0ff5002ec48f232b49ca0fb9a",
    "asset_name": "77616c6d617274",
    "fingerprint": "asset1fg63wnn88nya4gjvythkafe0nl3y3uvkqygek2",
    "quantity": "1",
    "initial_mint_tx_hash": "f9c13bb4e57d6006ab615d7ded6161bf4c58594b00e68f6276ccdefe9cb14a9d",
    "mint_or_burn_count": 1,
    "onchain_metadata": {
        "core": {
            "og": 0,
            "prefix": "$",
            "version": 0,
            "termsofuse": "https://adahandle.com/tou",
            "handleEncoding": "utf-8"
        },
        "name": "$walmart",
        "image": "ipfs://Qme8ztELAjaNpPHYSV4pwPrssQ4yiYrsnsZafWNJFRVRty",
        "website": "https://adahandle.com",
        "description": "The Handle Standard",
        "augmentations": []
    },
    "onchain_metadata_standard": "CIP25v1",
    "metadata": null
}
1
likes
0
points
24
downloads

Publisher

verified publisherandrodevelopment.de

Weekly Downloads

Flutter ADA Handle package which is suporting conversion operations for $handle

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on ada_handle