Skip to content

LaurinZubler/ba-chain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

upsi - chain

This repository contains the smart contract for the bachelor thesis "upsi - A decentralized STI tracing approach"

OST - Eastern Switzerland University of Applied Sciences
Author: Laurin Zubler [email protected]
Advisor: Dr. Thomas Bocek [email protected]

Hardhat

This project is using Hardhat for smart contract development.

Local Setup

node.js: 20.13.1

Install Dependencies

npm install

Testing

Compile Smart Contract

npx hardhat compile

Start Hardhat Node

npx hardhat node

Run Tests

npx hardhat test

Deployment

Configuration variables

npx hardhat vars set INFURA_API_KEY
npx hardhat vars set OPTIMISM_SEPOLIA_PRIVATE_KEY
npx hardhat vars set ETHERSCAN_OPTIMISM_KEY

More information: https://hardhat.org/hardhat-runner/docs/guides/configuration-variables

Deploy Contract

npx hardhat ignition deploy ./ignition/modules/Upsi.js --network hardhat
npx hardhat ignition deploy ./ignition/modules/Upsi.js --network optimismSepolia

Verify Contract

npx hardhat verify --network optimismSepolia <CONTRACT_ADDRESS>

About

Bachelor thesis "upsi" smart contract

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published