generated from metaplex-foundation/solana-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1c3fe65
commit a945020
Showing
45 changed files
with
538 additions
and
302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
[workspace] | ||
members = ["clients/rust", "programs/solana-serialization-benchmark"] | ||
resolver = "2" | ||
members = [ | ||
"clients/rust", | ||
"programs/mpl-project-name" | ||
] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,22 @@ | ||
<h1 align="center"> | ||
Solana Project Template | ||
</h1> | ||
<p align="center"> | ||
A template for vanilla Solana programs and their clients. | ||
</p> | ||
<p align="center"> | ||
<img width="600" alt="Solana Project Template" src="https://github.com/metaplex-foundation/solana-project-template/assets/729235/aebf053a-d6fa-440b-9766-8957e843ec86" /> | ||
</p> | ||
<p align="center"> | ||
<a href="https://github.com/metaplex-foundation/solana-project-template/actions/workflows/main.yml"><img src="https://img.shields.io/github/actions/workflow/status/metaplex-foundation/solana-project-template/main.yml?logo=GitHub" /></a> | ||
</p> | ||
|
||
## Features | ||
|
||
- **Generate IDLs** using [Shank](https://github.com/metaplex-foundation/shank) | ||
- **Generate clients** for one or more programs using [Kinobi](https://github.com/metaplex-foundation/kinobi) | ||
- Configure **local validators** using [Amman](https://github.com/metaplex-foundation/amman) | ||
- **Build, test and lint** programs and clients using GitHub Actions. | ||
- **Publish** your [Umi](https://github.com/metaplex-foundation/umi) JavaScript client and its TypeScript documentation by dispatching a GitHub workflow. | ||
- **Publish** your Rust client SDK to [crates.io](https://crates.io) by dispatching a GitHub workflow. | ||
|
||
## Getting started | ||
|
||
1. [Use this template](https://github.com/new?template_name=solana-project-template&template_owner=metaplex-foundation) to create a new repository. | ||
2. Open the `init.sh` script and update the following variables. | ||
```sh | ||
NAME="mpl-project-name" | ||
DESCRIPTION="My project description" | ||
PUBLIC_KEY="MyProgram1111111111111111111111111111111111" | ||
``` | ||
3. Run the `init.sh` script to initialize the project. This will find/replace the variable above, rename some files/folders, update the README and, finally, remove the `init.sh` script. | ||
```sh | ||
./init.sh | ||
``` | ||
4. [Read the `CONTRIBUTING.md` file](./CONTRIBUTING.md) to learn more about how to use the project. | ||
# Solana Serialization Benchmark | ||
|
||
Benchmarks for rust serialization frameworks, inspired by https://github.com/djkoloski/rust_serialization_benchmark. | ||
|
||
## Programs | ||
|
||
This project contains the following programs: | ||
|
||
- [Solana Serialization Benchmark](./programs/solana-serialization-benchmark/README.md) `BENCHVr3SC7dVDMtKVpwctjFNPBMrqvXn9JVACJg3KEb` | ||
|
||
You will need a Rust version compatible with BPF to compile the program, currently we recommend using Rust 1.68.0. | ||
|
||
## Clients | ||
|
||
This project contains the following clients: | ||
|
||
- [JavaScript](./clients/js/README.md) | ||
- [Rust](./clients/rust/README.md) | ||
|
||
## Contributing | ||
|
||
Check out the [Contributing Guide](./CONTRIBUTING.md) the learn more about how to contribute to this project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "@metaplex-foundation/mpl-project-name", | ||
"name": "@metaplex-foundation/solana-serialization-benchmark", | ||
"version": "0.1.0", | ||
"description": "My project description", | ||
"main": "dist/src/index.js", | ||
|
@@ -22,7 +22,7 @@ | |
"registry": "https://registry.npmjs.org" | ||
}, | ||
"homepage": "https://metaplex.com", | ||
"repository": "https://github.com/metaplex-foundation/mpl-project-name.git", | ||
"repository": "https://github.com/metaplex-foundation/solana-serialization-benchmark.git", | ||
"author": "Metaplex Maintainers <[email protected]>", | ||
"license": "Apache-2.0", | ||
"dependencies": { | ||
|
@@ -63,4 +63,4 @@ | |
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.