Skip to content

Conversation

odiinnn
Copy link

@odiinnn odiinnn commented Oct 7, 2025

NOTE

Please enable "Allow edits by maintainers" while putting up the PR.


  • If you would like to add a tvl adapter please submit the PR here.
  1. Once your adapter has been merged, it takes time to show on the UI. If more than 24 hours have passed, please let us know in Discord.
  2. Please fill the form below only if the PR is for listing a new protocol else it can be ignored/replaced with reason/details about the PR
  3. For updating listing info It is a different repo, you can find your listing in this file: https://github.com/DefiLlama/defillama-server/blob/master/defi/src/protocols/data4.ts, you can edit it there and put up a PR
  4. Do not edit/push poackage.json/package-lock.json file as part of your changes
  5. No need to go to our discord/other channel and announce that you've created a PR, we monitor all PRs and will review it asap

Name (to be shown on DefiLlama): PACT SWAP
Twitter Link: https://x.com/PACT_SWAP
List of audit links if any:
Website Link: https://pactswap.io/
Logo (High resolution, will be shown with rounded borders): https://drive.google.com/drive/folders/115wM26FRzTCi_Ctzyebdk4cJY07TqrqD?usp=drive_link
Current TVL: -
Treasury Addresses (if the protocol has treasury)
Chain: BTC, ETH, BNB, TRX, POL, DOGE, LTC
Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed): (https://api.coingecko.com/api/v3/coins/list)
Coinmarketcap ID (so your TVL can appear on Coinmarketcap, leave empty if not listed): (https://api.coinmarketcap.com/data-api/v3/map/all?listing_status=active,inactive,untracked&start=1&limit=10000)
Short Description (to be shown on DefiLlama): PACT SWAP enables native BTC swaps 95% cheaper than THORChain, offers the same composability as Uniswap, supports permissionless listings, and matches the pricing users expect from retail CEX accounts — all without bridges, wrapped assets, KYCs or geo-blockers.
Token address and ticker if any:
Category (full list at https://defillama.com/categories) *Please choose only one: Dexs
Oracle Provider(s): Specify the oracle(s) used (e.g., Chainlink, Band, API3, TWAP, etc.): n/a
Implementation Details: Briefly describe how the oracle is integrated into your project: n/a
Documentation/Proof: Provide links to documentation or any other resources that verify the oracle's usage: n/a
forkedFrom (Does your project originate from another project): n/a
methodology (what is being counted as tvl, how is tvl being calculated):
Github org/user (Optional, if your code is open source, we can track activity):

- Implemented PactSwap volume fetching in bridge-aggregators/pactswap/index.ts.
- Created fee tracking helpers in fees/pactswap/helpers.ts.
- Added fee fetching logic in fees/pactswap/index.ts.
- Introduced support for COINWEB chain in helpers/chains.ts.
- Established PactSwap supported chains and volume fetching logic in helpers/aggregators/pactswap.ts.
@llamabutler
Copy link

The pactswap adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts bridge-aggregators pactswap

🦙 Running PACTSWAP adapter 🦙
---------------------------------------------------
Start Date:	Mon, 06 Oct 2025 07:21:43 GMT
End Date:	Tue, 07 Oct 2025 07:21:43 GMT
---------------------------------------------------

chain     | Daily bridge volume
---       | ---                
bsc       | 92                 
bitcoin   | 15.94 k            
doge      | 16                 
ethereum  | 19.45 k            
litecoin  | 34                 
polygon   | 0                  
tron      | 0                  
Aggregate | 35.52 k            

@llamabutler
Copy link

The pactswap adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts fees pactswap

🦙 Running PACTSWAP adapter 🦙
---------------------------------------------------
Start Date:	Mon, 06 Oct 2025 07:21:54 GMT
End Date:	Tue, 07 Oct 2025 07:21:54 GMT
---------------------------------------------------

COINWEB 👇
Daily fees: 0
End timestamp: 1759821713 (2025-10-07T07:21:53.000Z)

@odiinnn odiinnn changed the title Add PactSwap aggregator and fee tracking functionality (#1) Add PactSwap Oct 7, 2025
- Introduced a new file for PactSwap volume fetching in dexs/pactswap/index.ts.
- Implemented the fetch function to aggregate daily volume from the PactSwap API.
- Defined the adapter structure with supported chains for integration.
@llamabutler
Copy link

The pactswap adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts bridge-aggregators pactswap

🦙 Running PACTSWAP adapter 🦙
---------------------------------------------------
Start Date:	Mon, 06 Oct 2025 07:38:58 GMT
End Date:	Tue, 07 Oct 2025 07:38:58 GMT
---------------------------------------------------

chain     | Daily bridge volume
---       | ---                
bsc       | 92                 
bitcoin   | 19.40 k            
doge      | 16                 
ethereum  | 19.45 k            
litecoin  | 34                 
polygon   | 0                  
tron      | 0                  
Aggregate | 38.99 k            

@llamabutler
Copy link

The pactswap adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts dexs pactswap

🦙 Running PACTSWAP adapter 🦙
---------------------------------------------------
Start Date:	Mon, 06 Oct 2025 07:39:08 GMT
End Date:	Tue, 07 Oct 2025 07:39:08 GMT
---------------------------------------------------

chain     | Daily volume
---       | ---         
bsc       | 92          
bitcoin   | 19.40 k     
doge      | 16          
ethereum  | 19.45 k     
litecoin  | 34          
polygon   | 0           
tron      | 0           
Aggregate | 38.99 k     

@llamabutler
Copy link

The pactswap adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts fees pactswap

🦙 Running PACTSWAP adapter 🦙
---------------------------------------------------
Start Date:	Mon, 06 Oct 2025 07:39:13 GMT
End Date:	Tue, 07 Oct 2025 07:39:13 GMT
---------------------------------------------------

COINWEB 👇
Daily fees: 0
End timestamp: 1759822752 (2025-10-07T07:39:12.000Z)

@llamabutler
Copy link

The pactswap adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts bridge-aggregators pactswap

🦙 Running PACTSWAP adapter 🦙
---------------------------------------------------
Start Date:	Mon, 06 Oct 2025 07:40:31 GMT
End Date:	Tue, 07 Oct 2025 07:40:31 GMT
---------------------------------------------------

chain     | Daily bridge volume
---       | ---                
bsc       | 92                 
bitcoin   | 19.40 k            
doge      | 16                 
ethereum  | 19.45 k            
litecoin  | 34                 
polygon   | 0                  
tron      | 0                  
Aggregate | 38.99 k            

@llamabutler
Copy link

The pactswap adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts dexs pactswap

🦙 Running PACTSWAP adapter 🦙
---------------------------------------------------
Start Date:	Mon, 06 Oct 2025 07:40:41 GMT
End Date:	Tue, 07 Oct 2025 07:40:41 GMT
---------------------------------------------------

chain     | Daily volume
---       | ---         
bsc       | 92          
bitcoin   | 19.40 k     
doge      | 16          
ethereum  | 19.45 k     
litecoin  | 34          
polygon   | 0           
tron      | 0           
Aggregate | 38.99 k     

@llamabutler
Copy link

The pactswap adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts fees pactswap

🦙 Running PACTSWAP adapter 🦙
---------------------------------------------------
Start Date:	Mon, 06 Oct 2025 07:40:45 GMT
End Date:	Tue, 07 Oct 2025 07:40:45 GMT
---------------------------------------------------

COINWEB 👇
Daily fees: 0
End timestamp: 1759822844 (2025-10-07T07:40:44.000Z)

@odiinnn odiinnn marked this pull request as ready for review October 7, 2025 10:12
@odiinnn
Copy link
Author

odiinnn commented Oct 7, 2025

Hi! Should we also open a pr on https://github.com/DefiLlama/DefiLlama-Adapters to list Coinweb chain?

@noateden noateden self-assigned this Oct 7, 2025
@noateden
Copy link
Contributor

noateden commented Oct 11, 2025

hi @odiinnn thanks for the PR. Is this a DEX or DEX aggregator? If this is a DEX, you need open PR on https://github.com/DefiLlama/DefiLlama-Adapters to track TVL too

@odiinnn
Copy link
Author

odiinnn commented Oct 13, 2025

@noateden Hi! There is a PR DefiLlama/DefiLlama-Adapters#16651

@llamabutler
Copy link

The pactswap adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts bridge-aggregators pactswap

🦙 Running PACTSWAP adapter 🦙
---------------------------------------------------
Start Date:	Sun, 12 Oct 2025 06:41:04 GMT
End Date:	Mon, 13 Oct 2025 06:41:04 GMT
---------------------------------------------------

chain     | Daily bridge volume
---       | ---                
bsc       | 108                
bitcoin   | 81                 
doge      | 0                  
ethereum  | 104                
litecoin  | 0                  
polygon   | 0                  
tron      | 0                  
Aggregate | 293                

@llamabutler
Copy link

The pactswap adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts dexs pactswap

🦙 Running PACTSWAP adapter 🦙
---------------------------------------------------
Start Date:	Sun, 12 Oct 2025 06:41:15 GMT
End Date:	Mon, 13 Oct 2025 06:41:15 GMT
---------------------------------------------------

chain     | Daily volume
---       | ---         
bsc       | 108         
bitcoin   | 81          
doge      | 0           
ethereum  | 104         
litecoin  | 0           
polygon   | 0           
tron      | 0           
Aggregate | 293         

@llamabutler
Copy link

The pactswap adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts fees pactswap

🦙 Running PACTSWAP adapter 🦙
---------------------------------------------------
Start Date:	Sun, 12 Oct 2025 06:41:20 GMT
End Date:	Mon, 13 Oct 2025 06:41:20 GMT
---------------------------------------------------

COINWEB 👇
Daily fees: 0
End timestamp: 1760337679 (2025-10-13T06:41:19.000Z)

@llamabutler
Copy link

The pactswap adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts dexs pactswap

🦙 Running PACTSWAP adapter 🦙
---------------------------------------------------
Start Date:	Sun, 12 Oct 2025 06:42:18 GMT
End Date:	Mon, 13 Oct 2025 06:42:18 GMT
---------------------------------------------------

chain     | Daily volume
---       | ---         
bsc       | 108         
bitcoin   | 81          
doge      | 0           
ethereum  | 104         
litecoin  | 0           
polygon   | 0           
tron      | 0           
Aggregate | 293         

@llamabutler
Copy link

The pactswap adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts fees pactswap

🦙 Running PACTSWAP adapter 🦙
---------------------------------------------------
Start Date:	Sun, 12 Oct 2025 06:42:28 GMT
End Date:	Mon, 13 Oct 2025 06:42:28 GMT
---------------------------------------------------

COINWEB 👇
Daily fees: 0
End timestamp: 1760337747 (2025-10-13T06:42:27.000Z)

@llamabutler
Copy link

The pactswap adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts dexs pactswap

🦙 Running PACTSWAP adapter 🦙
---------------------------------------------------
Start Date:	Sun, 12 Oct 2025 06:57:14 GMT
End Date:	Mon, 13 Oct 2025 06:57:14 GMT
---------------------------------------------------

chain     | Daily volume
---       | ---         
bsc       | 108         
bitcoin   | 81          
doge      | 0           
ethereum  | 104         
litecoin  | 0           
polygon   | 0           
tron      | 0           
Aggregate | 293         

@llamabutler
Copy link

The pactswap adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts fees pactswap

🦙 Running PACTSWAP adapter 🦙
---------------------------------------------------
Start Date:	Sun, 12 Oct 2025 06:57:28 GMT
End Date:	Mon, 13 Oct 2025 06:57:28 GMT
---------------------------------------------------

COINWEB 👇
Daily fees: 0
End timestamp: 1760338647 (2025-10-13T06:57:27.000Z)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants