Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Getblock to Builder Tools #1023

Closed
wants to merge 15 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions docs/get-started/getblock/get-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
| Id |Sidebar_position |Title |Sidebar_label |Description|image|
|-- |-- |-- |-- |--|--|
|get-started | 2 |Get started with GetBlock |Get started|Get started with GetBlock| /builder-tools/getblock.png|

# Login/Sign-up
In order to use the [GetBlock Cardano Endpoints](https://getblock.io/nodes/ada/), you need to [create an account first](https://account.getblock.io/sign-in), you can do it via email or use a Web3 wallet.

![img](https://storage.getblock.io/web/blog/article-images/img1+(2).png)

The Cardano API endpoint by GetBlock is a useful tool for early-stage teams that want to take advantage of Cardano's benefits.

Now Navigate to the dashboard and click on the "endpoint" tab.
# Create Cardano Endpoint
Create a new endpoint by selecting Cardano as the blockchain network and clicking the "get" button.
Copy the endpoint to use it in the API requests.

![img](https://storage.getblock.io/web/blog/article-images/Screenshot+2023-06-07+at+15.19.58.png)

Use a tool like cURL to make requests to the Cardano network. For example, to get the status of the Cardano mainnet, run the following command:
```
curl https://ada.getblock.io/mainnet/network/status \
--header 'Content-Type: application/json' \
--header 'x-api-key: YOUR-API-KEY' \
--data '{
"network_identifier": {
"blockchain": "cardano",
"network": "mainnet"
},
"metadata": {}
}'
```

Make sure to replace `YOUR-API-KEY` with the API key you obtained in step 4.

The response will contain information about the current block, the genesis block, and peers on the Cardano network.

That's it! You can now use GetBlock to make requests to the Cardano blockchain network.

If you have any additional questions or would like to share your experience, feel free to join our [community of Web3 developers](https://discord.gg/Jb9UZZUHN7) who are always ready to chat.
<!--stackedit_data:
eyJoaXN0b3J5IjpbLTk1MzA5MTkwMCwtOTg0MTI2OTE4LDE2OD
QxMDMzMThdfQ==
-->
12 changes: 6 additions & 6 deletions src/data/builder-tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -1027,12 +1027,12 @@ export const Showcases = [
tags: ["crystal", "serialization"]
},
{
title: "Maestro Dapp Platform",
description: "Blockchain indexer, APIs and event management system for the Cardano blockchain.",
preview: require("./builder-tools/maestro.png"),
website: "https://www.gomaestro.org/dapp-platform",
getstarted: "https://docs.gomaestro.org/",
tags: ["http", "hosted"]
title: "GetBlock",
description: "GetBlock is a blockchain RPC provider that offers access to full Cardano nodes, allowing developers to build blockchain applications and services.",
preview: require("./builder-tools/getblock.png"),
website: "https://getblock.io/nodes/ada/",
getstarted: "https://getblock.io/docs/",
tags: ["json", "websocket"]
},
{
title: "potential-robot",
Expand Down
Binary file added src/data/builder-tools/getblock.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading