Skip to content

Conversation

@mr-zwets
Copy link
Member

@mr-zwets mr-zwets commented Sep 17, 2024

adds mocknet support like documented in issue #14

This PR adds/changes the following

  1. adds 'create Utxo' functionality to contracts & wallets
  2. changes the playground to always use manual Utxo selection (required for mocknet)
  3. adds a 'Contract Function' selector so only 1 contract function is displayed
  4. Fixes long standing issue with input ordering
  5. Improves error handling for mocknet to give the user nice error messages
  6. Fixes state-sync issues between wallet/contract utxos and the transactionbuilder

This PR also discovered some weird things about the mocknetwork provider, for which there are now 3 issues on the main repo

screenshots:

image

image

image

@vercel
Copy link

vercel bot commented Sep 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cashscript-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 17, 2024 5:22pm

@mr-zwets mr-zwets changed the title add mocknet [WIP] add mocknet support, make it the new default Sep 17, 2024
@mr-zwets mr-zwets requested a review from rkalis September 17, 2024 13:45
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

Successfully merging this pull request may close these issues.

3 participants