Skip to content

Commit

Permalink
Merge pull request #5 from robertleifke/main
Browse files Browse the repository at this point in the history
Changed Goerli deployment to Sepolia
  • Loading branch information
robertleifke authored Mar 18, 2024
2 parents cd003a6 + 1cc97c8 commit ae46f40
Show file tree
Hide file tree
Showing 29 changed files with 4,216 additions and 89 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export PRIVATE_KEY="YOUR_PRIVATE_KEY"

export RPC_URL_MAINNET="YOUR_RPC_URL"
export SEPOLIA_RPC_URL="YOUR_RPC_URL"

export ETHERSCAN_KEY="YOUR_ETHERSCAN_KEY"
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "CI"

env:
FOUNDRY_PROFILE: "ci"
RPC_URL_GOERLI: ${{ secrets.RPC_URL_GOERLI }}
RPC_URL_GOERLI: ${{ secrets.RPC_URL_SEPOLIA }}

on:
pull_request:
Expand Down
8 changes: 4 additions & 4 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.

Parameters

Licensor: Dahlia Finance Inc. "Numoen"
Licensor: Dahlia Finance Inc. "Numo"

Licensed Work: Numoen
Licensed Work: Numo
The Licensed Work is (c) 2024 Dahlia Finance Inc.

Additional Use Grant: Any uses listed and defined at
license.numoen.com
license.numotrade.com

Change Date: The earlier of 2028-01-01 or a date specified at
license.numoen.com
license.numotrade.com

Change License: GNU General Public License v2.0 or later

Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ Smart contracts suite of PowerMaker, an automated market maker of second order p

## Installation


```bash
forge install
forge install numoen/powermaker
```

## Local development
Expand All @@ -19,6 +20,14 @@ This project uses [Foundry](https://github.com/foundry-rs/foundry) as the develo
forge install
```

```bash
npm install @openzeppelin/contracts
```

```bash
npm install create3-factory
```

### Compilation

```bash
Expand Down
23 changes: 13 additions & 10 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,18 @@ variable_override_spacing = false
wrap_comments = true

[rpc_endpoints]
mainnet = "${RPC_URL_MAINNET}"
arbitrum = "${RPC_URL_ARBITRUM}"
goerli = "${RPC_URL_GOERLI}"
celo = "${RPC_URL_CELO}"
polygon = "https://polygon-rpc.com"
# mainnet = "${RPC_URL_MAINNET}"
# arbitrum = "${RPC_URL_ARBITRUM}"
# goerli = "${RPC_URL_GOERLI}"
# celo = "${RPC_URL_CELO}"
# polygon = "https://polygon-rpc.com"
sepolia = "${RPC_URL_SEPOLIA}"


[etherscan]
mainnet = { key = "${ETHERSCAN_KEY", url = "https://api.etherscan.io/api" }
arbitrum = { key = "${ARBISCAN_KEY}", url = "https://api.arbiscan.io/api" }
goerli = { key = "${ETHERSCAN_KEY}", url = "https://api-goerli.etherscan.io/api" }
celo = { key = "${CELOSCAN_KEY}", url = "https://api.celoscan.io/api" }
polygon = { key = "${POLYGONSCAN_KEY}", url = "https://api.polygonscan.com/api" }
# ainnet = { key = "${ETHERSCAN_KEY", url = "https://api.etherscan.io/api" }
# arbitrum = { key = "${ARBISCAN_KEY}", url = "https://api.arbiscan.io/api" }
# goerli = { key = "${ETHERSCAN_KEY}", url = "https://api-goerli.etherscan.io/api" }
# celo = { key = "${CELOSCAN_KEY}", url = "https://api.celoscan.io/api" }
# polygon = { key = "${POLYGONSCAN_KEY}", url = "https://api.polygonscan.com/api" }m
sepolia = { key = "${ETHERSCAN_KEY", url = "https://api-sepolia.etherscan.io/api" }
Loading

0 comments on commit ae46f40

Please sign in to comment.