From e523a9353039b67a3cafae7ab26ab17bb713619d Mon Sep 17 00:00:00 2001 From: Krishna kumar S Date: Fri, 21 Jun 2024 14:43:11 +0530 Subject: [PATCH] resolved toml and readme conflicts --- README.md | 20 -------------------- packages/contracts/resource/testnet.toml | 22 +--------------------- 2 files changed, 1 insertion(+), 41 deletions(-) diff --git a/README.md b/README.md index de6d304bb..e74afb009 100644 --- a/README.md +++ b/README.md @@ -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/)) @@ -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 @@ -79,11 +63,7 @@ yarn test ``` ```bash -<<<<<<< HEAD -# run all pakcages -======= # run all packages ->>>>>>> 4c8ceee7c87082b354260a8e51d03ed6212c3b40 yarn dev ``` diff --git a/packages/contracts/resource/testnet.toml b/packages/contracts/resource/testnet.toml index 73189e364..986c5b48b 100644 --- a/packages/contracts/resource/testnet.toml +++ b/packages/contracts/resource/testnet.toml @@ -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 \ No newline at end of file