anza-xyz / anza-xyz/kit

Develop Web3.js in feature parity with Solana

Ouverte
#28 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
do-not-close enhancement
Langage dominant
TypeScript
Étoiles
695
Forks
210
Merge moyen
21 h 33 min
PR mergées (30 j)
90

Description

## Motivation
The Solana protocol uses [Feature Gates](https://github.com/solana-labs/solana/wiki/Feature-Gate-Activation-Schedule) to make consensus-breaking changes to the protocol. Often, these changes have downstream effects on Web3.js (examples: solana-labs/solana-web3.js#2013, solana-labs/solana-web3.js#2101).

It would benefit our development workflow greatly to have some semblance of feature parity with the Solana protocol, possibly by leveraging these feature IDs in Web3.js.

## Ideas
We could do this a number of ways:
- Introduce build steps for bootstrapping either a pre- or post- feature activation change in a client bundle.
- Rely on RPC calls to query feature status in order to control functionality (yuck).
- Leverage feature IDs and the [Feature Activation Schedule](https://github.com/solana-labs/solana/wiki/Feature-Gate-Activation-Schedule) to manage development branches and subsequent releases.

We should discuss further!

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.