@@ -23,54 +23,10 @@ Run `flutter pub get`
2323
2424Import package ` import 'package:ada_handle/ada_handle.dart'; `
2525
26- ``` dart
27- final String handle = 'walmart';
28- String policyIdAssetId = AdaHandle.getPolicyAssetHexCombination(handle);
29- print(policyIdAssetId);
30- ```
31-
32- Output: ` f0ff48bbb7bbe9d59a40f1ce90e9e9d0ff5002ec48f232b49ca0fb9a77616c6d617274 `
33-
34- Pass this value to get back asset information, for example with the [ Blockfrost API] ( https://blockfrost.io )
35-
36- The following request reads the data from Cardano Mainnet for ADA Handle "walmart"
37-
38- Attention! HTTP header of your request MUST include the project_id in order to authenticate against Blockfrost servers
39-
40- < https://cardano-mainnet.blockfrost.io/api/v0/assets/f0ff48bbb7bbe9d59a40f1ce90e9e9d0ff5002ec48f232b49ca0fb9a77616c6d617274 >
41-
42- The Response would look like this:
43-
44- ``` json
45- {
46- "asset" : " f0ff48bbb7bbe9d59a40f1ce90e9e9d0ff5002ec48f232b49ca0fb9a77616c6d617274" ,
47- "policy_id" : " f0ff48bbb7bbe9d59a40f1ce90e9e9d0ff5002ec48f232b49ca0fb9a" ,
48- "asset_name" : " 77616c6d617274" ,
49- "fingerprint" : " asset1fg63wnn88nya4gjvythkafe0nl3y3uvkqygek2" ,
50- "quantity" : " 1" ,
51- "initial_mint_tx_hash" : " f9c13bb4e57d6006ab615d7ded6161bf4c58594b00e68f6276ccdefe9cb14a9d" ,
52- "mint_or_burn_count" : 1 ,
53- "onchain_metadata" : {
54- "core" : {
55- "og" : 0 ,
56- "prefix" : " $" ,
57- "version" : 0 ,
58- "termsofuse" : " https://adahandle.com/tou" ,
59- "handleEncoding" : " utf-8"
60- },
61- "name" : " $walmart" ,
62- "image" : " ipfs://Qme8ztELAjaNpPHYSV4pwPrssQ4yiYrsnsZafWNJFRVRty" ,
63- "website" : " https://adahandle.com" ,
64- "description" : " The Handle Standard" ,
65- "augmentations" : []
66- },
67- "onchain_metadata_standard" : " CIP25v1" ,
68- "metadata" : null
69- }
70- ```
71-
7226## Additional information
7327
28+ Check example how to use [ example] ( example/README.md )
29+
7430Check also the test use cases [ test file] ( test/ada_handle_test.dart )
7531
7632## Contribution
0 commit comments