-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Add Txtx Language #7710
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
base: main
Are you sure you want to change the base?
Add Txtx Language #7710
Conversation
|
Why have you chosen to ignore the PR template? It's there for a reason. If we didn't require the template, we wouldn't provide one. This PR will not be reviewed until such time as the PR template is put into place in the OP of this PR and filled in correctly. |
|
Hey @lildude! my apologies, I completely missed the fact that there was a template 🤦♂️ |
lildude
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See inline comment.
Additionally, it looks like you haven't followed the instructions for adding a grammar detailed in the CONTRIBUTING.md file. Please do so as it automates and validates a lot of things.
.tx/.txtx: https://github.com/search?type=code&q=NOT+is%3Afork+path%3A%2Frunbooks%2F*%2F*.tx* Note: Searching for `*.tx` alone matches `*.txt` files. Txtx projects conventionally place runbooks in `runbooks/*/*.tx` paths. Approximately 1/4 of Txtx projects are public; the majority are private due to the nature of blockchain infrastructure management (deployment scripts, wallet configurations, etc.).
This is returning only 72 files. This is a very very long way from meeting our popularity requirements as detailed in the CONTRIBUTING.md file and issue it references. I understand you've deliberately limited the scope, but this is also limiting your support for the popularity. GitHub's search is quite a bit more advanced now so you can take advantage of regex or search for additional specific strings etc. I recommend you look into trying to improve your search to support our popularity requirements.
The popularity requirement needs to be met by public repos as there is no way of measuring private usage. No exceptions as this would defeat the purpose of have the requirement.
18185a2 to
e3b1307
Compare
Add support for Txtx, a declarative language for Web3 smart contract runbooks. Includes grammar, samples, and language configuration.
e3b1307 to
80c20d3
Compare
|
thanks for the quick review @lildude 🙏 |
Description
This PR adds support for Txtx, a declarative language for Web3 smart contract runbooks. Txtx is to Web3 what HashiCorp Terraform is to cloud infrastructure management - it provides infrastructure-as-code for blockchain operations, enabling developers to deploy and operate smart contracts across multiple chains (Ethereum, Solana, Stacks, and more) with enhanced security, composability, and reproducibility.
Resources:
Checklist:
.tx: https://github.com/search?type=code&q=path%3A**%2Frunbooks%2F**%2F*.tx*.txalone matches*.txtfiles. Txtx projects conventionally place runbooks inrunbooks/*/*.txpaths. Approximately 1/4 of Txtx projects are public; the majority are private due to the nature of blockchain infrastructure management (deployment scripts, wallet configurations, etc.).bns-registration.tx- Stacks BNS name registrationevm-deployment.tx- EVM smart contract deploymentsvm-program-deployment.tx- Solana program deploymentsvm-pyth-arbitrage.tx- Solana Pyth oracle integrationsvm-swap-clmm.tx- Raydium DEX swap operations#00D992.txextension does not currently conflict with other languages in Linguist. The.txtxextension is unique to Txtx. If heuristics are needed, Txtx files can be identified by their HCL-like syntax with blockchain-specific keywords (action,signer,variable,output,addon).