Skip to content

Commit

Permalink
Simplify Nabla project
Browse files Browse the repository at this point in the history
  • Loading branch information
TorstenStueber committed Oct 8, 2024
1 parent c597a83 commit 48bf572
Show file tree
Hide file tree
Showing 34 changed files with 401 additions and 3,327 deletions.
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,25 @@

Usage for the example project:

1. Pull the Solidity source files from git: `npx ts-node src/index.ts pull nabla`
2. Deploy: `npx ts-node src/index.ts deploy nabla --network foucoco`
1. Pull the Solidity source files from git: `npx tsx src/index.ts pull nabla`
2. Deploy: `npx tsx src/index.ts deploy nabla --network foucoco --deployment mockTestnet`

Alternatively you can use the parameter `local` instead of `foucoco`. This expects that there is a local chain running
on port `9944` – this is particularly useful to run together with
the [foucoco-standalone](https://github.com/pendulum-chain/foucoco-standalone) node.

## General deployment instructions

The `deploy` command takes two required arguments:

- `--network`: one of the networks defined in the file `nabla/config.json` (`pendulum`, `foucoco` or `local`)
- `--deployment`: one of the deployment definitions, see `nabla/deployments/selector.ts`:
- `usdtVortexPrototype`: described [on Notion](https://www.notion.so/satoshipay/24-05-16-USDT-Prototype-Deployment-1118b1b29b2f806f9070e734a10162d3)
- `usdcAxelarVortexPrototype`: described [on Notion](https://www.notion.so/satoshipay/24-07-04-USDC-axl-Prototype-Deployment-1118b1b29b2f80c7ba3ad321c6bb3e8b)
- `productionPendulum`: described [on Notion](https://www.notion.so/satoshipay/24-09-30-Public-Deployment-1118b1b29b2f807283dbd10e0a6ae8b9)
- `mockTestnet`: described [on Notion](https://www.notion.so/satoshipay/24-09-30-Nabla-Foucoco-Paseo-Deployment-1118b1b29b2f804eababf94383a56f7b)
- `slippageTest`: used for validating slippage calulcations, see [this page on Notion](https://www.notion.so/satoshipay/24-09-30-Public-Deployment-1118b1b29b2f807283dbd10e0a6ae8b9?pvs=4#1158b1b29b2f80bc8be8efb7bc5197b4)

# Required

```
Expand Down Expand Up @@ -90,4 +102,4 @@ subdirectories of `target/git`.
These are only available if the `npm install` or `yarn install` command was executed successfully in the respective
directory.
This should automatically be done by the 'deploy' script though, so if you encounter this issue, try debugging
dependency issues in the respective `package.json` file.
dependency issues in the respective `package.json` file.
635 changes: 0 additions & 635 deletions nabla-pendulum/NablaCurve.contract

This file was deleted.

3 changes: 0 additions & 3 deletions nabla-pendulum/README.md

This file was deleted.

582 changes: 0 additions & 582 deletions nabla-pendulum/VendingMachine.contract

This file was deleted.

85 changes: 0 additions & 85 deletions nabla-pendulum/_lib.ts

This file was deleted.

107 changes: 0 additions & 107 deletions nabla-pendulum/config.json

This file was deleted.

26 changes: 0 additions & 26 deletions nabla-pendulum/deploy/01_deploy_router.ts

This file was deleted.

30 changes: 0 additions & 30 deletions nabla-pendulum/deploy/02_deploy_token_wrappers.ts

This file was deleted.

43 changes: 0 additions & 43 deletions nabla-pendulum/deploy/03_deploy_oracle_wrappers.ts

This file was deleted.

32 changes: 0 additions & 32 deletions nabla-pendulum/deploy/04_deploy_curves.ts

This file was deleted.

Loading

0 comments on commit 48bf572

Please sign in to comment.