Skip to content

Commit

Permalink
New Mainnet Deployment after Phoenix Upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
esteblock committed Oct 11, 2024
1 parent 085ab81 commit 788943c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,20 @@ yarn test
```


## 5.- Publish deployed address.
## 5.- Publish Phoenix Aggregator in Mainnet
```
yarn build && yarn deploy-phoenix-adapter mainnet
```

## 6.- Publish deployed address.
If you want to publish the json files that are in the ignored `.soroban` folder, do:

```bash
yarn publish_addresses <network>
```

## 6.- Integration Test in Public Testnet.
## 7.- Integration Test in Public Testnet.
Its important to allways test contracts in a live testnet Blockchain.
We have prepared some scripts to interact with the deployed Soroswap.Finance testnet version and with a custom deployed Phoenix protocol. This is because Phoenix does not officially support a testnet version.

Expand All @@ -145,12 +151,6 @@ You can test the Aggregator methods by running the following command:
bash scripts/quickstart.sh standalone
bash scripts/run.sh
yarn test:manual <network>
```

## Publish Phoenix Aggregator in Mainnet
```
yarn build && yarn deploy-phoenix-adapter mainnet
```
## Development
When deploying to any network other than mainnet the script will also deploy Phoenix Protocol for testing purposes
Expand Down
8 changes: 4 additions & 4 deletions public/mainnet.contracts.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"ids": {
"deployer": "CDHN5WJ3ZCC6VRWID6KLM22EVHH3O5FWOSMIZ77734EETMRXCWM5G2SF",
"soroswap_adapter": "CAZ6QEH55V75LBXGSUNA4W3QI2Q7WLJZZ2TJOV3M3PVJNLN5XZMZHWNR",
"aggregator": "CC2CMNKAFI3KKL6ROMIYJKKX2WE2MV5QAF7DZDWC57ENHV6DQTHT3W64",
"phoenix_adapter": "CCFILWT4FSCGEYWIP3MV7OWSGERST4JKJP35OUGEJQLTNW6KTJK64O5G"
"deployer": "CANLNGVMFCWCCJYTEU2MPK5FVV7ZZWQSXAYBIMIDPI6AR57UIXN7XNBT",
"soroswap_adapter": "CANR5RFDDBA4UDGGDLNV7W3HFBZPDSE5PKAUHW5BKMCK3FAP4RX2NFQB",
"aggregator": "CBPWBOFOPXDLZWOKQWNEHDFPGXDKDO3DN5VHA5R2O3MTUNBIVBEXE2KY",
"phoenix_adapter": "CCT66OMYNZUFVXTRKVPFZT2ZETLORWTVIJZGIULMVOYCE6UBUT2JDEIC"
},
"hashes": {
"deployer": "c14be64defd72d2c01c78fc46206934a67844692ff17c974c5fd18a5f775cd7e",
Expand Down

0 comments on commit 788943c

Please sign in to comment.