Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 2.33 KB

README.md

File metadata and controls

56 lines (43 loc) · 2.33 KB

Nomad Token

Solidity smart contracts NomadBadge and NomadRewardToken - Chainlink hackathon spring 2023

Architecture

diagram

Repositories

Tech notes (Youtube video)

Nomad token - tech notes

Smart contracts - nomad-token

tech stack: solidity, typescript, javascript, chainlink, openzeppelin, hardhat, npm

Installing dependencies

npm install

Setup secrets

ALCHEMY_KEY = ...
ADMIN_ACCOUNT_ADDRESS = ...
ADMIN_ACCOUNT_PRIVATE_KEY = ...
MONGO_CONNECTION_URL = ...
PORT=...
AVIATIONSTACK_ACCESS_KEY = ...

Deploying the contract

You can target any network from your Hardhat config using:

npx hardhat run --network sepolia scripts/deploy.ts

Backend - nomad-core

tech stack: typescript, javascript, nodejs, alchemysdk, ethersjs, mongoose, express, dotenv, node-cron, heroku, heroku-scheduler, axios, cors, helmet, nodemon, compression

Scripts

node server.ts

Server

heroku logs --tail Server location: nomad-core.herokuapp.com

Frontend - nomad-app

tech stack: kotlin, kotlinx-coroutines, jetpack compose, firebase-crashlytics, firebase-auth-ktx, accompanist-flowlayout, compose.material3, okhttp3, retrofit2

Google Play: Nomad Rewards App