Skip to content

Using locally

This is a Next.js project bootstrapped with create-next-app, using shadcn/ui components and design, as well as the overall project's organization. It is intended for use with the Next.js (13+) App Router.

The minimal steps to get started are as follows.

Installation

  1. Clone the repository and navigate to this directory
git clone git@github.com:0xpolarzero/savvy.git && cd savvy
  1. Install the dependencies (preferably with pnpm)
pnpm
pnpm install

Setup

  1. Copy the .env.local.example file to .env.local and fill in the required environment variables
cp .env.local.example .env.local

Then edit .env.local

.env.local.example
ALCHEMY_API_KEY=""
COINMARKETCAP_API_KEY=""
ETHERSCAN_API_KEY=""
ARBISCAN_API_KEY=""
BASESCAN_API_KEY=""
OPTIMISTIC_ETHERSCAN_API_KEY=""
POLYGONSCAN_API_KEY=""

We're using Alchemy for better modularity when creating providers and Tevm clients, but you can replace it with any other provider, and update the way urls are created in the two aforementioned files.

Running

  1. Run the development server
pnpm
pnpm dev

Open http://localhost:3000 with your browser to see the result.


For any other considerations, please refer to the respective documentation for each package:

This open-source initiative is released under the MIT License.
It is mostly built upon Tevm.