Crypto Trading Bots

Near Intents AMM SolverSample Automated Market Maker for NEAR

Free open-source AMM solver for NEAR Intents and NEP-141 token pairs. Learn what it does, how to install it safely and who should use it.

Free Open source Windows: Unverified Updated 12 Aug 2026
8 min read Last update 12 Aug 2026 github.com/defuse-protocol/near-intents-amm-solver

Near Intents AMM Solver is a free, open-source sample program for developers and advanced users who want to see how an automated market maker can respond to swap requests on the NEAR Intents protocol. It implements AMM pricing for a chosen pair of NEP-141 tokens, the standard fungible tokens used on the NEAR blockchain.

The project is a reference example rather than a polished retail trading app, so it suits people who are comfortable with code and want to study or extend the logic. Its source is written in JavaScript and TypeScript and lives on GitHub, where the repository was last updated in August 2026. Windows is among the platforms named in the documentation, and this page explains how to approach installation and safety on that system.

02

What Is an Automated Market Maker and How Does It Price Trades?

Traditional exchanges usually match buyers and sellers through an order book, where each price level holds specific bids and offers. An automated market maker works differently. It keeps a liquidity pool that holds two tokens, and the price of a swap adjusts with the balances in that pool and a pricing formula.

Liquidity providers supply both tokens to the pool, and the pool's balances determine the price any trader sees. When someone swaps one token for another, the pool gets a little richer in the token that came in and poorer in the token that went out, so the next quote shifts. Larger trades move the price more than smaller ones.

For example, imagine a pool holding USDT and another NEP-141 token. A trader who sells a large amount of USDT into the pool will receive less of the other token per unit than a trader making a small swap at the start. Understanding this effect is the first step to reading any AMM solver's output correctly.

03

How a Solver Fits Into Intent-Based Trading

In an intent-based system, a user describes the outcome they want rather than every on-chain step needed to get there. A request might say, in effect, that the user wants to receive at least a certain amount of one token in exchange for another. The user does not have to know which liquidity source will fill it.

That is where solvers come in. A solver is a participant that looks at incoming intents, works out how it could fulfill them, and proposes a route. Several solvers can compete for the same request, and the most attractive quote can win. An AMM solver is one type of participant, quoting prices from its own pool.

This program illustrates that role in a compact form. It shows how a solver turns a pair of token balances into a quote, which is useful context for anyone who wants to understand the flow before looking at more complex strategies.

04

Who Should Study or Build With This Solver

The most natural audience is developers who want to build or test solvers for NEAR Intents. A team that plans to offer its own pricing might use this code as a baseline, compare its quotes against a simple AMM model, and then add features such as custom risk limits or more advanced routing.

Researchers and students can also benefit. Because the logic is readable and tied to a specific protocol, it works well as a case study in how automated market makers behave under different trade sizes and pool balances. Instructors can use it to show the gap between theory and a working implementation.

This is not the right tool for someone who wants a one-click bot that promises steady returns. The program does not come with a graphical trading dashboard, and it assumes that you can handle configuration and troubleshooting on your own.

05

Key features

AMM pricing for token pairs

The core job of the program is to quote prices for a chosen pair of tokens using automated market maker logic. Instead of matching individual buy and sell orders, it calculates a price from the pool it represents, which makes the pricing behavior easy to study step by step.

NEP-141 token support

The solver is built around NEP-141, the fungible token standard on NEAR. That focus means it works with tokens that follow this standard, so you can examine how a single token standard shapes the way a solver reads balances and quotes swaps.

Open-source codebase

The full source is public on GitHub and written in JavaScript and TypeScript. You can read every step of the pricing logic, modify it for experiments, or use it as a template when building your own solver.

Listed cross-platform support

The documentation names Windows, macOS and Linux as platforms. Windows compatibility has not been independently confirmed, so treat it as a starting point and plan to test the setup on your own machine before relying on it.
06

Supported coins

The program is built around a pair of NEP-141 tokens, the fungible token standard on NEAR. The documentation mentions USDT as an example asset. Other NEP-141 pairs can be used in principle, provided the solver is configured for them and the tokens have enough liquidity in your own setup to make the quotes meaningful.

07

How to install Near Intents AMM Solver on Windows

  1. 1

    Get the official files

    Open the project repository at github.com/defuse-protocol/near-intents-amm-solver and check the Releases page for a packaged build. Download only from the official website or GitHub, and never use mirror sites or download links shared in chats or forums.

  2. 2

    Verify the download

    Compare the SHA-256 checksum of the file with the value published by the maintainers, or check the release signature if one is provided. If the values do not match, delete the file and do not run it.

  3. Install or build

    Extract the files to a folder you control. If no packaged build is available, you will need to build from source, which requires the JavaScript toolchain described in the project's README. Because Windows support is listed but not independently confirmed, expect to troubleshoot dependencies on your first attempt.

08

How to use Near Intents AMM Solver

Think of the solver as a lab setup rather than a finished app. Work through these steps in order so you understand what it does before it touches any real tokens.

  1. Read the README and review the basics of NEP-141 tokens and the NEAR Intents protocol so the terms make sense.
  2. Choose the token pair you want the AMM to quote, starting with USDT and one other NEP-141 token.
  3. Configure the solver for that pair by following the project's instructions, and double-check each token contract address.
  4. Run the solver in a test environment with no real funds.
  5. Review the logs and quotes it produces, and compare them with the results you expect from simple AMM math.
  6. Change the pool balances or trade sizes and observe how the quotes move.
  7. Only after you understand the behavior, consider any real deployment, and start with small amounts.
09

Pros & cons

Pros
  • Free and open source, with code you can read and modify
  • Focused on AMM pricing for NEP-141 token pairs on NEAR Intents
  • Written in JavaScript and TypeScript, familiar to many web developers
  • Useful as a reference for learning how solvers quote prices
Cons
  • A sample implementation, not a turnkey trading bot
  • Windows compatibility is listed in the documentation but not independently verified
  • Requires technical setup and comfort with command-line tools
  • Only USDT is mentioned as an example asset in the documentation
10

Is Near Intents AMM Solver safe?

Treat this as software that can touch real funds. Download only from the official website or the project's GitHub repository, and verify the SHA-256 checksum or signature before running any file. Never enter a seed phrase or private key on a third-party website, in a chat, or in a form that claims to sync or verify your account. Because this is a sample solver, expect rough edges and review the code yourself before connecting any wallet. Run it first with no real funds, and check the latest version on the official website before installing.

  • Official source only. Download from github.com/defuse-protocol/near-intents-amm-solver. Ignore ads and lookalike domains.
  • Check the SHA-256. Compare the installer hash with the value the developer publishes before running it.
  • Never share your seed phrase. No developer, support agent or website — including CryptApps — will ever ask for it.
11

Alternatives

Most tools on this list are general trading bots or terminals, while Near Intents AMM Solver is a narrow reference implementation for one protocol. Quantify is a Python trading terminal focused on multi-strategy backtesting and signal monitoring, which suits people who want a full research desk. Kelp is a market making bot for the Stellar marketplace and for centralized exchanges, so its scope differs from an AMM that quotes NEP-141 pairs. Gunbot is a locally installed trading bot, and Moon Bot is a bot terminal for Binance and other exchanges. If your goal is to learn or build solver logic on NEAR, this program is the more relevant starting point. If you want a ready-made bot for exchange trading, the other options fit better.

12

Specifications

Price
Free
Type
Open source
License
—
Latest version
—
Last update
12 Aug 2026
Windows support
Unverified (Windows mentioned in docs)
Source code
github.com/defuse-protocol/near-intents-amm-solver
13

Frequently asked questions

Yes. The program is listed as free and open source, so you can download the code without a license fee. Running it still involves the costs of the networks you interact with and the time you spend on setup. Any trading you do with real tokens is your own decision.

It can be run safely if you take basic precautions. Because it interacts with tokens, download it only from the official website or GitHub, verify the checksum or signature, and never share a seed phrase with any person or site. Start with test setups before using real funds.

Windows is listed among the supported platforms in the project documentation. Compatibility has not been independently confirmed, so run a test first and be ready to fix dependencies. The code is hosted on GitHub, so you may need to build it yourself if no packaged build is published.

A solver is a participant that responds to a user's intent, which is a request for an outcome such as swapping one token for another at a certain price. Solvers compete to fill the request, and an AMM solver quotes prices from a liquidity pool. This program shows one example of that role in a readable form.

The program is designed for a pair of NEP-141 tokens on NEAR. The documentation mentions USDT as an example, and you can configure other NEP-141 pairs. Check each token contract address carefully before you set up a pair.

No. It is a sample solver aimed at developers and advanced users. Beginners who want a guided interface may prefer general trading bots or terminals, although those tools come with their own risks and learning curves.

This page makes no promise of profit. An AMM sets prices with a formula, and results depend on market conditions, configuration and the trades you execute. Treat the program as a learning and testing tool rather than a source of income.

14

Verdict

Near Intents AMM Solver is a useful free resource for developers who want to understand or build AMM logic for NEAR Intents. It is open source, focused on one task, and was updated recently. It is not a turnkey trading bot, and Windows compatibility should be tested rather than assumed. If you are comfortable with code and will test before risking real funds, it is worth a close look. Casual traders who want a simple interface should choose a different kind of tool.

Download now