https://github.com/blockfrost/blockfrost-arduino
Arduino SDK for the Blockfrost.io API
https://github.com/blockfrost/blockfrost-arduino
api arduino blockfrost cardano ipfs rest sdk
Last synced: 10 months ago
JSON representation
Arduino SDK for the Blockfrost.io API
- Host: GitHub
- URL: https://github.com/blockfrost/blockfrost-arduino
- Owner: blockfrost
- License: apache-2.0
- Created: 2021-11-22T16:10:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-24T10:27:43.000Z (over 3 years ago)
- Last Synced: 2025-07-10T20:02:56.143Z (11 months ago)
- Topics: api, arduino, blockfrost, cardano, ipfs, rest, sdk
- Language: C++
- Homepage:
- Size: 264 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/blockfrost/blockfrost-arduino/actions/workflows/platformio-build.yml)
[](https://fivebinaries.com/)

# blockfrost-arduino
Arduino SDK for Blockfrost.io API.
About •
Getting started •
Installation •
Usage
## About
Arduino SDK for the Blockfrost.io API targeting ESP32 development boards.
[](./img/proj.jpg)
## Getting started
To use this SDK, you first need to log in to [blockfrost.io](https://blockfrost.io), create your project and retrieve the API token.

## Installation
The SDK uses [platformio](https://platformio.org/).
You can either work directly with this repository or add this package as a dependency of your project using
```
lib_deps =
https://github.com/blockfrost/blockfrost-arduino
```
To enter a development shell, use `nix-shell`.
## Usage
To build the [example](./example), copy `example/creds.h.sample`
to `example/creds.h` and fill in your credentials.
```sh
git clone https://github.com/blockfrost/blockfrost-arduino
cd blockfrost-arduino
cp example/creds.h.sample example/creds.h
```
Plug in your ESP32 development board, build and upload
using:
```sh
pio run --target upload
```
### Testing
It is possible to test correct JSON (de)serialisation natively using:
```
pio test -c platformio-test.ini -e native
```