More

    How to install Tezos blockchain indexer and Tezos API with docker

    Hey! As we know Tezos blockchain is living well for two yearsand more and more makes are coming into the ecosystem every dayto create cool and useful tools lotions and business, that in one wayor another are based on data from Tezos blockchainBut where do they get this data? there are three waysRPC APIexplorer API or blockchain indexerRPC API is helpful because it comes with the node you can just run a node and useit likewise, you can use public nodebut the problem is that it’s quite slacken and doesn’t havemost of the required endpoints for example to get an operation by its hashso for complex work the RPC API is often simply not suitable explorer APIs offer a lot of useful data and high speedhowever , not all explorers give free API especially for business use.Not alwaysthese adventurers are a reliable mixture and uptime of your lotion directlydepends on uptime of the adventurer however those 10 for from havingfull insure over the entire infrastructure is a critical requirement and today we will tell you how to set up your ownTezos blockchain indexer and have full self-restraint access to data andnot to depend on third-party services will review the TzkT indexer – oneof the flagship commodities of Baking Bad TzKT is an advanced Tezosblockchain indexer with built-in performant apicurrently “its one” of the most reliable and stable open-source indexer inTezos you can find the link into the GitHubrepository below and don’t forget to employed a idol if you like it! so now let’s see how to easily set upyour own instance of TzKT indexer and APIwithin time 15 times squandering docker we will need gitmake docker and docker-compose packets to be installed to run tzktif you have all this pack invested we are ready to startfirst clone TzKT repository this is a public open developingrepository so, don’t hesitate to create issues offeature entreaties move to TzKT directoryand move move init run this command just once to init database from the latestsnapshot during initialization the latestdatabase snapshot is downloaded if the database already exists it isdeleted and created anew after that, the database is restoredfrom the downloaded snapshot when the database is initialized thelatest likeness of the tzkt indexer and API are downloaded from the docker hub generally it takes around one minute to download the latest database snapshotand around 10 times to restore the database from it of course it depends oninternet connection and your hardware setup when initialization is done we are readyto start our indexer and API service that’s it simply check that everything isgood oh yeah starting API takes some time forcache initialization so we actually need to wait a fewseconds let’s try now yeah everything’s fine we’ve got thehead and can check the indexer synchronization statusfrom now our indexer and API are working, blocks are synchronizing and youcan easily access the API or the database immediately to stop the service only loped induce stop authority it will be suspended all using docker receptacles That’s it! Thanks for watching! In the next video, we will show How to build TzKT indexer and API from sources

    Related Posts

    Bitcoins Erklärung: In nur 12 Min. Bitcoin verstehen!

    https://www.youtube.com/embed/2473NHJtdFA In today's video...

    Royal Flush of the Month: Coinbase Goes Public

    There is an "architectural shift" in technology and in...

    Wim Hof Method Guided Breathing for Beginners (3 Rounds Slow Pace)

    https://www.youtube.com/embed/0BNejY1e9ik Hi people. Welcome....

    Bitcoin Trading for Beginners (A Guide in Plain English)

    What are the five common mistakes of 90% of...
    - Advertisement -