Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
05f5632
feat: implement settleIn function for onramp order processing and upd…
onahprosper Jan 24, 2026
3d24b24
refactor: update settleIn and settleOut function documentation for cl…
onahprosper Jan 24, 2026
798b088
refactor: rename OrderSettled event to SettleOut and update order exi…
Jan 26, 2026
f282199
refactor: update Gateway contract to rename settle function to settle…
Jan 26, 2026
662ea53
chore: update package-lock and yarn.lock files to remove extraneous d…
Jan 26, 2026
122d9f2
refactor: update comments in Gateway and IGateway contracts for clari…
onahprosper Jan 26, 2026
b631eb0
Refactor code structure for improved readability and maintainability
onahprosper Jan 26, 2026
11b7047
fix: update Gateway contract to handle aggregator fees instead of pro…
onahprosper Jan 26, 2026
72204c2
refactor: update Gateway contract to improve fee handling and add agg…
chibie Jan 26, 2026
3aeaca3
Refactor fee handling in Gateway contract to calculate recipient amou…
onahprosper Jan 27, 2026
501425a
Refactor code structure for improved readability and maintainability
onahprosper Jan 28, 2026
4fe2f00
feat:
onahprosper Feb 2, 2026
cdf3ba0
chore: update hardhat configuration and dependencies
chibie Feb 2, 2026
af5d499
feat: add custom Hardhat tasks for account listing and contract flatt…
onahprosper Feb 2, 2026
eeaf0d0
chore: update Hardhat configuration and dependencies
onahprosper Mar 18, 2026
c1b88ef
refactor: enhance Gateway contract with SafeERC20 for secure token tr…
onahprosper Mar 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
1,326 changes: 0 additions & 1,326 deletions GatewayFlattened.sol

This file was deleted.

30 changes: 22 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,37 @@ Paycrest contracts are multi-chain EVM-based smart contracts that facilitate the

## Deployment

Deployment is done using Hardhat scripts
Deployment is done using Hardhat Ignition

#### Deploy and verify upgradeable proxy contract
#### Deploy upgradeable proxy contract

```bash
npx hardhat run scripts/deploy.ts --network <network>
npx hardhat ignition deploy ./ignition/modules/Gateway.ts --network <network>
```

#### Redeploy (reset previous deployment state)

```bash
npx hardhat ignition deploy ./ignition/modules/Gateway.ts --network <network> --reset
```

#### Verify contract

```bash
npx hardhat verify --network <network> <contract_address>
```

# for Tron network,
#### Tron network

```bash
# deploy
tronbox migrate -f 1 --to 1 --network <network>

# upgrade
tronbox migrate -f 2 --to 2 --network <network>
```

#### Upgrade proxy contract
#### Upgrade proxy contract (legacy scripts)

```bash
npx hardhat run scripts/upgrade.ts --network <network>
Expand All @@ -33,9 +50,6 @@ npx hardhat run scripts/upgrade.ts --network arbitrumOne && npx hardhat run scri

# upgrade across all EVM testnet chains
npx hardhat run scripts/upgrade.ts --network arbitrumSepolia && npx hardhat run scripts/upgrade.ts --network amoy && npx hardhat run scripts/upgrade.ts --network baseSepolia && npx hardhat run scripts/upgrade.ts --network sepolia

# for Tron network,
tronbox migrate -f 2 --to 2 --network <network>
```

#### Owner configurations
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading