Skip to content

Adapter for NEAR Intents project #14469

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

abhishekanirudhan
Copy link


Name (to be shown on DefiLlama):

NEAR Intents

Twitter Link:
List of audit links if any:

https://www.datocms-assets.com/50156/1738583399-hacken_aurora-labs-limited-sca-aurora-labs-defuse-contracts-dec2024_p-2024-1418_2_20250127-10_50.pdf

Website Link:

https://app.near-intents.org/

Logo (High resolution, will be shown with rounded borders):

https://app.near-intents.org/static/templates/near-intents/logo.svg

Current TVL:

10.02M

Treasury Addresses (if the protocol has treasury)
Chain:

NEAR

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):

NEAR Intents are a new type of transaction that allow information, requests, assets, and actions to be exchanged between AI agents, services, and end users.

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.):
Implementation Details: Briefly describe how the oracle is integrated into your project:
Documentation/Proof: Provide links to documentation or any other resources that verify the oracle's usage:
forkedFrom (Does your project originate from another project):
methodology (what is being counted as tvl, how is tvl being calculated):

TVL is calculated by tracking the net amount (deposits - withdrawals) of cross-chain bridged tokens and native tokens on NEAR protocol

Github org/user (Optional, if your code is open source, we can track activity):

@llamabutler
Copy link

Error while running adapter at :

Please revert changes to package.json / package-lock.json

@llamabutler
Copy link

The adapter at projects/near-intents exports TVL:

near                      9.98 M

total                    9.98 M 

return async () => {
const balances = {};

const api_tvl = "https://flipsidecrypto.xyz/api/v1/queries/912162c9-22f1-46d9-88a1-1059b8f0b6b3/data/latest";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please can we use on chain data instead?

async function tvl(api) {
const balances = {};

const api_tvl = "https://flipsidecrypto.xyz/api/v1/queries/912162c9-22f1-46d9-88a1-1059b8f0b6b3/data/latest";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please can we use on chain data instead?

@waynebruce0x waynebruce0x self-assigned this Apr 28, 2025
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