Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dionysuzx authored Apr 14, 2023
1 parent ead28f9 commit 4e3916c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
3. Set mnemonic phrase in root `.env` for test accounts ([generate a bip39 mnemonic](https://iancoleman.io/bip39/))
4. Set web3modal project id in `.env` ([obtain a project id for web3modal](https://cloud.walletconnect.com/sign-in))
5. Source environment vars: `source .env`
6. (optional) if using vscode check the vscode config section

## Start the development environment

Expand Down Expand Up @@ -88,6 +89,19 @@ anvil -m $MNEMONIC
forge script Deploy --broadcast --rpc-url $FOUNDRY && pnpm -F app wagmi
```

## vscode config section
follow this: https://book.getfoundry.sh/config/vscode, but use this for the path (because of the monorepo setup):
```
"solidity.packageDefaultDependenciesContractsDirectory": "packages/contracts/src",
"solidity.packageDefaultDependenciesDirectory": "packages/contracts/lib",
"solidity.compileUsingRemoteVersion": "v0.8.19",
"editor.formatOnSave": true,
"[solidity]": {
"editor.defaultFormatter": "JuanBlanco.solidity"
},
"solidity.formatter": "forge",
```

## Troubleshooting

- Try resetting account in MetaMask
Expand Down

1 comment on commit 4e3916c

@vercel
Copy link

@vercel vercel bot commented on 4e3916c Apr 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

dapp-slaps – ./

dapp-slaps-d1onys1us.vercel.app
dapp-slaps-git-main-d1onys1us.vercel.app
dapp-slaps.vercel.app

Please sign in to comment.