Skip to content

Commit

Permalink
Preparing to switch to Forge
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Jan 10, 2024
1 parent 622bc98 commit b55dc6e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ape-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,11 @@ solidity:

plugins:
- name: solidity
version: 0.7.0
version: 0.7.0
- name: polygon

geth:
polygon:
mainnet:
uri: https://polygon-rpc.com/

9 changes: 9 additions & 0 deletions scripts/deploy.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"""Deploy the contract."""

from ape import accounts, project


def main():
account = accounts.load("deploy")
print("Deploy account is", account.address)
account.deploy(project.TermsOfService, publish=True)

0 comments on commit b55dc6e

Please sign in to comment.