Skip to content

Local implementation of simulated tx #22271

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

Open
web3olalala opened this issue May 30, 2025 · 5 comments
Open

Local implementation of simulated tx #22271

web3olalala opened this issue May 30, 2025 · 5 comments

Comments

@web3olalala
Copy link

hello guys, I'm realizing the development of the Sui contract toolchain and I'm currently experiencing a technical problem.

  1. How to implement a devInspectTransactionBlock function locally, maybe I need to synchronize the related Object and contract bytecode locally?

  2. Is it possible to implement a function similar to Hardhat's ability to replicate the state of mainet to local ?

Copy link
Contributor

Thank you for opening this issue, a team member will review it shortly. Until then, please do not interact with any users that claim to be from Sui support and do not click on any links!

@hyd628
Copy link
Collaborator

hyd628 commented May 30, 2025

@web3olalala to run that locally, you would need to run a local instance of Sui blockchain. You could check this project as a starter: https://suibase.io/

  1. That's im not sure about, but the mainnet state of Sui is fairly big, so you would at least need a large amount of storage space that's beyond most personal computer.

@stefan-mysten
Copy link
Contributor

For 2, we do not have a forking capability yet. It's something we want to add, but there's no ETA yet.

@web3olalala
Copy link
Author

@stefan-mysten For 1, any suggestions? I'd like to create a minimal simulation of a packge locally.

@stefan-mysten
Copy link
Contributor

@web3olalala I am not sure, I asked internally and hope that someone will be able to share some insights on 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants