Skip to content

Commit

Permalink
resolved toml and readme conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Krishnakumarskr committed Jun 21, 2024
1 parent 16c14a1 commit e523a93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 41 deletions.
20 changes: 0 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@
Please go directly to [`contracts/`](./packages/contracts/README.md) and follow the instructions there.

## Install Pre-requisite Tools
<<<<<<< HEAD
- NodeJS v21+ ([install node.js](https://nodejs.org/en/learn/getting-started/how-to-install-nodejs))
=======
- NodeJS LTS (v20) ([install node.js](https://nodejs.org/en/learn/getting-started/how-to-install-nodejs))
>>>>>>> 4c8ceee7c87082b354260a8e51d03ed6212c3b40
- Yarn ([install yarn](https://v3.yarnpkg.com/getting-started/install))
- Foundry ([install forge](https://book.getfoundry.sh/getting-started/installation))
- Docker ([install docker](https://docs.docker.com/get-docker/))
Expand All @@ -44,31 +40,19 @@ yarn install
## Onetime Setup
1. Setup environment variables in each package
```bash
<<<<<<< HEAD
cp -v .env.sample .env
cd package/api && cp -v .env.local.sample .env.local && cd -
cd package/app && cp -v .env.local.sample .env.local && cd -
cd package/contracts && cp -v .env.sample .env && cd -
cd package/sdk && cp -v .env.sample .env && cd -
=======
cp -n .env.sample .env
cd packages/api && cp -n .env.sample .env && cd -
cd packages/app && cp -n .env.local.sample .env.local && cd -
cd packages/contracts && cp -n .env.sample .env && cd -
cd packages/ops && cp -n .env.sample .env && cd -
cd packages/sdk && cp -n .env.sample .env && cd -
>>>>>>> 4c8ceee7c87082b354260a8e51d03ed6212c3b40
```
1. Start the database (Supabase)
```bash
cd packages/api && supabase start && cd -
```
1. Setup sdk, see [sdk/README.md](packages/sdk/README.md)
<<<<<<< HEAD
1. Setup op scripts, see [operations/README.md](scripts/operation/README.md).
=======
1. Setup op scripts, see [operations/README.md](packages/ops/README.md).
>>>>>>> 4c8ceee7c87082b354260a8e51d03ed6212c3b40


## Rum and Test Locally
Expand All @@ -79,11 +63,7 @@ yarn test
```

```bash
<<<<<<< HEAD
# run all pakcages
=======
# run all packages
>>>>>>> 4c8ceee7c87082b354260a8e51d03ed6212c3b40
yarn dev
```

Expand Down
22 changes: 1 addition & 21 deletions packages/contracts/resource/testnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,41 +6,21 @@
# blockchain id, e.g. baseSepolia=84532, arbSepolia=421614
chain_id = 84532

<<<<<<< HEAD
[evm.contracts]
# 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.public_address = "0xD79Be36f61fce3B8EF2FBF22b13B2b9a68eE15A2"
# devops operator (wallet 2) - public address, okay to share
operator.public_address = "0xaD3C004eE1f942BFDA2DA0D2DAaC94d6aC012F75"
=======
[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"
<<<<<<< HEAD
>>>>>>> 4c8ceee7c87082b354260a8e51d03ed6212c3b40
=======
# devops custodian (wallet 3) - public address, okay to share
custodian = "0x8561845F6a9511cD8e2daCae77A961e718A77cF6"
>>>>>>> f764e2a0b3ca8c59b72c78f2cd6089f0542d4b61

[evm.contracts.upside_vault]
# 2 decimal place percentage (meaining value divided by 100) as integer.
collateral_percentage = 200

[services.supabase]
<<<<<<< HEAD

url = "https://kyvvhlnmoqibdihqrlmc.supabase.co"

# Export contract details to supabase.
export_contracts = true
=======
url = "https://kyvvhlnmoqibdihqrlmc.supabase.co"

# Export contract details to supabase.
export_contracts = true
>>>>>>> 4c8ceee7c87082b354260a8e51d03ed6212c3b40
export_contracts = true

0 comments on commit e523a93

Please sign in to comment.