ChainSafe / web3.unity

🕹 Unity SDK for building games that interact with blockchains.
GNU Lesser General Public License v3.0
906 stars 234 forks source link

Convert `Web3Accessor` -> `ChainSafe` with usability features #1064

Open rob1997 opened 1 month ago

rob1997 commented 1 month ago

Summary Currently we on use Web3Acessor for fetching Web3 instance instead it can be converted into a ChainSafe singleton object that can handle connection, disconnection, signing and sending transactions.

Suggested features or ways to address the summary ChainSafe should be a singleton class with Connect, Disconnect, Sign and Send Transaction methods.

Motivation This will improve usability for devs greatly

Acceptance Criteria Devs can connect, disconnect, sign and send transaction from ChainSafe.cs Devs can immediately use read blockchain features that don't require signing, like reading things from the chain.

Blockers (OPTIONAL) [Do you see any blocker that needs to be done before implementing this feature?]

Dependencies (OPTIONAL) [Do you know about dependencies that directly affect this issue?]

Additional Context (OPTIONAL) [Add any other context, files, images (screenshots/videos), diagrams, or documents about the feature request here.]

Final Steps

Estimations

Story Point Amount of effort Amount of time Task Complexity Task Risk or Uncerntainty
5 Moderate efort A few days Mediium complexity Moderate
rob1997 commented 1 month ago

@kantagara anything you would like to add?