Skip to content

Commit

Permalink
Add faucet + Chris feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
andytudhope committed Oct 27, 2023
1 parent ce3c9b0 commit 073a0ec
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
8 changes: 5 additions & 3 deletions docs/how-to/create-contracts/deploy-custom.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -171,17 +171,19 @@ And you should see the address of your custom contract printed in your terminal.

## 3. Deploy to Rigil

Follow the same steps as listed above, but point your deploy script at the Rigil RPC after getting some faucet funds. You can request faucet funds by putting your address in the **#suave-hackathon** slack channel.
Follow the same steps as listed above, but point your deploy script at the Rigil RPC after getting some faucet funds.

Request [faucet funds here](https://faucet.rigil.suave.flashbots.net).

`deploy.go` should work as is, just adapt this block:

```go
var (
// The address of the flashbots MEVM on Rigil
exNodeEthAddr = common.HexToAddress("0626a5c68af88e43613f7f7cf5879d60f50033b3")
// Target the Rigil RPC
exNodeNetAddr = "https://rpc.rigil.suave.flashbots.net"
// Insert a private key you own with some SUAVE ETH
fundedAccount = newPrivKeyFromHex("<your_priv_key>")
// The public address of a Kettle on Rigil
exNodeEthAddr = common.HexToAddress("0626a5c68af88e43613f7f7cf5879d60f50033b3")
)
```
3 changes: 2 additions & 1 deletion docs/how-to/send-transactions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ If you're able to generate the necessary ABIs and bytecode, you should be able t

You can also adapt any of this code to use the Rigil Testnet RPC, rather than your local development environment.

1. Request faucet funds in the **#suave-hackathon** slack channel by posting your address
1. Request [faucet funds here](https://faucet.rigil.suave.flashbots.net)
2. Change this code:

```go
Expand All @@ -250,4 +250,5 @@ The exact details for the Rigil Testnet are:
- **Network ID**: `16813125`
- **Chain ID**: `16813125`
- **RPC Endpoint**: `https://rpc.rigil.suave.flashbots.net`
- **Faucet**: https://faucet.rigil.suave.flashbots.net
- **Explorer**: https://explorer.rigil.suave.flashbots.net
2 changes: 1 addition & 1 deletion docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ keywords:
- mechanisms
---

# Start Hacking on SUAVE
# Start Building on SUAVE

Welcome to our first internal SUAVE hackathon. Let's start building better mechanisms.

Expand Down

0 comments on commit 073a0ec

Please sign in to comment.