-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added CI environment and github action
- Loading branch information
Showing
9 changed files
with
101 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
node_env = "testnet" | ||
|
||
[api] | ||
#TODO - confirm port | ||
port = 3001 | ||
version = "0.0.1" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# fly.toml app configuration file generated for credbull-defi-api on 2024-02-06T11:47:45-03:00 | ||
# | ||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file. | ||
# | ||
|
||
app = 'credbull-defi-contracts' | ||
|
||
primary_region = 'fra' | ||
|
||
[build] | ||
image = "credbull-defi-contracts:latest" | ||
|
||
[deploy] | ||
strategy = "bluegreen" | ||
|
||
[http_service] | ||
internal_port = 8545 | ||
force_https = true | ||
auto_stop_machines = true | ||
auto_start_machines = true | ||
min_machines_running = 0 | ||
processes = ['app'] | ||
|
||
[[http_service.checks]] | ||
grace_period = "10s" | ||
interval = "30s" | ||
method = "GET" | ||
timeout = "5s" | ||
path = "/" | ||
|
||
[[vm]] | ||
cpu_kind = 'shared' | ||
cpus = 1 | ||
memory_mb = 1024 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
## | ||
# The Application Configuration for the TestNet Environment. | ||
## | ||
|
||
[evm] | ||
# blockchain id, e.g. baseSepolia=84532, arbSepolia=421614 | ||
chain_id = 84532 | ||
|
||
[evm.address] | ||
# credbull-devops wallets. wallet numbers are 1-based (as opposed to 0-based in anvil) | ||
# devops admin/owner (wallet 1) - public address, okay to share | ||
owner = "0xD79Be36f61fce3B8EF2FBF22b13B2b9a68eE15A2" | ||
# devops operator (wallet 2) - public address, okay to share | ||
operator = "0xaD3C004eE1f942BFDA2DA0D2DAaC94d6aC012F75" | ||
|
||
[evm.contracts.upside_vault] | ||
# 2 decimal place percentage (meaining value divided by 100) as integer. | ||
collateral_percentage = 200 | ||
|
||
[services.supabase] | ||
url = "https://iucsqvvjujqcncowypnr.supabase.co" | ||
|
||
# Export contract details to supabase. | ||
export_contracts = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters