Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 920 Bytes

README.md

File metadata and controls

39 lines (30 loc) · 920 Bytes

Testnet

The version of our proof-of-concept solution to be deployed on the sepolia testnet.

Requirements

You will need the following tools:

  • [Node (v18 LTS)]
  • Yarn ([v1] npm install --global yarn)

Getting started

  1. Install dependencies
yarn install
  1. Calculate your SystemManager address Run the computeFutureAddress.py script and input your address and nonce

  2. Place the address of your SystemManager in DigitalCopy contract

  3. Create .env file Create an .env file and input these variables with your own addresses:

ALCHEMY_API_KEY1=*YOUR_API_KEY*
ALCHEMY_URL='*YOUR_ALCHEMY_URL*'
PRIVATE_KEY1='*YOUR_FIRST_PRIVATE_KEY (Make sure it starts with 0x)*'
PRIVATE_KEY2='*YOUR_SECOND_PRIVATE_KEY (Make sure it starts with 0x)*'
  1. Deploy the contracts in a terminal with the following command:
yarn deploy
  1. Run the scenarios:
yarn scenario1-4 (E.g. scenario1)