Repository navigation
docs: build with TxBuilder - #18
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
lisicky
force-pushed
the
docs/tx-builder-pages
branch
from
November 29, 2026 20:57
b83fd26 to
ac039d0
Compare
This was referenced Dec 3, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Every page that still built transactions with
MeshTxBuildernow builds them withTxBuilderparts: the smart contract pages, the providers, the guides, the course and resources, the API pages, and the home page, AI, Aiken, Hydra, NFT, Svelte and Yaci pages.MeshTxBuilderstays only in the legacy builder pages, the migration guide and the links to it.The change also fixes problems the pages had before it: dead links, browser wallet addresses passed in hex where bech32 is needed, an expired slot in the course, the TxParser pages' serializer and the Offline Evaluator page's evaluator from
@meshsdk/core-csl, and a transaction CBOR read from a field that does not exist.Merge together with MeshJS/mesh#880, MeshJS/mesh#881 and MeshJS/mesh#883:
builder(#881);collateralpart may also be spent when the payer's UTxOs hold it (#880);OfflineEvaluatorfrom@meshsdk/core(#883).Contents
new TxBuilder({ network, provider })andnew MeshContractName({ builder, wallet }). The index explains thebuilderinput and thatmeshis deprecated. The vesting page's manual deposit and withdrawal are written with parts, and plutus-nft readslovelacePrice, the field the contract returns.provider, evaluation examples evaluatebuilt.tx, and redeemer budgets areexUnits. Hydra builds takeparamsandsubmitter.built.sign()and submitted withbuilt.submit(). Pages that connect a browser wallet submit through it./docs/...links point to/...,/walletsto/apis/wallets,/solutionsand/challengesto/resources/...(also in the menu and footer data), and/transaction/basics,/apis/transactionand/apis/react/wallet-hooksto the pages that replaced them. The rest point to the closest page, and the Catalyst links to the proposals dashboard, as the About menu does.getUsedAddresses()andgetChangeAddress()give hex, andresolvePaymentKeyHash,deserializeAddressandcheckSignatureread bech32 only. The Aiken pages, the vesting, NFT marketplace and wallet ownership guides, the content-ownership contract and the wallet hooks page read those addresses withgetUsedAddressesBech32()andgetChangeAddressBech32(). The wallet ownership guide also callssignData(address, payload), in the wallet's order.builder.slotAt). Slot 99999999 has passed, so the ledger refused the mint.CardanoSDKSerializerfrom@meshsdk/core-cst, as the repository's tests do, instead ofCSLSerializerfrom@meshsdk/core-csl.txInfo.tx.cborHex, andTransactionInfohas notx. It reads the CBOR from Blockfrost's/txs/{hash}/cborthroughprovider.get.OfflineEvaluatorcame from@meshsdk/core-csl, which is gone. It comes from@meshsdk/corenow (#883), as the same class asOfflineEvaluatorScalus. The page says how a failing script is reported now, lists the vote and proposal tags, and says that Jest needs--experimental-vm-modules.MeshTxBuilder, sinceTxParser.parse()returns aMeshTxBuilderBody, which onlyMeshTxBuilder.complete()takes;MeshTxBuilder.Validation
next build: 515 pages.data/that no list renders.MeshCardanoBrowserWalletas the contract'swallet, which is not anIWallet, and sign withsignTx(tx)(32);OfflineFetcherin@meshsdk/provider1.9.0-beta.108 declares a privatenetwork, so it is not anIFetcher(12). MeshJS/providers main makes it public (4a3dd7b), and no release has that yet;MeshCardanoHeadlessWallet.fromCliKeysdoes not exist (3);YaciProvider.getDevnetInfo()is typedPromise<void>(1);TxEmulator.