Macrometa: Track IPFS Files with Macrometa
Learn how to track IPFS Files with Macrometa.
Last updated
Learn how to track IPFS Files with Macrometa.
Last updated
Macrometa is a full-stack platform for APIs and applications. Macrometa offers a comprehensive and extensive API that can be used to interact with a variety of different databases. In this tutorial, we’ll use a Dynamic database to track file names and their associated IPFS CID, which can be queried and used by the Macrometa API in a variety of applications and workflows.
Read below to learn how to track IPFS files Macrometa.
If you don’t have an account already, sign up, then log in.
Select ‘Create Bucket’ in the top right corner to create a new bucket for your files.
Bucket names must be unique across all Filebase users, be between 3 and 63 characters long, and can contain only lowercase characters, numbers, and dashes.
Once uploaded, they will be listed in the bucket.
Choose the method you prefer, and take note of the IPFS CID.
Select ‘Collections’ on the left side bar menu, then select ‘Create a Collection’.
file-name
and Sorting Key as ipfs-cid
.Select ‘Queries’ from the left side bar menu, then select ‘New’. Enter the following database query:
INSERT { 'file-name': '4.png', 'ipfs-cid': 'bafybeif5x2gihgepga2vtjlx3lfdwgxquo2sbv4a77rsedokf6poqrrcse' }
INTO Filebase_IPFS_Tracker
In the Query Result screen, there should be ‘1 Writes’: