|
1 | | -<h1 align="center"> |
2 | | - Anchor Project Template |
3 | | -</h1> |
4 | | -<p align="center"> |
5 | | - <img width="400" alt="Anchor Template" src="https://github.com/tensor-foundation/anchor-project-template/assets/729235/e4a818f8-b144-4347-a7df-9123c6fdd707" /> |
6 | | -</p> |
7 | | - |
8 | | -<p align="center"> |
9 | | - A template for Anchor-based programs with generated clients. |
10 | | -</p> |
11 | | - |
12 | | -## Features |
13 | | - |
14 | | -- **Generate IDLs** using [Anchor](https://github.com/coral-xyz/anchor) + [Shank](https://github.com/metaplex-foundation/shank) |
15 | | -- **Generate clients** for one or more programs using [Kinobi](https://github.com/metaplex-foundation/kinobi) |
16 | | -- Configure **local validators** using [Amman](https://github.com/metaplex-foundation/amman) |
17 | | -- **Build, test and lint** programs and clients using GitHub Actions. |
18 | | -- **Publish** your `web3.js 2.0` JavaScript client and its TypeScript documentation by dispatching a GitHub workflow. |
19 | | -- **Publish** your Rust client SDK to [crates.io](https://crates.io) by dispatching a GitHub workflow. |
20 | | - |
21 | | -## Getting started |
22 | | - |
23 | | -1. [Use this template](https://github.com/new?template_name=anchor-project-template&template_owner=tensor-foundation) to create a new repository. |
24 | | - |
25 | | -2. Open the `setup.sh` script and update the following variables. |
26 | | - ```sh |
27 | | - NAME="project-name" |
28 | | - ORGANIZATION="organization" |
29 | | - AUTHOR="author <author@email.com>" |
30 | | - DESCRIPTION="My project description" |
31 | | - PUBLIC_KEY="MyProgram1111111111111111111111111111111111" |
32 | | - ``` |
33 | | -3. Run the `setup.sh` script to initialize the project. This will find/replace the variable above, rename some files/folders, update the README and, finally, remove the `setup.sh` script. |
34 | | - ```bash |
35 | | - ./setup.sh |
36 | | - ``` |
37 | | -4. [Read the `CONTRIBUTING.md` file](./CONTRIBUTING.md) to learn more about how to use the project. |
38 | | - |
39 | | -## License |
40 | | - |
41 | | -Copyright (c) 2024 Tensor Protocol Foundation |
42 | | - |
43 | | -Licensed under the Apache License, Version 2.0 (the "License"); |
44 | | -you may not use this file except in compliance with the License. |
45 | | -You may obtain a copy of the License at |
46 | | - |
47 | | - http://www.apache.org/licenses/LICENSE-2.0 |
48 | | - |
49 | | -Unless required by applicable law or agreed to in writing, software |
50 | | -distributed under the License is distributed on an "AS IS" BASIS, |
51 | | -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
52 | | -See the License for the specific language governing permissions and |
53 | | -limitations under the License. |
| 1 | +# Amm |
| 2 | + |
| 3 | +Version 2 of the Tensor AMM program.. |
| 4 | + |
| 5 | +## Programs |
| 6 | + |
| 7 | +This project contains the following programs: |
| 8 | + |
| 9 | +- [Amm](./programs/amm/README.md) `TAMMqgJYcquwwj2tCdNUerh4C2bJjmghijVziSEf5tA` |
| 10 | + |
| 11 | +You will need a Rust version compatible with BPF to compile the program, currently we recommend using Rust 1.75.0. |
| 12 | + |
| 13 | +## Clients |
| 14 | + |
| 15 | +This project contains the following clients: |
| 16 | + |
| 17 | +- [JavaScript](./clients/js/README.md) |
| 18 | +- [Rust](./clients/rust/README.md) |
| 19 | + |
| 20 | +## Contributing |
| 21 | + |
| 22 | +Check out the [Contributing Guide](./CONTRIBUTING.md) the learn more about how to contribute to this project. |
0 commit comments