Skip to content

Commit

Permalink
Merge pull request #115 from galadriel-ai/readme-deployment-fix
Browse files Browse the repository at this point in the history
Include reminder to compile contracts before trying to deploy
  • Loading branch information
kristjanpeterson1 authored Jul 2, 2024
2 parents 3df7d47 + bea3349 commit f2b57fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ Get the [oracle address](https://docs.galadriel.com/oracle-address) from the doc
the address.
Check the available example contracts in the [contracts](contracts) directory

**Compile the contracts**
```
npm run compile
```
**Deploy a contract**
```
npx hardhat deploy --network [network (galadriel or localhost)] --contract [contract name] --oracleaddress [oracle_address] [space separated extra constructor args]
# ChatGpt example
Expand Down

0 comments on commit f2b57fa

Please sign in to comment.