@meshsdk/core 1.9.0-beta.79 → 1.9.0-beta.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -32
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
|
|
9
9
|
<h1 style="border-bottom: none"><a href='https://meshjs.dev/'>Mesh</a> TypeScript SDK</h1>
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
[](https://github.com/meshjs/mesh/blob/master/LICENSE)
|
|
12
|
+
[](https://github.com/meshjs/mesh/actions/workflows/build.yml)
|
|
13
|
+
[](https://github.com/meshjs/mesh/actions/workflows/publish.yml)
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
[](https://x.com/meshsdk)
|
|
16
|
+
[](https://www.npmjs.com/package/@meshsdk/core)
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
<strong>All-in-one TypeScript SDK for Cardano apps</strong>
|
|
19
19
|
|
|
20
20
|
</div>
|
|
21
21
|
|
|
@@ -43,42 +43,42 @@ npm install @meshsdk/core
|
|
|
43
43
|
|
|
44
44
|
A collection of packages that provide different functionalities to interact with the Cardano blockchain.
|
|
45
45
|
|
|
46
|
-
|
|
|
47
|
-
|
|
|
48
|
-
| [@meshsdk/common](https://github.com/MeshJS/mesh/tree/main/packages/mesh-common)
|
|
49
|
-
| [@meshsdk/contract](https://github.com/MeshJS/mesh/tree/main/packages/mesh-contract)
|
|
50
|
-
| [@meshsdk/core](https://github.com/MeshJS/mesh/tree/main/packages/mesh-core)
|
|
51
|
-
| [@meshsdk/core-csl](https://github.com/MeshJS/mesh/tree/main/packages/mesh-core-csl)
|
|
52
|
-
| [@meshsdk/core-cst](https://github.com/MeshJS/mesh/tree/main/packages/mesh-core-cst)
|
|
53
|
-
| [@meshsdk/provider](https://github.com/MeshJS/mesh/tree/main/packages/mesh-provider)
|
|
54
|
-
| [@meshsdk/react](https://github.com/MeshJS/mesh/tree/main/packages/mesh-react)
|
|
55
|
-
| [@meshsdk/transaction](https://github.com/MeshJS/mesh/tree/main/packages/mesh-transaction) | Transactions to send assets, mint tokens, and interact with smart contracts
|
|
56
|
-
| [@meshsdk/wallet](https://github.com/MeshJS/mesh/tree/main/packages/mesh-wallet)
|
|
46
|
+
| | Description | Docs | Playground |
|
|
47
|
+
| ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------- | ----------------------------------------------- |
|
|
48
|
+
| [@meshsdk/common](https://github.com/MeshJS/mesh/tree/main/packages/mesh-common) | Contains constants, types and interfaces used across the SDK and different serialization libraries | [:page_facing_up:](https://docs.meshjs.dev/common) | |
|
|
49
|
+
| [@meshsdk/contract](https://github.com/MeshJS/mesh/tree/main/packages/mesh-contract) | A collection of smart contracts and its transactions | [:page_facing_up:](https://docs.meshjs.dev/contracts) | [:shipit:](https://meshjs.dev/smart-contracts) |
|
|
50
|
+
| [@meshsdk/core](https://github.com/MeshJS/mesh/tree/main/packages/mesh-core) | Exports all the functionalities including wallets, transactions, and providers | | [:shipit:](https://meshjs.dev/) |
|
|
51
|
+
| [@meshsdk/core-csl](https://github.com/MeshJS/mesh/tree/main/packages/mesh-core-csl) | Types and utilities functions between Mesh and cardano-serialization-lib | [:page_facing_up:](https://docs.meshjs.dev/core-csl) | |
|
|
52
|
+
| [@meshsdk/core-cst](https://github.com/MeshJS/mesh/tree/main/packages/mesh-core-cst) | Types and utilities functions between Mesh and cardano-js-sdk | [:page_facing_up:](https://docs.meshjs.dev/core-cst) | |
|
|
53
|
+
| [@meshsdk/provider](https://github.com/MeshJS/mesh/tree/main/packages/mesh-provider) | Blockchain data providers | [:page_facing_up:](https://docs.meshjs.dev/providers) | [:shipit:](https://meshjs.dev/providers) |
|
|
54
|
+
| [@meshsdk/react](https://github.com/MeshJS/mesh/tree/main/packages/mesh-react) | React component library | | [:shipit:](https://meshjs.dev/react) |
|
|
55
|
+
| [@meshsdk/transaction](https://github.com/MeshJS/mesh/tree/main/packages/mesh-transaction) | Transactions to send assets, mint tokens, and interact with smart contracts | [:page_facing_up:](https://docs.meshjs.dev/transactions) | [:shipit:](https://meshjs.dev/apis/transaction) |
|
|
56
|
+
| [@meshsdk/wallet](https://github.com/MeshJS/mesh/tree/main/packages/mesh-wallet) | Wallets to manage assets and interact with the blockchain | [:page_facing_up:](https://docs.meshjs.dev/wallets) | [:shipit:](https://meshjs.dev/apis/wallets) |
|
|
57
57
|
|
|
58
58
|
### Apps
|
|
59
59
|
|
|
60
60
|
Frontend documentation and live demos for Mesh SDK.
|
|
61
61
|
|
|
62
|
-
|
|
|
63
|
-
|
|
|
64
|
-
| [apps/docs](https://github.com/MeshJS/mesh/tree/main/apps/docs)
|
|
65
|
-
| [apps/playground](https://github.com/MeshJS/mesh/tree/main/apps/playground) | Mesh homepage and live demos | [:shipit:](https://meshjs.dev/)
|
|
62
|
+
| | Description | Website |
|
|
63
|
+
| --------------------------------------------------------------------------- | ---------------------------- | ------------------------------------ |
|
|
64
|
+
| [apps/docs](https://github.com/MeshJS/mesh/tree/main/apps/docs) | Mesh technical docs | [:shipit:](https://docs.meshjs.dev/) |
|
|
65
|
+
| [apps/playground](https://github.com/MeshJS/mesh/tree/main/apps/playground) | Mesh homepage and live demos | [:shipit:](https://meshjs.dev/) |
|
|
66
66
|
|
|
67
67
|
### Mesh Smart Contracts Library
|
|
68
68
|
|
|
69
69
|
Here's a list of open-source smart contracts, complete with documentation, live demos, and end-to-end source code.
|
|
70
70
|
|
|
71
|
-
| Contract
|
|
72
|
-
|
|
|
73
|
-
| Content Ownership
|
|
74
|
-
| Escrow
|
|
75
|
-
| Giftcard
|
|
76
|
-
| Hello World
|
|
77
|
-
| Marketplace
|
|
78
|
-
| NFT Minting Machine | Mint NFTs with an automatically incremented index, which increases by one for each newly minted NFT
|
|
79
|
-
| Payment Splitter
|
|
80
|
-
| Swap
|
|
81
|
-
| Vesting
|
|
71
|
+
| Contract | Description | Links |
|
|
72
|
+
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
73
|
+
| Content Ownership | Create a content registry and users can create content that is stored in the registry | [[demo](https://meshjs.dev/smart-contracts/content-ownership)] [[source](https://github.com/MeshJS/mesh/tree/main/packages/mesh-contract/src/content-ownership)] [[docs](https://docs.meshjs.dev/contracts/classes/MeshContentOwnershipContract)] |
|
|
74
|
+
| Escrow | Facilitates the secure exchange of assets between two parties by acting as a trusted intermediary that holds the assets until the conditions of the agreement are met | [[demo](https://meshjs.dev/smart-contracts/escrow)] [[source](https://github.com/MeshJS/mesh/tree/main/packages/mesh-contract/src/escrow)] [[docs](https://docs.meshjs.dev/contracts/classes/MeshEscrowContract)] |
|
|
75
|
+
| Giftcard | Allows users to create a transactions to lock assets into the smart contract, which can be redeemed by any user | [[demo](https://meshjs.dev/smart-contracts/giftcard)] [[source](https://github.com/MeshJS/mesh/tree/main/packages/mesh-contract/src/giftcard)] [[docs](https://docs.meshjs.dev/contracts/classes/MeshGiftcardContract)] |
|
|
76
|
+
| Hello World | A simple lock-and-unlock assets contract, providing a hands-on introduction to end-to-end smart contract validation and transaction building | [[demo](https://meshjs.dev/smart-contracts/hello-world)] [[source](https://github.com/MeshJS/mesh/tree/main/packages/mesh-contract/src/hello-world)] [[docs](https://docs.meshjs.dev/contracts/classes/MeshHelloWorldContract)] |
|
|
77
|
+
| Marketplace | Allows anyone to buy and sell native assets such as NFTs | [[demo](https://meshjs.dev/smart-contracts/marketplace)] [[source](https://github.com/MeshJS/mesh/tree/main/packages/mesh-contract/src/marketplace)] [[docs](https://docs.meshjs.dev/contracts/classes/MeshMarketplaceContract)] |
|
|
78
|
+
| NFT Minting Machine | Mint NFTs with an automatically incremented index, which increases by one for each newly minted NFT | [[demo](https://meshjs.dev/smart-contracts/plutus-nft)] [[source](https://github.com/MeshJS/mesh/tree/main/packages/mesh-contract/src/plutus-nft)] [[docs](https://docs.meshjs.dev/contracts/classes/MeshPlutusNFTContract)] |
|
|
79
|
+
| Payment Splitter | Allows users to split incoming payments among a group of accounts | [[demo](https://meshjs.dev/smart-contracts/payment-splitter)] [[source](https://github.com/MeshJS/mesh/tree/main/packages/mesh-contract/src/payment-splitter)] [[docs](https://docs.meshjs.dev/contracts/classes/MeshPaymentSplitterContract)] |
|
|
80
|
+
| Swap | Facilitates the exchange of assets between two parties | [[demo](https://meshjs.dev/smart-contracts/swap)] [[source](https://github.com/MeshJS/mesh/tree/main/packages/mesh-contract/src/swap)] [[docs](https://docs.meshjs.dev/contracts/classes/MeshSwapContract)] |
|
|
81
|
+
| Vesting | Allows users to lock tokens for a period of time and withdraw the funds after the lockup period | [[demo](https://meshjs.dev/smart-contracts/vesting)] [[source](https://github.com/MeshJS/mesh/tree/main/packages/mesh-contract/src/vesting)] [[docs](https://docs.meshjs.dev/contracts/classes/MeshVestingContract)] |
|
|
82
82
|
|
|
83
83
|
## Usage
|
|
84
84
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshsdk/core",
|
|
3
|
-
"version": "1.9.0-beta.
|
|
3
|
+
"version": "1.9.0-beta.80",
|
|
4
4
|
"description": "Mesh SDK Core - https://meshjs.dev/",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"browser": "./dist/index.js",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"typescript": "^5.3.3"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@meshsdk/common": "1.9.0-beta.
|
|
37
|
-
"@meshsdk/core-cst": "1.9.0-beta.
|
|
38
|
-
"@meshsdk/provider": "1.9.0-beta.
|
|
39
|
-
"@meshsdk/react": "1.9.0-beta.
|
|
40
|
-
"@meshsdk/transaction": "1.9.0-beta.
|
|
41
|
-
"@meshsdk/wallet": "1.9.0-beta.
|
|
36
|
+
"@meshsdk/common": "1.9.0-beta.80",
|
|
37
|
+
"@meshsdk/core-cst": "1.9.0-beta.80",
|
|
38
|
+
"@meshsdk/provider": "1.9.0-beta.80",
|
|
39
|
+
"@meshsdk/react": "1.9.0-beta.80",
|
|
40
|
+
"@meshsdk/transaction": "1.9.0-beta.80",
|
|
41
|
+
"@meshsdk/wallet": "1.9.0-beta.80"
|
|
42
42
|
},
|
|
43
43
|
"prettier": "@meshsdk/configs/prettier",
|
|
44
44
|
"publishConfig": {
|
|
@@ -53,4 +53,4 @@
|
|
|
53
53
|
"typescript",
|
|
54
54
|
"javascript"
|
|
55
55
|
]
|
|
56
|
-
}
|
|
56
|
+
}
|