Releases: MeshJS/mesh
1.8.0 - Chang+1
Cost models on mainnet has been updated to Chang+1
1.7.0 - Chang
Features
- Chang Cost models
- PlutusV3
- General transaction structure changes to fit Conway
- Embedded datum
- dRep in Browser Wallet
- New experimental utxo selection
- Add verbose to transaction
Chore
- test cases
- Docs
- mesh CLI clean up
Contributors
Mesh 1.5.0
- Add
sendToken
to the transaction builder - Add support to more than 20 fungible tokens including
DJED
andSHEN
- Implement a brand new Coin Selection Algorithm called
Keep Relevant
- Enable using Plutus Script Reference for minting
Mesh 1.4.0
Dandelion Support
Now you can provide a custom base URL
when instantiating a cardano provider using MeshJS, thus you can use one of the already deployed services on Dandelion in your MeshJS App.
Ogmios Provider
MeshJS is officially adding Ogmios as one of the Cardano data providers, allowing users to use evaluateTx
,submitTx
, and onNextTx
natively. it uses the Ogmios instance deployed on Dandelion by default, but it also accepts custom URL
if you have one deployed already.
Define IEvaluator
and IListener
contracts
Two new contracts got added to MeshJS allowing the evaluation of smart-contract transactions, to better estimate the budget required to execute a transaction thus reducing fees, and listening to newly submitted transactions and getting a callback executed as soon it gets confirmed on-chain.
Mesh 1.3.0
Minting Assets using Plutus Scripts
Mint tokens with a smart contract, utilizing the Plutus validator to determine under what kind of conditions to allow the minting to take place.
Prove Wallet Ownership with DataSign
Cryptographically prove the ownership of a wallet by signing a piece of data using DataSign. This Guide will show how to use the newly implemented checkSignature
function to authenticate users.
Enable Staking Transactions
New APIs for staking ADA and managing stake address - register, unregister, stake, and withdraw operations.
Support Reference Scripts in Transactions
You can reduce the size and cost of your transactions by using reference scripts.
Mesh 1.2.1
- ADA Handle Support Added
- Tangocrypto Provider Added
- Add Support for preview and preprod to Koios Provider
- Add
fetchAssetAddresses
to fetcher contract
Mesh 1.2.0
Mesh React
Mesh provides a collection of useful UI components, so you can easily include web3 functionality and convenient utilities for your application. To start, install the new mesh-react
package:
yarn add @martifylabs/mesh-react
MeshProvider
MeshProvider
was added to allow your app to subscribe to context changes and wallet states.
import { MeshProvider } from "@martifylabs/mesh-react";
function MyApp({ Component, pageProps }: AppProps) {
return (
<MeshProvider>
<Component {...pageProps} />
</MeshProvider>
);
};
UI Components
Mesh offers UI components you need to build your dApp, so you can jumpstart your next project and bring the user interface to life.
In this release, we introduce CardanoWallet
and MeshBadge
:
import { CardanoWallet } from '@martifylabs/mesh-react';
export default function Page() {
return (
<>
<CardanoWallet />
<MeshBadge dark={false} />
</>
);
}
Wallet Hooks
In a React application, Hooks allows you to extract and reuse stateful logic and variables without changing your component hierarchy. This makes it easy to reuse the same Hook among many components.
In this release, we introduce the following React hooks:
- useWalletList
- useAddress
- useAssets
- useLovelace
- useNetwork
- useWallet
Mesh 1.1.0
AppWallet
Whether you are building a minting script or an application that requires multi-signature, AppWallet
is all you need to get started.
Explore Playground for documentation and demo.
New features in this release:
- Generate wallet
- Load wallet
- Mnemonic phrases
- Private keys
- Cardano CLI generated signing keys
- Sign transactions
- Sign data
Resolvers
Helpful functions that you need while building dApps.
Explore Playground for documentation and demo.
Mesh 1.0.0
BrowserWallet
BrowserWallet
APIs are in accordance to CIP-30, which defines the API for dApps to communicate with the user's wallet. Additional utility functions are provided for developers that are useful for building dApps.
Explore Playground for documentation and demo.
New features in this release:
- Get installed wallets
- Connect wallet
- Get balance
- Get change address
- Get network ID
- Get reward addresses
- Get used addresses
- Get unused addresses
- Get UTXOs
- Sign data
- Sign transaction
- Submit transaction
- Get lovelace
- Get assets
- Get policy IDs
- Get collection of assets
Transaction
Transaction
allows you to build transactions such as minting native assets, and redeeming from smart contract. You can chain multiple actions to create a complex transaction. For instance, you can send ADA and NFTS to multiple addresses, lock and unlock from smart contract, mint and burn some assets, all within a single transaction.
Explore Playground for documentation and demo.
New features in this release:
- Send ADA to addresses
- Send multi-assets to addresses
- Minting assets
- Burning assets
- Lock assets on smart contract
- Unlock assets on smart contract
- Designing datum