Exchange
Deploy

Deploy

This deploys the Exchange_ERC20_1155.cairo contract

# You will need to make an Admin address which is the owner of all of these by:
# This will create an admin account for you
# Note you need to have an ENV setup with a PK named STARKNET_ADMIN_PRIVATE_KEY
nile setup STARKNET_ADMIN_PRIVATE_KEY
 
# You need to compile on contract changes, otherwise you deploy old contracts!
nile compile
 
# Deploys all the contracts
nile run --network goerli realms_cli/amm/deploy.py
 
# Upgrades
nile run --network goerli realms_cli/amm/upgrade.py