🕵️Create your first Ethic app on EVM

This tutorial walks through creating a complete application that uses Ethic Price feeds. The application includes a smart contract and an off-chain code invoking the contract.

Please choose your environment to get started:

In this tutorial, we will use real-time Ethic price data to mint an NFT in exchange for $1 of ETH. Our solidity contract will read the price of ETH/USD from Ethic and use it to calculate the amount of ETH required to mint the NFT.

This tutorial will cover the following topics:

Create a contract that reads the ETH/USD price from Ethic using Ethic-sdk-solidity

Learn how to update Ethic prices to avoid Stale data.

Deploy the contract to OP-sepolia testnet.

Update and Fetch price using Ethic-evm-js.

This tutorial is divided into two parts:

Part 1: Create a contract and fetch prices from Ethic oracles.

Part 2: Deploy Your Ethic App

Last updated