Skip to content

Commit f461c42

Browse files
committed
chore: merge master [skip ci]
2 parents 1da46c6 + c2edd17 commit f461c42

File tree

146 files changed

+6163
-6275
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+6163
-6275
lines changed

.env

Lines changed: 12 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ STACKS_CHAIN_ID=0x00000001
9393
# are placeholders that should be replaced with the actual subnet mainnet chainID
9494
CUSTOM_CHAIN_IDS=testnet=0x55005500,mainnet=12345678,mainnet=0xdeadbeaf
9595

96+
# If enabled, the API will skip the startup validation request to the stacks-node /v2/info RPC endpoint
97+
# SKIP_STACKS_CHAIN_ID_CHECK=1
98+
9699
# Seconds to allow API components to shut down gracefully before force-killing them, defaults to 60
97100
# STACKS_SHUTDOWN_FORCE_KILL_TIMEOUT=60
98101

@@ -119,34 +122,17 @@ STACKS_NODE_TYPE=L1
119122
# Override the default file path for the proxy cache control file
120123
# STACKS_API_PROXY_CACHE_CONTROL_FILE=/path/to/.proxy-cache-control.json
121124

122-
# Enable token metadata processing. Disabled by default.
125+
# Enable FT metadata processing for Rosetta operations display. Disabled by default.
123126
# STACKS_API_ENABLE_FT_METADATA=1
124-
# STACKS_API_ENABLE_NFT_METADATA=1
125-
126-
# If token metadata processing is enabled, this variable determines how the API reacts to metadata processing failures.
127-
# When strict mode is enabled, any failures caused by recoverable errors will be retried indefinitely. Otherwise,
128-
# the API will give up after `STACKS_API_TOKEN_METADATA_MAX_RETRIES` is reached for that smart contract.
129-
# STACKS_API_TOKEN_METADATA_STRICT_MODE=1
130-
131-
# Maximum number of times we'll try processing FT/NFT metadata for a specific smart contract if we've failed
132-
# because of a recoverable error.
133-
# Only used if `STACKS_API_TOKEN_METADATA_STRICT_MODE` is disabled.
134-
# STACKS_API_TOKEN_METADATA_MAX_RETRIES=5
135-
136-
# Controls the token metadata error handling mode. The possible values are:
137-
# * `warning`: If required metadata is not found, the API will issue a warning and not display data for that token.
138-
# * `error`: If required metadata is not found, the API will throw an error.
139-
# If not specified or any other value is provided, the mode will be set to `warning`.
140-
# STACKS_API_TOKEN_METADATA_ERROR_MODE=warning
141127

142-
# Configure a script to handle image URLs during token metadata processing.
143-
# This example script uses the `imgix.net` service to create CDN URLs.
144-
# Must be an executable script that accepts the URL as the first program argument
145-
# and outputs a result URL to stdout.
146-
# STACKS_API_IMAGE_CACHE_PROCESSOR=./config/token-metadata-image-cache-imgix.js
147-
# Env vars needed for the above sample `imgix` script:
148-
# IMGIX_DOMAIN=https://<your domain>.imgix.net
149-
# IMGIX_TOKEN=<your token>
128+
# The Rosetta API endpoints require FT metadata to display operations with the proper `symbol` and
129+
# `decimals` values. If FT metadata is enabled, this variable controls the token metadata error
130+
# handling mode when metadata is not found.
131+
# The possible values are:
132+
# * `warning`: The API will issue a warning and not display data for that token.
133+
# * `error`: The API will throw an error. If not specified or any other value is provided, the mode
134+
# will be set to `warning`.
135+
# STACKS_API_TOKEN_METADATA_ERROR_MODE=warning
150136

151137
# Web Socket ping interval to determine client availability, in seconds.
152138
# STACKS_API_WS_PING_INTERVAL=5

.github/CONTRIBUTING.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Contributing
2+
3+
Thank you for considering contributing to this product! We welcome any contributions, whether it's bug fixes, new features, or improvements to the existing codebase.
4+
5+
### Your First Pull Request
6+
7+
Working on your first Pull Request? You can learn how from this free video series:
8+
9+
[How to Contribute to an Open Source Project on GitHub](https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github)
10+
11+
To help you get familiar with our contribution process, we have a list of [good first issues](../../issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) that contain bugs that have a relatively limited scope. This is a great place to get started.
12+
13+
If you decide to fix an issue, please be sure to check the comment thread in case somebody is already working on a fix. If nobody is working on it at the moment, please leave a comment stating that you intend to work on it so other people don’t accidentally duplicate your effort.
14+
15+
If somebody claims an issue but doesn’t follow up for more than two weeks, it’s fine to take it over but you should still leave a comment. **Issues won't be assigned to anyone outside the core team**.
16+
17+
### Contribution Prerequisites
18+
19+
... 🚧 Work in progress 🚧 ...

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
contact_links:
2+
- name: Ask the community
3+
url: https://discord.gg/KrqnVg8D
4+
about: Ask and discuss questions with other Stacks community developers.

0 commit comments

Comments
 (0)