Skip to content

nek0ill/Excalibur

 
 

Repository files navigation

The Excalibur Protocol

The Excalibur Protocol

Using the magic of cryptographic technology to bring balance to the world and promote decentralized justice.

Overview

The Excalibur Protocol is an on-chain justice system, carefully designed to imitate the same innate human social structures that the traditional justice system is based on.

Technical info

Getting Started

Environment

Clone .env.example to .env and fill in your environment parameters

Commands

  • Install environemnt: npm install
  • Run tests: npx hardhat test
  • Check contract size: npx hardhat size-contracts
  • Deploy protocol (Rinkeby): npx hardhat run scripts/deploy.ts --network rinkeby
  • Deploy foundation (Mumbai): npx hardhat run scripts/foundation.ts --network mumbai
  • Deploy protocol (Mumbai): npx hardhat run scripts/deploy.ts --network mumbai
  • Compile contracts: npx hardhat compile
  • Cleanup: npx hardhat clean

Etherscan verification

Enter your Etherscan API key into the .env file and run the following command (replace DEPLOYED_CONTRACT_ADDRESS with the contract's address and "Hello, Hardhat!" with the parameters you sent the contract upon deployment:

npx hardhat verify --network ropsten DEPLOYED_CONTRACT_ADDRESS "Hello, Hardhat!"

About

YourJustice Smart Contracts

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Solidity 78.9%
  • TypeScript 21.0%
  • JavaScript 0.1%