From 3a09363d1b498761b92f831669f1fc0250dbdf76 Mon Sep 17 00:00:00 2001 From: fill-the-fill Date: Mon, 7 Oct 2024 12:50:11 +0300 Subject: [PATCH 01/13] update developer portal to docusarus 3.5 --- ..._TEMPLATE.md => PULL_REQUEST_TEMPLATE.mdx} | 0 .../{builder-tool.md => builder-tool.mdx} | 0 .../{showcase.md => showcase.mdx} | 0 ...standard-change.md => standard-change.mdx} | 0 .../yarn-build/{README.md => README.mdx} | 0 ...01-november.md => 2020-11-01-november.mdx} | 2 +- ...1-07-january.md => 2021-01-07-january.mdx} | 2 +- ...03-february.md => 2021-02-03-february.mdx} | 2 +- ...21-03-26-march.md => 2021-03-26-march.mdx} | 2 +- ...=> 2021-07-12-developer-portal-launch.mdx} | 2 +- ...2021-07-26-july.md => 2021-07-26-july.mdx} | 2 +- ...md => 2021-08-09-nft-minting-standard.mdx} | 2 +- ...-08-23-august.md => 2021-08-23-august.mdx} | 2 +- ...-september.md => 2021-09-20-september.mdx} | 2 +- ...0-28-october.md => 2021-10-28-october.mdx} | 2 +- ...23-november.md => 2021-11-23-november.mdx} | 2 +- ...20-december.md => 2021-12-20-december.mdx} | 2 +- ...1-24-january.md => 2022-01-24-january.mdx} | 2 +- ...28-february.md => 2022-02-28-february.mdx} | 2 +- ...22-03-30-march.md => 2022-03-30-march.mdx} | 2 +- ...22-04-27-april.md => 2022-04-27-april.mdx} | 2 +- .../{2022-05-30-may.md => 2022-05-30-may.mdx} | 2 +- ...2022-07-11-july.md => 2022-07-11-july.mdx} | 2 +- ...-08-11-august.md => 2022-08-11-august.mdx} | 2 +- ...-september.md => 2022-09-23-september.mdx} | 2 +- ...1-02-january.md => 2023-01-02-january.mdx} | 2 +- ...16-february.md => 2023-02-16-february.mdx} | 2 +- ...23-03-21-march.md => 2023-03-21-march.mdx} | 2 +- ...2023-06-15-june.md => 2023-06-15-june.mdx} | 2 +- ...-08-07-august.md => 2023-08-07-august.mdx} | 2 +- ...-08-21-august.md => 2023-08-21-august.mdx} | 2 +- ...-september.md => 2023-09-18-september.mdx} | 2 +- ...0-16-october.md => 2023-10-16-october.mdx} | 2 +- ...27-november.md => 2023-11-27-november.mdx} | 2 +- ...1-22-january.md => 2024-01-22-january.mdx} | 2 +- ...19-february.md => 2024-02-19-february.mdx} | 2 +- ...24-04-29-april.md => 2024-04-29-april.mdx} | 2 +- ...2024-06-24-june.md => 2024-06-24-june.mdx} | 1 - ...-september.md => 2024-09-30-september.mdx} | 1 - docs/{careers.md => careers.mdx} | 0 docs/get-started/{aiken.md => aiken.mdx} | 0 docs/get-started/{air-gap.md => air-gap.mdx} | 0 .../{cardano-apis.md => cardano-apis.mdx} | 0 .../{get-started.md => get-started.mdx} | 0 .../{open-source.md => open-source.mdx} | 0 .../{other-apis.md => other-apis.mdx} | 0 .../blockfrost/{overview.md => overview.mdx} | 0 ...secure-webhooks.md => secure-webhooks.mdx} | 0 ...ddress.md => deregister-stake-address.mdx} | 0 .../{get-started.md => get-started.mdx} | 0 ...ransactions.md => simple-transactions.mdx} | 0 ...gation.md => stake-address-delegation.mdx} | 0 ...ation.md => stakeaddress-registration.mdx} | 0 ...ry-donations.md => treasury-donations.mdx} | 0 ...thdraw-rewards.md => withdraw-rewards.mdx} | 0 ...mittee.md => constitutional-committee.mdx} | 0 ...delegating-vote.md => delegating-vote.mdx} | 0 .../{gov-queries.md => gov-queries.mdx} | 0 ...ance-actions.md => governance-actions.mdx} | 0 .../{governance.md => governance.mdx} | 0 .../{register-drep.md => register-drep.mdx} | 0 .../governance/{voting.md => voting.mdx} | 0 .../{native-assets.md => native-assets.mdx} | 0 .../{plutus-scripts.md => plutus-scripts.mdx} | 0 .../{simple-scripts.md => simple-scripts.mdx} | 2 +- ...ity.md => cardano-developer-community.mdx} | 0 ...o-components.md => cardano-components.mdx} | 0 ...k-forging.md => dynamic-block-forging.mdx} | 0 ...no-node.md => installing-cardano-node.mdx} | 0 .../{cardano-tracer.md => cardano-tracer.mdx} | 0 .../{quick-start.md => quick-start.mdx} | 0 ...s-options-node.md => rts-options-node.mdx} | 0 ...running-cardano.md => running-cardano.mdx} | 0 .../{topology.md => topology.mdx} | 0 .../create-react-app.md | 300 - .../cardano-serialization-lib/overview.md | 111 - ...ano-wallet-js.md => cardano-wallet-js.mdx} | 0 ...allet.md => installing-cardano-wallet.mdx} | 0 .../{cardanocli-js.md => cardanocli-js.mdx} | 0 ...harp-wallet.md => cardanosharp-wallet.mdx} | 0 ...ction.md => create-simple-transaction.mdx} | 2 + docs/get-started/{cscli.md => cscli.mdx} | 0 .../{dandelion-apis.md => dandelion-apis.mdx} | 0 docs/get-started/{koios.md => koios.mdx} | 0 .../mesh/{get-started.md => get-started.mdx} | 0 .../mesh/{overview.md => overview.mdx} | 0 docs/get-started/mesh/{react.md => react.mdx} | 0 ...ctions-basic.md => transactions-basic.mdx} | 0 ...ns-minting.md => transactions-minting.mdx} | 0 ...act.md => transactions-smart-contract.mdx} | 0 ...ns-staking.md => transactions-staking.mdx} | 0 .../mesh/{txbuilder.md => txbuilder.mdx} | 0 ...integration.md => wallets-integration.mdx} | 0 docs/get-started/{ogmios.md => ogmios.mdx} | 0 .../get-started/{overview.md => overview.mdx} | 0 docs/get-started/{plu-ts.md => plu-ts.mdx} | 0 ...secure-workflow.md => secure-workflow.mdx} | 2 + ...cal-concepts.md => technical-concepts.mdx} | 0 ...nd-devnets.md => testnets-and-devnets.mdx} | 0 ...ance-actions.md => governance-actions.mdx} | 0 .../{overview.md => overview.mdx} | 0 docs/governance/{overview.md => overview.mdx} | 0 ...oject-catalyst.md => project-catalyst.mdx} | 0 ...t-faucet.md => creating-wallet-faucet.mdx} | 0 ...-cli.md => listening-for-payments-cli.mdx} | 0 ...t.md => listening-for-payments-wallet.mdx} | 0 ....md => multi-witness-transactions-cli.mdx} | 0 .../{overview.md => overview.mdx} | 0 .../{point-of-sale.md => point-of-sale.mdx} | 0 .../{testnet-faucet.md => testnet-faucet.mdx} | 0 ...tion.md => user-wallet-authentication.mdx} | 0 ...products.md => authenticated-products.mdx} | 0 ...registry.md => cardano-token-registry.mdx} | 0 docs/native-tokens/minting-nfts.md | 3 +- .../native-tokens/{minting.md => minting.mdx} | 0 .../{overview.md => overview.mdx} | 0 ...rdano-node.md => ansible-cardano-node.mdx} | 0 ...ano-key-pairs.md => cardano-key-pairs.mdx} | 0 ...ion.md => cardano-relay-configuration.mdx} | 22 +- .../{frankenwallet.md => frankenwallet.mdx} | 0 ...let-keys.md => generating-wallet-keys.mdx} | 0 ...rial.md => grafana-dashboard-tutorial.mdx} | 0 ...guild-ops-suite.md => guild-ops-suite.mdx} | 0 ...rdening-server.md => hardening-server.mdx} | 0 ...uirements.md => hardware-requirements.mdx} | 0 ...curity.md => improve-grafana-security.mdx} | 2 +- ...cardano.md => introduction-to-cardano.mdx} | 0 ...-gLiveView.md => monitoring-gLiveView.mdx} | 0 ...ocess.md => node-installation-process.mdx} | 0 .../{on-chain-polls.md => on-chain-polls.mdx} | 0 .../{overview.md => overview.mdx} | 0 .../{prerequisites.md => prerequisites.mdx} | 0 ...-address.md => register-stake-address.mdx} | 0 ...ta.md => register-stake-pool-metadata.mdx} | 0 ...-stake-pool.md => register-stake-pool.mdx} | 0 ...etworking.md => stake-pool-networking.mdx} | 0 ...al-contribute.md => portal-contribute.mdx} | 0 ...ontributors.md => portal-contributors.mdx} | 0 docs/{portal-signup.md => portal-signup.mdx} | 0 ...-style-guide.md => portal-style-guide.mdx} | 5 +- docs/smart-contracts/{aiken.md => aiken.mdx} | 0 .../{marlowe.md => marlowe.mdx} | 0 .../smart-contracts/{opshin.md => opshin.mdx} | 0 .../{overview.md => overview.mdx} | 0 .../smart-contracts/{plu-ts.md => plu-ts.mdx} | 0 .../smart-contracts/{plutus.md => plutus.mdx} | 0 ...-to-create-a-metadata-transaction-cli.mdx} | 0 ...-create-a-metadata-transaction-wallet.mdx} | 0 .../{overview.md => overview.mdx} | 0 ...ng-metadata.md => retrieving-metadata.mdx} | 0 docusaurus.config.js | 5 +- .../wallet/{README.md => README.mdx} | 0 package.json | 28 +- src/plugins/changelog/index.js | 7 +- .../ChangelogItem/Header/Author/index.tsx | 2 +- .../ChangelogItem/Header/Authors/index.tsx | 14 +- .../theme/ChangelogItem/Header/index.tsx | 4 +- .../changelog/theme/ChangelogList/index.tsx | 2 +- .../changelog/theme/ChangelogPage/index.tsx | 9 +- src/plugins/changelog/theme/types.d.ts | 3 + src/theme/prism-include-languages.js | 27 +- yarn.lock | 20776 +++++++--------- 162 files changed, 8987 insertions(+), 12405 deletions(-) rename .github/{PULL_REQUEST_TEMPLATE.md => PULL_REQUEST_TEMPLATE.mdx} (100%) rename .github/PULL_REQUEST_TEMPLATE/{builder-tool.md => builder-tool.mdx} (100%) rename .github/PULL_REQUEST_TEMPLATE/{showcase.md => showcase.mdx} (100%) rename .github/PULL_REQUEST_TEMPLATE/{standard-change.md => standard-change.mdx} (100%) rename .github/actions/yarn-build/{README.md => README.mdx} (100%) rename blog/{2020-11-01-november.md => 2020-11-01-november.mdx} (99%) rename blog/{2021-01-07-january.md => 2021-01-07-january.mdx} (99%) rename blog/{2021-02-03-february.md => 2021-02-03-february.mdx} (99%) rename blog/{2021-03-26-march.md => 2021-03-26-march.mdx} (99%) rename blog/{2021-07-12-developer-portal-launch.md => 2021-07-12-developer-portal-launch.mdx} (99%) rename blog/{2021-07-26-july.md => 2021-07-26-july.mdx} (99%) rename blog/{2021-08-09-nft-minting-standard.md => 2021-08-09-nft-minting-standard.mdx} (99%) rename blog/{2021-08-23-august.md => 2021-08-23-august.mdx} (99%) rename blog/{2021-09-20-september.md => 2021-09-20-september.mdx} (99%) rename blog/{2021-10-28-october.md => 2021-10-28-october.mdx} (99%) rename blog/{2021-11-23-november.md => 2021-11-23-november.mdx} (99%) rename blog/{2021-12-20-december.md => 2021-12-20-december.mdx} (99%) rename blog/{2022-01-24-january.md => 2022-01-24-january.mdx} (99%) rename blog/{2022-02-28-february.md => 2022-02-28-february.mdx} (99%) rename blog/{2022-03-30-march.md => 2022-03-30-march.mdx} (99%) rename blog/{2022-04-27-april.md => 2022-04-27-april.mdx} (99%) rename blog/{2022-05-30-may.md => 2022-05-30-may.mdx} (99%) rename blog/{2022-07-11-july.md => 2022-07-11-july.mdx} (99%) rename blog/{2022-08-11-august.md => 2022-08-11-august.mdx} (99%) rename blog/{2022-09-23-september.md => 2022-09-23-september.mdx} (99%) rename blog/{2023-01-02-january.md => 2023-01-02-january.mdx} (99%) rename blog/{2023-02-16-february.md => 2023-02-16-february.mdx} (99%) rename blog/{2023-03-21-march.md => 2023-03-21-march.mdx} (99%) rename blog/{2023-06-15-june.md => 2023-06-15-june.mdx} (99%) rename blog/{2023-08-07-august.md => 2023-08-07-august.mdx} (99%) rename blog/{2023-08-21-august.md => 2023-08-21-august.mdx} (99%) rename blog/{2023-09-18-september.md => 2023-09-18-september.mdx} (99%) rename blog/{2023-10-16-october.md => 2023-10-16-october.mdx} (99%) rename blog/{2023-11-27-november.md => 2023-11-27-november.mdx} (99%) rename blog/{2024-01-22-january.md => 2024-01-22-january.mdx} (99%) rename blog/{2024-02-19-february.md => 2024-02-19-february.mdx} (99%) rename blog/{2024-04-29-april.md => 2024-04-29-april.mdx} (99%) rename blog/{2024-06-24-june.md => 2024-06-24-june.mdx} (99%) rename blog/{2024-09-30-september.md => 2024-09-30-september.mdx} (99%) rename docs/{careers.md => careers.mdx} (100%) rename docs/get-started/{aiken.md => aiken.mdx} (100%) rename docs/get-started/{air-gap.md => air-gap.mdx} (100%) rename docs/get-started/blockfrost/{cardano-apis.md => cardano-apis.mdx} (100%) rename docs/get-started/blockfrost/{get-started.md => get-started.mdx} (100%) rename docs/get-started/blockfrost/{open-source.md => open-source.mdx} (100%) rename docs/get-started/blockfrost/{other-apis.md => other-apis.mdx} (100%) rename docs/get-started/blockfrost/{overview.md => overview.mdx} (100%) rename docs/get-started/blockfrost/{secure-webhooks.md => secure-webhooks.mdx} (100%) rename docs/get-started/cardano-cli/get-started/{deregister-stake-address.md => deregister-stake-address.mdx} (100%) rename docs/get-started/cardano-cli/get-started/{get-started.md => get-started.mdx} (100%) rename docs/get-started/cardano-cli/get-started/{simple-transactions.md => simple-transactions.mdx} (100%) rename docs/get-started/cardano-cli/get-started/{stake-address-delegation.md => stake-address-delegation.mdx} (100%) rename docs/get-started/cardano-cli/get-started/{stakeaddress-registration.md => stakeaddress-registration.mdx} (100%) rename docs/get-started/cardano-cli/get-started/{treasury-donations.md => treasury-donations.mdx} (100%) rename docs/get-started/cardano-cli/get-started/{withdraw-rewards.md => withdraw-rewards.mdx} (100%) rename docs/get-started/cardano-cli/governance/{constitutional-committee.md => constitutional-committee.mdx} (100%) rename docs/get-started/cardano-cli/governance/{delegating-vote.md => delegating-vote.mdx} (100%) rename docs/get-started/cardano-cli/governance/{gov-queries.md => gov-queries.mdx} (100%) rename docs/get-started/cardano-cli/governance/{governance-actions.md => governance-actions.mdx} (100%) rename docs/get-started/cardano-cli/governance/{governance.md => governance.mdx} (100%) rename docs/get-started/cardano-cli/governance/{register-drep.md => register-drep.mdx} (100%) rename docs/get-started/cardano-cli/governance/{voting.md => voting.mdx} (100%) rename docs/get-started/cardano-cli/native-assets/{native-assets.md => native-assets.mdx} (100%) rename docs/get-started/cardano-cli/plutus-scripts/{plutus-scripts.md => plutus-scripts.mdx} (100%) rename docs/get-started/cardano-cli/simple-scripts/{simple-scripts.md => simple-scripts.mdx} (99%) rename docs/get-started/{cardano-developer-community.md => cardano-developer-community.mdx} (100%) rename docs/get-started/cardano-node/{cardano-components.md => cardano-components.mdx} (100%) rename docs/get-started/cardano-node/{dynamic-block-forging.md => dynamic-block-forging.mdx} (100%) rename docs/get-started/cardano-node/{installing-cardano-node.md => installing-cardano-node.mdx} (100%) rename docs/get-started/cardano-node/new-tracing-system/{cardano-tracer.md => cardano-tracer.mdx} (100%) rename docs/get-started/cardano-node/new-tracing-system/{quick-start.md => quick-start.mdx} (100%) rename docs/get-started/cardano-node/{rts-options-node.md => rts-options-node.mdx} (100%) rename docs/get-started/cardano-node/{running-cardano.md => running-cardano.mdx} (100%) rename docs/get-started/cardano-node/{topology.md => topology.mdx} (100%) delete mode 100644 docs/get-started/cardano-serialization-lib/create-react-app.md delete mode 100644 docs/get-started/cardano-serialization-lib/overview.md rename docs/get-started/{cardano-wallet-js.md => cardano-wallet-js.mdx} (100%) rename docs/get-started/cardano-wallet/{installing-cardano-wallet.md => installing-cardano-wallet.mdx} (100%) rename docs/get-started/{cardanocli-js.md => cardanocli-js.mdx} (100%) rename docs/get-started/{cardanosharp-wallet.md => cardanosharp-wallet.mdx} (100%) rename docs/get-started/{create-simple-transaction.md => create-simple-transaction.mdx} (99%) rename docs/get-started/{cscli.md => cscli.mdx} (100%) rename docs/get-started/{dandelion-apis.md => dandelion-apis.mdx} (100%) rename docs/get-started/{koios.md => koios.mdx} (100%) rename docs/get-started/mesh/{get-started.md => get-started.mdx} (100%) rename docs/get-started/mesh/{overview.md => overview.mdx} (100%) rename docs/get-started/mesh/{react.md => react.mdx} (100%) rename docs/get-started/mesh/{transactions-basic.md => transactions-basic.mdx} (100%) rename docs/get-started/mesh/{transactions-minting.md => transactions-minting.mdx} (100%) rename docs/get-started/mesh/{transactions-smart-contract.md => transactions-smart-contract.mdx} (100%) rename docs/get-started/mesh/{transactions-staking.md => transactions-staking.mdx} (100%) rename docs/get-started/mesh/{txbuilder.md => txbuilder.mdx} (100%) rename docs/get-started/mesh/{wallets-integration.md => wallets-integration.mdx} (100%) rename docs/get-started/{ogmios.md => ogmios.mdx} (100%) rename docs/get-started/{overview.md => overview.mdx} (100%) rename docs/get-started/{plu-ts.md => plu-ts.mdx} (100%) rename docs/get-started/{secure-workflow.md => secure-workflow.mdx} (99%) rename docs/get-started/{technical-concepts.md => technical-concepts.mdx} (100%) rename docs/get-started/{testnets-and-devnets.md => testnets-and-devnets.mdx} (100%) rename docs/governance/cardano-governance/{governance-actions.md => governance-actions.mdx} (100%) rename docs/governance/cardano-governance/{overview.md => overview.mdx} (100%) rename docs/governance/{overview.md => overview.mdx} (100%) rename docs/governance/{project-catalyst.md => project-catalyst.mdx} (100%) rename docs/integrate-cardano/{creating-wallet-faucet.md => creating-wallet-faucet.mdx} (100%) rename docs/integrate-cardano/{listening-for-payments-cli.md => listening-for-payments-cli.mdx} (100%) rename docs/integrate-cardano/{listening-for-payments-wallet.md => listening-for-payments-wallet.mdx} (100%) rename docs/integrate-cardano/{multi-witness-transactions-cli.md => multi-witness-transactions-cli.mdx} (100%) rename docs/integrate-cardano/{overview.md => overview.mdx} (100%) rename docs/integrate-cardano/{point-of-sale.md => point-of-sale.mdx} (100%) rename docs/integrate-cardano/{testnet-faucet.md => testnet-faucet.mdx} (100%) rename docs/integrate-cardano/{user-wallet-authentication.md => user-wallet-authentication.mdx} (100%) rename docs/native-tokens/{authenticated-products.md => authenticated-products.mdx} (100%) rename docs/native-tokens/{cardano-token-registry.md => cardano-token-registry.mdx} (100%) rename docs/native-tokens/{minting.md => minting.mdx} (100%) rename docs/native-tokens/{overview.md => overview.mdx} (100%) rename docs/operate-a-stake-pool/{ansible-cardano-node.md => ansible-cardano-node.mdx} (100%) rename docs/operate-a-stake-pool/{cardano-key-pairs.md => cardano-key-pairs.mdx} (100%) rename docs/operate-a-stake-pool/{cardano-relay-configuration.md => cardano-relay-configuration.mdx} (95%) rename docs/operate-a-stake-pool/{frankenwallet.md => frankenwallet.mdx} (100%) rename docs/operate-a-stake-pool/{generating-wallet-keys.md => generating-wallet-keys.mdx} (100%) rename docs/operate-a-stake-pool/{grafana-dashboard-tutorial.md => grafana-dashboard-tutorial.mdx} (100%) rename docs/operate-a-stake-pool/{guild-ops-suite.md => guild-ops-suite.mdx} (100%) rename docs/operate-a-stake-pool/{hardening-server.md => hardening-server.mdx} (100%) rename docs/operate-a-stake-pool/{hardware-requirements.md => hardware-requirements.mdx} (100%) rename docs/operate-a-stake-pool/{improve-grafana-security.md => improve-grafana-security.mdx} (99%) rename docs/operate-a-stake-pool/{introduction-to-cardano.md => introduction-to-cardano.mdx} (100%) rename docs/operate-a-stake-pool/{monitoring-gLiveView.md => monitoring-gLiveView.mdx} (100%) rename docs/operate-a-stake-pool/{node-installation-process.md => node-installation-process.mdx} (100%) rename docs/operate-a-stake-pool/{on-chain-polls.md => on-chain-polls.mdx} (100%) rename docs/operate-a-stake-pool/{overview.md => overview.mdx} (100%) rename docs/operate-a-stake-pool/{prerequisites.md => prerequisites.mdx} (100%) rename docs/operate-a-stake-pool/{register-stake-address.md => register-stake-address.mdx} (100%) rename docs/operate-a-stake-pool/{register-stake-pool-metadata.md => register-stake-pool-metadata.mdx} (100%) rename docs/operate-a-stake-pool/{register-stake-pool.md => register-stake-pool.mdx} (100%) rename docs/operate-a-stake-pool/{stake-pool-networking.md => stake-pool-networking.mdx} (100%) rename docs/{portal-contribute.md => portal-contribute.mdx} (100%) rename docs/{portal-contributors.md => portal-contributors.mdx} (100%) rename docs/{portal-signup.md => portal-signup.mdx} (100%) rename docs/{portal-style-guide.md => portal-style-guide.mdx} (99%) rename docs/smart-contracts/{aiken.md => aiken.mdx} (100%) rename docs/smart-contracts/{marlowe.md => marlowe.mdx} (100%) rename docs/smart-contracts/{opshin.md => opshin.mdx} (100%) rename docs/smart-contracts/{overview.md => overview.mdx} (100%) rename docs/smart-contracts/{plu-ts.md => plu-ts.mdx} (100%) rename docs/smart-contracts/{plutus.md => plutus.mdx} (100%) rename docs/transaction-metadata/{how-to-create-a-metadata-transaction-cli.md => how-to-create-a-metadata-transaction-cli.mdx} (100%) rename docs/transaction-metadata/{how-to-create-a-metadata-transaction-wallet.md => how-to-create-a-metadata-transaction-wallet.mdx} (100%) rename docs/transaction-metadata/{overview.md => overview.mdx} (100%) rename docs/transaction-metadata/{retrieving-metadata.md => retrieving-metadata.mdx} (100%) rename examples/listen_payments/wallet/{README.md => README.mdx} (100%) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.mdx similarity index 100% rename from .github/PULL_REQUEST_TEMPLATE.md rename to .github/PULL_REQUEST_TEMPLATE.mdx diff --git a/.github/PULL_REQUEST_TEMPLATE/builder-tool.md b/.github/PULL_REQUEST_TEMPLATE/builder-tool.mdx similarity index 100% rename from .github/PULL_REQUEST_TEMPLATE/builder-tool.md rename to .github/PULL_REQUEST_TEMPLATE/builder-tool.mdx diff --git a/.github/PULL_REQUEST_TEMPLATE/showcase.md b/.github/PULL_REQUEST_TEMPLATE/showcase.mdx similarity index 100% rename from .github/PULL_REQUEST_TEMPLATE/showcase.md rename to .github/PULL_REQUEST_TEMPLATE/showcase.mdx diff --git a/.github/PULL_REQUEST_TEMPLATE/standard-change.md b/.github/PULL_REQUEST_TEMPLATE/standard-change.mdx similarity index 100% rename from .github/PULL_REQUEST_TEMPLATE/standard-change.md rename to .github/PULL_REQUEST_TEMPLATE/standard-change.mdx diff --git a/.github/actions/yarn-build/README.md b/.github/actions/yarn-build/README.mdx similarity index 100% rename from .github/actions/yarn-build/README.md rename to .github/actions/yarn-build/README.mdx diff --git a/blog/2020-11-01-november.md b/blog/2020-11-01-november.mdx similarity index 99% rename from blog/2020-11-01-november.md rename to blog/2020-11-01-november.mdx index fd2d4de542..289fed9287 100644 --- a/blog/2020-11-01-november.md +++ b/blog/2020-11-01-november.mdx @@ -12,7 +12,7 @@ image: https://developers.cardano.org/img/og/og-blog-cardanoscan.png Welcome to the November Developer Spotlight 2021. This month, we will focus on block explorers and pool tools. Read on to learn about the **Cardanoscan** and the **PoolTool**. - + ## 1. Cardanoscan.io diff --git a/blog/2021-01-07-january.md b/blog/2021-01-07-january.mdx similarity index 99% rename from blog/2021-01-07-january.md rename to blog/2021-01-07-january.mdx index fbc39d496f..193a8db579 100644 --- a/blog/2021-01-07-january.md +++ b/blog/2021-01-07-january.mdx @@ -12,7 +12,7 @@ image: https://developers.cardano.org/img/og/og-blog-adatools.png Welcome to the January Developer Spotlight 2021. This month, we will focus on pool tools. Read on to learn about the **ADATools.io** and the **Pool.pm**. - + ## 1. ADATools.io - Cardano Holograms diff --git a/blog/2021-02-03-february.md b/blog/2021-02-03-february.mdx similarity index 99% rename from blog/2021-02-03-february.md rename to blog/2021-02-03-february.mdx index a823901dfc..e6547127cf 100644 --- a/blog/2021-02-03-february.md +++ b/blog/2021-02-03-february.mdx @@ -12,7 +12,7 @@ image: https://developers.cardano.org/img/og/og-blog-ada-makerspace.png Welcome to the February Developer Spotlight 2021. This month, we will focus on educators, and developer-focused content creators. Read on to learn about the **ADA MakerSpace** and the **Hitchhiker's Guides**. - + ## 1. ADA MakerSpace diff --git a/blog/2021-03-26-march.md b/blog/2021-03-26-march.mdx similarity index 99% rename from blog/2021-03-26-march.md rename to blog/2021-03-26-march.mdx index 3c3c99d820..3b81202884 100644 --- a/blog/2021-03-26-march.md +++ b/blog/2021-03-26-march.mdx @@ -12,7 +12,7 @@ image: https://developers.cardano.org/img/og/og-blog-on-the-rocks.png Welcome to the March Developer Spotlight 2021. This month, we will focus on both educational content and stake pool tools. Read on to learn about **Cardano on the Rocks** and **JorManager**. - + ## 1. Cardano on the Rocks diff --git a/blog/2021-07-12-developer-portal-launch.md b/blog/2021-07-12-developer-portal-launch.mdx similarity index 99% rename from blog/2021-07-12-developer-portal-launch.md rename to blog/2021-07-12-developer-portal-launch.mdx index fde6bdc709..e84b5b1e06 100644 --- a/blog/2021-07-12-developer-portal-launch.md +++ b/blog/2021-07-12-developer-portal-launch.mdx @@ -18,7 +18,7 @@ It’s finally here! We’re proud to announce the launch of the [Cardano Develo Ready for your thoughts, comments, builds, additions! - + **Topics covered in the Portal** diff --git a/blog/2021-07-26-july.md b/blog/2021-07-26-july.mdx similarity index 99% rename from blog/2021-07-26-july.md rename to blog/2021-07-26-july.mdx index 719573485a..fd103c31d7 100644 --- a/blog/2021-07-26-july.md +++ b/blog/2021-07-26-july.mdx @@ -22,7 +22,7 @@ Back then, when Native Tokens first arrived, and Spacebudz introduced the concep
- + **_What are the most important things about NMKR?_** diff --git a/blog/2021-08-09-nft-minting-standard.md b/blog/2021-08-09-nft-minting-standard.mdx similarity index 99% rename from blog/2021-08-09-nft-minting-standard.md rename to blog/2021-08-09-nft-minting-standard.mdx index 5ee0ac6c16..ca3b6a01fe 100644 --- a/blog/2021-08-09-nft-minting-standard.md +++ b/blog/2021-08-09-nft-minting-standard.mdx @@ -16,7 +16,7 @@ image: https://developers.cardano.org/img/og/og-blog-nftas.png To celebrate the [Cardano Developer Portal launch](../), The Cardano Foundation minted the world’s first Non-Fungible Tokens of Appreciation (NFTAs). NFTAs are NFTs showing appreciation to the ten developers that provided feedback and helped build the developer portal. Think of them as “certificates of participation” when you attend a seminar or an event that they give out to attendees. Only they are digital! - + In addition, to show our appreciation, we rewarded the community members with Bronze Tokens of Appreciation. Bronze Tokens are a way to give the NFTAs extra utility over their collectability. Tokens can be redeemed once to highlight a topic or project on the Cardano Developer Portal. For example, it can spotlight a project they are working on or inform the Cardano community of a specific topic. The spotlight articles can be found at the [Cardano Developer Portal Blog](../blog/). diff --git a/blog/2021-08-23-august.md b/blog/2021-08-23-august.mdx similarity index 99% rename from blog/2021-08-23-august.md rename to blog/2021-08-23-august.mdx index 1e80a4d1c3..002db616c9 100644 --- a/blog/2021-08-23-august.md +++ b/blog/2021-08-23-august.mdx @@ -21,7 +21,7 @@ With Cardano Mercury for WooCommerce, my goal was to make a simple and accessibl
- + **_What are the most important things about Mercury for WooCommerce?_** diff --git a/blog/2021-09-20-september.md b/blog/2021-09-20-september.mdx similarity index 99% rename from blog/2021-09-20-september.md rename to blog/2021-09-20-september.mdx index 9d0e621c98..ae184479e3 100644 --- a/blog/2021-09-20-september.md +++ b/blog/2021-09-20-september.mdx @@ -42,7 +42,7 @@ We try to help solve each of these by offering a fixed-rate option and supportin
- + **_What are the most important things about NOWPayments?_** diff --git a/blog/2021-10-28-october.md b/blog/2021-10-28-october.mdx similarity index 99% rename from blog/2021-10-28-october.md rename to blog/2021-10-28-october.mdx index 26cd6d9d53..746fef19e4 100644 --- a/blog/2021-10-28-october.md +++ b/blog/2021-10-28-october.mdx @@ -23,7 +23,7 @@ For the October edition of the Spotlight article, we interviewed Anthony, the CF
- + **_What are the most important things about Tokhun?_** diff --git a/blog/2021-11-23-november.md b/blog/2021-11-23-november.mdx similarity index 99% rename from blog/2021-11-23-november.md rename to blog/2021-11-23-november.mdx index f02e19792b..45fe7dbf65 100644 --- a/blog/2021-11-23-november.md +++ b/blog/2021-11-23-november.mdx @@ -23,7 +23,7 @@ Hey, for sure! [Nami](https://namiwallet.io/) is a browser-based wallet extensio
- + **_What are the most important things about Nami Wallet?_** diff --git a/blog/2021-12-20-december.md b/blog/2021-12-20-december.mdx similarity index 99% rename from blog/2021-12-20-december.md rename to blog/2021-12-20-december.mdx index 4a95b3ed04..a9e1a295e9 100644 --- a/blog/2021-12-20-december.md +++ b/blog/2021-12-20-december.mdx @@ -24,7 +24,7 @@ So the goal was to create a feature-rich comparison tool, which, looking at it t
- + **_Could you please give us a rundown of the most important things about ADApools?_** diff --git a/blog/2022-01-24-january.md b/blog/2022-01-24-january.mdx similarity index 99% rename from blog/2022-01-24-january.md rename to blog/2022-01-24-january.mdx index 65e95dc19f..7bf0b2bfd3 100644 --- a/blog/2022-01-24-january.md +++ b/blog/2022-01-24-january.mdx @@ -27,7 +27,7 @@ 3. **Decentralization problem:** We see centralized oracle solutions, where one party is the governing authority on who gets what data and from where. We see centralization as part of the current financial system’s problem. We hope to solve that problem by being as “hands-off” as possible with our ecosystem solution. - + **_What are the most important things about Charli3?_** diff --git a/blog/2022-02-28-february.md b/blog/2022-02-28-february.mdx similarity index 99% rename from blog/2022-02-28-february.md rename to blog/2022-02-28-february.mdx index e964281026..8523d6ec40 100644 --- a/blog/2022-02-28-february.md +++ b/blog/2022-02-28-february.mdx @@ -35,7 +35,7 @@ sources={{ COTI will solve these challenges by introducing a new type of DAG-based base protocol and infrastructure that is scalable, fast, private, inclusive, low cost, and optimized for finance. - +
diff --git a/blog/2022-03-30-march.md b/blog/2022-03-30-march.mdx similarity index 99% rename from blog/2022-03-30-march.md rename to blog/2022-03-30-march.mdx index 9098f82a17..e06d24ec62 100644 --- a/blog/2022-03-30-march.md +++ b/blog/2022-03-30-march.mdx @@ -22,7 +22,7 @@ Lovelace Academy is a blockchain education platform that aims to make it easier for our learners to navigate the developer ecosystem, understand key concepts and learn best practices while building on Cardano. Currently, no platforms guide newcomers on the "Why" and "How" to build on Cardano. So we are trying to be a one-stop platform to onboard people on Cardano. - +
diff --git a/blog/2022-04-27-april.md b/blog/2022-04-27-april.mdx similarity index 99% rename from blog/2022-04-27-april.md rename to blog/2022-04-27-april.mdx index f855bdd022..39d6ac4c12 100644 --- a/blog/2022-04-27-april.md +++ b/blog/2022-04-27-april.mdx @@ -31,7 +31,7 @@ sources={{ Minswap is a community-centric decentralized exchange on Cardano. With no venture capital funding or private investment, we aim to become the best DEX for anyone to buy and sell their Cardano native tokens, and earn passive income via yield farming and staking. - +
diff --git a/blog/2022-05-30-may.md b/blog/2022-05-30-may.mdx similarity index 99% rename from blog/2022-05-30-may.md rename to blog/2022-05-30-may.mdx index d6007a24c5..2bafe49f47 100644 --- a/blog/2022-05-30-may.md +++ b/blog/2022-05-30-may.mdx @@ -34,7 +34,7 @@ Following [Metcalfe's law](https://saylordotorg.github.io/text_developing-new-pr Milkomeda is a protocol that gives EVM capabilities to non-EVM Blockchains. In practical terms, it allows the deployment of smart contracts from Ethereum, Avalanche, Binance Smart-Chain, and multiple other chains, to chains that wouldn’t support it. Developers are at the core of making the visions of these businesses possible, and as such, having access to a large pool of developers is one of the vital points for ecosystem success. - +
diff --git a/blog/2022-07-11-july.md b/blog/2022-07-11-july.mdx similarity index 99% rename from blog/2022-07-11-july.md rename to blog/2022-07-11-july.mdx index cb906a248d..7c8303aac4 100644 --- a/blog/2022-07-11-july.md +++ b/blog/2022-07-11-july.mdx @@ -35,7 +35,7 @@ While we do not believe to be restricted to a small group (and hope it extends f - [Ola](https://github.com/Scitz0) - [RdLrT](https://github.com/rdlrt) - +
diff --git a/blog/2022-08-11-august.md b/blog/2022-08-11-august.mdx similarity index 99% rename from blog/2022-08-11-august.md rename to blog/2022-08-11-august.mdx index 8bf1864698..11ed4903f0 100644 --- a/blog/2022-08-11-august.md +++ b/blog/2022-08-11-august.mdx @@ -32,7 +32,7 @@ My name is Ashish Prajapati, and I'm one of the co-founders of [strica.io](https We are building products that enhance user experience using Cardano and enhance developer experience building on Cardano. [Cardanoscan](https://cardanoscan.io) and [Typhon Wallet](https://typhonwallet.io) are our well-known projects, and an upcoming project [flac.finance](https://flac.finance) is focused on processing payments and is being built on Cardano. - +
**_What are the most important things about Strica?_** diff --git a/blog/2022-09-23-september.md b/blog/2022-09-23-september.mdx similarity index 99% rename from blog/2022-09-23-september.md rename to blog/2022-09-23-september.mdx index f2d149c362..c174412b96 100644 --- a/blog/2022-09-23-september.md +++ b/blog/2022-09-23-september.mdx @@ -35,7 +35,7 @@ I go by [Allusian](https://twitter.com/allusian1), and I have served as a Core C ADAO’s mission is to build open-source tools, educational and supportive resources to empower robust, decentralized systems of collaboration and governance, starting with Cardano. We are achieving this by attracting talent from various disciplines and walks of life who share our passion for building systems that enable, empower and facilitate new ways of organizing. Some of ADAO’s major contributions to the ecosystem include the RoundTable multi-signature Wallet DApp, the ADAO Staking Portal, and the Agora Protocol, which we have partnered with Liqwid Labs to develop. - +
**_What are the most important things about ADAO?_** diff --git a/blog/2023-01-02-january.md b/blog/2023-01-02-january.mdx similarity index 99% rename from blog/2023-01-02-january.md rename to blog/2023-01-02-january.mdx index fbb0e59626..8771900e51 100644 --- a/blog/2023-01-02-january.md +++ b/blog/2023-01-02-january.mdx @@ -47,7 +47,7 @@ To start, we focused on two things: technical infrastructure and developer educa Our goal is to build systems as robust as the Cardano protocol. A network requires infrastructure and people who know how to use it to be robust and resilient. We are building Dandelion so that anyone can deploy critical infrastructure for interacting with the Cardano protocol. We are building Project-Based Learning courses so that people get first-hand experience using Cardano and sharing decision-making power. - +
**_Dandelion: Free and open, distributed infrastructure_** diff --git a/blog/2023-02-16-february.md b/blog/2023-02-16-february.mdx similarity index 99% rename from blog/2023-02-16-february.md rename to blog/2023-02-16-february.mdx index 4e9bc56065..dfe08f3034 100644 --- a/blog/2023-02-16-february.md +++ b/blog/2023-02-16-february.mdx @@ -26,7 +26,7 @@ sources={{ We interviewed the NEWM team, a blockchain-based project aiming to create a music ecosystem that allows musicians to own their creative content and monetize their art from conception to retirement. Including a streaming platform, music rights marketplace, micropayments, ticketing, and fractionalization of IP rights, focusing on user-friendly design and technology using the Cardano blockchain. - +
**_Can you introduce yourself_** diff --git a/blog/2023-03-21-march.md b/blog/2023-03-21-march.mdx similarity index 99% rename from blog/2023-03-21-march.md rename to blog/2023-03-21-march.mdx index fc8a7de916..a4ca2dd546 100644 --- a/blog/2023-03-21-march.md +++ b/blog/2023-03-21-march.mdx @@ -26,7 +26,7 @@ sources={{ In this interview, Jingles, one of the co-founders of Mesh, talks about the project and how it aims to improve the developer experience within the Cardano ecosystem. Mesh is an open-source software developer kit that provides developers with the necessary resources and support to build innovative and impactful applications on the Cardano blockchain. Jingles discusses Mesh's features, the reasons for choosing Cardano, and the project's plans, such as a bounty program and improving the serialization library. - +
**_Hey Jingles! Happy to connect today and learn more about the Mesh project! First of all, can you introduce yourselves?_** diff --git a/blog/2023-06-15-june.md b/blog/2023-06-15-june.mdx similarity index 99% rename from blog/2023-06-15-june.md rename to blog/2023-06-15-june.mdx index 25c48ebd8f..dbbec38c4e 100644 --- a/blog/2023-06-15-june.md +++ b/blog/2023-06-15-june.mdx @@ -26,7 +26,7 @@ sources={{ Most stories today are not creating a positive global culture or envisioning a sustainable future for the next seven generations. Video games are violent, social media is toxic, and TV content is dumbing us down. Mandala aims to change this! In the following interview, the team explains how they aim to create a positive global culture and envision a sustainable future by offering a new narrative that breaks away from the negative influences of current media. Their multiverse incorporates a variety of mythologies, inviting audiences to participate actively and make a difference. Through existing distribution platforms, Mandala seeks to broaden worldviews and catalyze a cultural shift during a critical time in human entertainment. - +
**_Could you kindly introduce yourselves?_** diff --git a/blog/2023-08-07-august.md b/blog/2023-08-07-august.mdx similarity index 99% rename from blog/2023-08-07-august.md rename to blog/2023-08-07-august.mdx index 64f5691812..74ed98a0db 100644 --- a/blog/2023-08-07-august.md +++ b/blog/2023-08-07-august.mdx @@ -26,7 +26,7 @@ sources={{ DEMU's vision is to establish a direct connection between fans and the artists they love, fostering deeper relationships. Their mission is to equip artists worldwide with advanced tools to streamline music sales and licensing, increase licensing revenues, and regain control over their business. The DEMU protocol ensures fair distribution of royalty payments to rights holders for all on-chain sales channels, providing real-time visibility into music usage and owed earnings. To achieve this, DEMU replaces expensive centralized solutions with a decentralized network of node operators, securing music through token-gated access, granting artists full control, and eliminating costly content storage overhead. - +
**_Hey Session Cruz, happy to connect today and learn more about the DEMU project. Can you tell us more about the project and the problem you were addressing?_** diff --git a/blog/2023-08-21-august.md b/blog/2023-08-21-august.mdx similarity index 99% rename from blog/2023-08-21-august.md rename to blog/2023-08-21-august.mdx index 8565e5f31a..3c73fd7894 100644 --- a/blog/2023-08-21-august.md +++ b/blog/2023-08-21-august.mdx @@ -26,7 +26,7 @@ sources={{ W3:Ride revolutionizes cycling fitness through gamification, fostering an engaging community. Achievements, challenges, and progress tracking make cycling enjoyable and healthier. The app encourages global connections, while a unique reward system promotes cycling over cars. Personalized virtual bikes and avatars enhance user identity, and charitable partnerships empower cyclists to ride for meaningful causes. By linking the app with Strava, Apple Health, or Google Fit, users accumulate $Cyclr based on distance, duration, and speed. Find out more about this exciting project as we delve into more details with co-founder and CEO, Romain Pomarelle. - +
**_Could you kindly introduce yourselves?_** diff --git a/blog/2023-09-18-september.md b/blog/2023-09-18-september.mdx similarity index 99% rename from blog/2023-09-18-september.md rename to blog/2023-09-18-september.mdx index 755668b4d9..132e90d25b 100644 --- a/blog/2023-09-18-september.md +++ b/blog/2023-09-18-september.mdx @@ -29,7 +29,7 @@ Meet AdaStat, a cutting-edge Cardano (ADA) Blockchain Explorer, crafted by activ Some of AdaStat's unique features include a versatile Chart Maker for custom graphics and a robust pool filter for refining pool searches based on parameters like pledge, delegators, and stake size. For deeper insights into this fascinating explorer, we highly recommend reading through interview with the project's co-founder and Lead Developer, Dmitry Stashenko. - +
**_Could you kindly introduce yourselves?_** diff --git a/blog/2023-10-16-october.md b/blog/2023-10-16-october.mdx similarity index 99% rename from blog/2023-10-16-october.md rename to blog/2023-10-16-october.mdx index e9264da369..581d9ec775 100644 --- a/blog/2023-10-16-october.md +++ b/blog/2023-10-16-october.mdx @@ -28,7 +28,7 @@ In today's interview, we'll explore the world of Lenfi, a decentralised protocol Here's an interesting insight. Were you aware that Lenfi enables depositors to offer liquidity? You can deposit your funds with predetermined conditions or in any of the liquidity pools. Let's explore the depths of Lenfi's universe to grasp its tremendous potential. - +
**_Hey, Mantas, happy to connect today and learn more about the Lenfi project. Can you tell us more about the project and the problem you are trying to solve?_** diff --git a/blog/2023-11-27-november.md b/blog/2023-11-27-november.mdx similarity index 99% rename from blog/2023-11-27-november.md rename to blog/2023-11-27-november.mdx index b7206a7405..e33ed71f29 100644 --- a/blog/2023-11-27-november.md +++ b/blog/2023-11-27-november.mdx @@ -30,7 +30,7 @@ In today's interview, Lloyd Duhon, Chief Operations Officer at Mainstreet, provi Mainstreet strategically positions itself among industry leaders like Paypal and Stripe, showcasing an innovative and competitive edge. The platform sets itself apart by delivering a swifter and more user-friendly interface, effectively tackling the challenges associated with cryptocurrencies. This commitment ensures a seamless experience for both consumers and business owners. As we explore further into Mainstreet's narrative, it becomes evident that they are not just keeping pace with industry standards but actively redefining them. Let's dive right into the exciting world of Mainstreet! - +
**_Hey, Lloyd, happy to connect today and learn more about the MainStreet project. Can you tell us more about the project and the problem you are trying to solve?_** diff --git a/blog/2024-01-22-january.md b/blog/2024-01-22-january.mdx similarity index 99% rename from blog/2024-01-22-january.md rename to blog/2024-01-22-january.mdx index 5eb114f643..65f2ce8f76 100644 --- a/blog/2024-01-22-january.md +++ b/blog/2024-01-22-january.mdx @@ -34,7 +34,7 @@ The interview highlights VESPR's agile approach, operating without a fixed roadm Partnerships with organizations like 21ADA Stakepool, DexHunter, Uphold, DripDropz, and HOSKY Token are mentioned, adding collaborative features to VESPR. This interview presents VESPR Wallet as a solution emphasizing practicality and usability in the Cardano ecosystem. Let's right dive in! - +
**_Hello, kindly provide an introduction and share your role in the development of the VESPR Wallet?_** diff --git a/blog/2024-02-19-february.md b/blog/2024-02-19-february.mdx similarity index 99% rename from blog/2024-02-19-february.md rename to blog/2024-02-19-february.mdx index ba530e14b7..1c77f2c15c 100644 --- a/blog/2024-02-19-february.md +++ b/blog/2024-02-19-february.mdx @@ -34,7 +34,7 @@ The decision to launch on Cardano reflects their commitment to decentralization The interview concludes with a look at the key partnerships contributing to Rejuve.AI's success. Lets dive right in! - +
**_Hey, Jasmine, happy to connect today and learn more about the Rejuve project. Can you tell us more about the project and the problem you were addressing?_** diff --git a/blog/2024-04-29-april.md b/blog/2024-04-29-april.mdx similarity index 99% rename from blog/2024-04-29-april.md rename to blog/2024-04-29-april.mdx index b5265a3da2..e78e06f7d8 100644 --- a/blog/2024-04-29-april.md +++ b/blog/2024-04-29-april.mdx @@ -26,7 +26,7 @@ sources={{ In today's interview Dr. Lars Brünjes, CTO of Genius Yield, discusses their Cardano-based DEX project, which focuses on transparency and community. They chose Cardano for its scientific approach and decentralized philosophy. Genius Yield's order book DEX leverages the EUTxO model for efficiency. Security is ensured through audits and open-sourcing of key components like Market Maker Bots. The project includes a Fee Sharing Program and exciting future developments like Smart Swaps and AI-Powered Smart Liquidity Vaults. Sounds Exciting? Well..lets dive right in! - +
diff --git a/blog/2024-06-24-june.md b/blog/2024-06-24-june.mdx similarity index 99% rename from blog/2024-06-24-june.md rename to blog/2024-06-24-june.mdx index 66766f2eaa..3aee40dc49 100644 --- a/blog/2024-06-24-june.md +++ b/blog/2024-06-24-june.mdx @@ -26,7 +26,6 @@ sources={{ In this interview, Daniel Friedman, CEO of zenGate Global, discusses his extensive experience in the technology industry and how he leverages blockchain technology to revolutionize the commodity trading industry through zenGate's flagship platform, Palmyra. Palmyra aims to address challenges like inefficiencies and lack of transparency in traditional commodity trading by tokenizing commodities and real-world assets (RWAs), and utilizing advanced traceability protocols. The platform leverages the Cardano and Ergo blockchains for security and scalability and has established partnerships with key industry players like World Mobile, Chainlink and the Tea Association of Sri Lanka. Sounds Exciting? Well.. let's dive right in!" -
diff --git a/blog/2024-09-30-september.md b/blog/2024-09-30-september.mdx similarity index 99% rename from blog/2024-09-30-september.md rename to blog/2024-09-30-september.mdx index d44fcafb2c..e4e83addff 100644 --- a/blog/2024-09-30-september.md +++ b/blog/2024-09-30-september.mdx @@ -26,7 +26,6 @@ sources={{ In this interview, Sricharan Ganta, Founder & CEO of Nucast, shares insights into the transformative journey of his company, which focuses on empowering individuals with true ownership of their digital content. With a commitment to decentralization, Nucast addresses the challenges posed by centralized entities that control digital assets. Sricharan discusses the innovative solutions Nucast is developing on the Cardano blockchain, including a range of decentralized applications (dApps) that enhance digital property rights. He also reflects on the community's growth, successful partnerships, and exciting initiatives like the Cardano Hackathon and the upcoming Cardano Summit. Join us as we explore the future of Nucast and its impact on the digital media landscape. -
diff --git a/docs/careers.md b/docs/careers.mdx similarity index 100% rename from docs/careers.md rename to docs/careers.mdx diff --git a/docs/get-started/aiken.md b/docs/get-started/aiken.mdx similarity index 100% rename from docs/get-started/aiken.md rename to docs/get-started/aiken.mdx diff --git a/docs/get-started/air-gap.md b/docs/get-started/air-gap.mdx similarity index 100% rename from docs/get-started/air-gap.md rename to docs/get-started/air-gap.mdx diff --git a/docs/get-started/blockfrost/cardano-apis.md b/docs/get-started/blockfrost/cardano-apis.mdx similarity index 100% rename from docs/get-started/blockfrost/cardano-apis.md rename to docs/get-started/blockfrost/cardano-apis.mdx diff --git a/docs/get-started/blockfrost/get-started.md b/docs/get-started/blockfrost/get-started.mdx similarity index 100% rename from docs/get-started/blockfrost/get-started.md rename to docs/get-started/blockfrost/get-started.mdx diff --git a/docs/get-started/blockfrost/open-source.md b/docs/get-started/blockfrost/open-source.mdx similarity index 100% rename from docs/get-started/blockfrost/open-source.md rename to docs/get-started/blockfrost/open-source.mdx diff --git a/docs/get-started/blockfrost/other-apis.md b/docs/get-started/blockfrost/other-apis.mdx similarity index 100% rename from docs/get-started/blockfrost/other-apis.md rename to docs/get-started/blockfrost/other-apis.mdx diff --git a/docs/get-started/blockfrost/overview.md b/docs/get-started/blockfrost/overview.mdx similarity index 100% rename from docs/get-started/blockfrost/overview.md rename to docs/get-started/blockfrost/overview.mdx diff --git a/docs/get-started/blockfrost/secure-webhooks.md b/docs/get-started/blockfrost/secure-webhooks.mdx similarity index 100% rename from docs/get-started/blockfrost/secure-webhooks.md rename to docs/get-started/blockfrost/secure-webhooks.mdx diff --git a/docs/get-started/cardano-cli/get-started/deregister-stake-address.md b/docs/get-started/cardano-cli/get-started/deregister-stake-address.mdx similarity index 100% rename from docs/get-started/cardano-cli/get-started/deregister-stake-address.md rename to docs/get-started/cardano-cli/get-started/deregister-stake-address.mdx diff --git a/docs/get-started/cardano-cli/get-started/get-started.md b/docs/get-started/cardano-cli/get-started/get-started.mdx similarity index 100% rename from docs/get-started/cardano-cli/get-started/get-started.md rename to docs/get-started/cardano-cli/get-started/get-started.mdx diff --git a/docs/get-started/cardano-cli/get-started/simple-transactions.md b/docs/get-started/cardano-cli/get-started/simple-transactions.mdx similarity index 100% rename from docs/get-started/cardano-cli/get-started/simple-transactions.md rename to docs/get-started/cardano-cli/get-started/simple-transactions.mdx diff --git a/docs/get-started/cardano-cli/get-started/stake-address-delegation.md b/docs/get-started/cardano-cli/get-started/stake-address-delegation.mdx similarity index 100% rename from docs/get-started/cardano-cli/get-started/stake-address-delegation.md rename to docs/get-started/cardano-cli/get-started/stake-address-delegation.mdx diff --git a/docs/get-started/cardano-cli/get-started/stakeaddress-registration.md b/docs/get-started/cardano-cli/get-started/stakeaddress-registration.mdx similarity index 100% rename from docs/get-started/cardano-cli/get-started/stakeaddress-registration.md rename to docs/get-started/cardano-cli/get-started/stakeaddress-registration.mdx diff --git a/docs/get-started/cardano-cli/get-started/treasury-donations.md b/docs/get-started/cardano-cli/get-started/treasury-donations.mdx similarity index 100% rename from docs/get-started/cardano-cli/get-started/treasury-donations.md rename to docs/get-started/cardano-cli/get-started/treasury-donations.mdx diff --git a/docs/get-started/cardano-cli/get-started/withdraw-rewards.md b/docs/get-started/cardano-cli/get-started/withdraw-rewards.mdx similarity index 100% rename from docs/get-started/cardano-cli/get-started/withdraw-rewards.md rename to docs/get-started/cardano-cli/get-started/withdraw-rewards.mdx diff --git a/docs/get-started/cardano-cli/governance/constitutional-committee.md b/docs/get-started/cardano-cli/governance/constitutional-committee.mdx similarity index 100% rename from docs/get-started/cardano-cli/governance/constitutional-committee.md rename to docs/get-started/cardano-cli/governance/constitutional-committee.mdx diff --git a/docs/get-started/cardano-cli/governance/delegating-vote.md b/docs/get-started/cardano-cli/governance/delegating-vote.mdx similarity index 100% rename from docs/get-started/cardano-cli/governance/delegating-vote.md rename to docs/get-started/cardano-cli/governance/delegating-vote.mdx diff --git a/docs/get-started/cardano-cli/governance/gov-queries.md b/docs/get-started/cardano-cli/governance/gov-queries.mdx similarity index 100% rename from docs/get-started/cardano-cli/governance/gov-queries.md rename to docs/get-started/cardano-cli/governance/gov-queries.mdx diff --git a/docs/get-started/cardano-cli/governance/governance-actions.md b/docs/get-started/cardano-cli/governance/governance-actions.mdx similarity index 100% rename from docs/get-started/cardano-cli/governance/governance-actions.md rename to docs/get-started/cardano-cli/governance/governance-actions.mdx diff --git a/docs/get-started/cardano-cli/governance/governance.md b/docs/get-started/cardano-cli/governance/governance.mdx similarity index 100% rename from docs/get-started/cardano-cli/governance/governance.md rename to docs/get-started/cardano-cli/governance/governance.mdx diff --git a/docs/get-started/cardano-cli/governance/register-drep.md b/docs/get-started/cardano-cli/governance/register-drep.mdx similarity index 100% rename from docs/get-started/cardano-cli/governance/register-drep.md rename to docs/get-started/cardano-cli/governance/register-drep.mdx diff --git a/docs/get-started/cardano-cli/governance/voting.md b/docs/get-started/cardano-cli/governance/voting.mdx similarity index 100% rename from docs/get-started/cardano-cli/governance/voting.md rename to docs/get-started/cardano-cli/governance/voting.mdx diff --git a/docs/get-started/cardano-cli/native-assets/native-assets.md b/docs/get-started/cardano-cli/native-assets/native-assets.mdx similarity index 100% rename from docs/get-started/cardano-cli/native-assets/native-assets.md rename to docs/get-started/cardano-cli/native-assets/native-assets.mdx diff --git a/docs/get-started/cardano-cli/plutus-scripts/plutus-scripts.md b/docs/get-started/cardano-cli/plutus-scripts/plutus-scripts.mdx similarity index 100% rename from docs/get-started/cardano-cli/plutus-scripts/plutus-scripts.md rename to docs/get-started/cardano-cli/plutus-scripts/plutus-scripts.mdx diff --git a/docs/get-started/cardano-cli/simple-scripts/simple-scripts.md b/docs/get-started/cardano-cli/simple-scripts/simple-scripts.mdx similarity index 99% rename from docs/get-started/cardano-cli/simple-scripts/simple-scripts.md rename to docs/get-started/cardano-cli/simple-scripts/simple-scripts.mdx index e18508f826..76b0dc60d6 100644 --- a/docs/get-started/cardano-cli/simple-scripts/simple-scripts.md +++ b/docs/get-started/cardano-cli/simple-scripts/simple-scripts.mdx @@ -619,7 +619,7 @@ using this script after time slot 3000 will be locked there permanently! For before scripts we must provide a `--invalid-hereafter` slot that is less than or equal to the specified slot number in our simple script. In the example -above this means <= 3000: +above this means < = 3000: ```bash cardano-cli transaction build-raw \ diff --git a/docs/get-started/cardano-developer-community.md b/docs/get-started/cardano-developer-community.mdx similarity index 100% rename from docs/get-started/cardano-developer-community.md rename to docs/get-started/cardano-developer-community.mdx diff --git a/docs/get-started/cardano-node/cardano-components.md b/docs/get-started/cardano-node/cardano-components.mdx similarity index 100% rename from docs/get-started/cardano-node/cardano-components.md rename to docs/get-started/cardano-node/cardano-components.mdx diff --git a/docs/get-started/cardano-node/dynamic-block-forging.md b/docs/get-started/cardano-node/dynamic-block-forging.mdx similarity index 100% rename from docs/get-started/cardano-node/dynamic-block-forging.md rename to docs/get-started/cardano-node/dynamic-block-forging.mdx diff --git a/docs/get-started/cardano-node/installing-cardano-node.md b/docs/get-started/cardano-node/installing-cardano-node.mdx similarity index 100% rename from docs/get-started/cardano-node/installing-cardano-node.md rename to docs/get-started/cardano-node/installing-cardano-node.mdx diff --git a/docs/get-started/cardano-node/new-tracing-system/cardano-tracer.md b/docs/get-started/cardano-node/new-tracing-system/cardano-tracer.mdx similarity index 100% rename from docs/get-started/cardano-node/new-tracing-system/cardano-tracer.md rename to docs/get-started/cardano-node/new-tracing-system/cardano-tracer.mdx diff --git a/docs/get-started/cardano-node/new-tracing-system/quick-start.md b/docs/get-started/cardano-node/new-tracing-system/quick-start.mdx similarity index 100% rename from docs/get-started/cardano-node/new-tracing-system/quick-start.md rename to docs/get-started/cardano-node/new-tracing-system/quick-start.mdx diff --git a/docs/get-started/cardano-node/rts-options-node.md b/docs/get-started/cardano-node/rts-options-node.mdx similarity index 100% rename from docs/get-started/cardano-node/rts-options-node.md rename to docs/get-started/cardano-node/rts-options-node.mdx diff --git a/docs/get-started/cardano-node/running-cardano.md b/docs/get-started/cardano-node/running-cardano.mdx similarity index 100% rename from docs/get-started/cardano-node/running-cardano.md rename to docs/get-started/cardano-node/running-cardano.mdx diff --git a/docs/get-started/cardano-node/topology.md b/docs/get-started/cardano-node/topology.mdx similarity index 100% rename from docs/get-started/cardano-node/topology.md rename to docs/get-started/cardano-node/topology.mdx diff --git a/docs/get-started/cardano-serialization-lib/create-react-app.md b/docs/get-started/cardano-serialization-lib/create-react-app.md deleted file mode 100644 index 81c57107fa..0000000000 --- a/docs/get-started/cardano-serialization-lib/create-react-app.md +++ /dev/null @@ -1,300 +0,0 @@ ---- -id: create-react-app -sidebar_position: 6 -title: Create React App for Serialization-Lib -sidebar_label: Create React App -description: A Create React App with the necessary code to get started developing front-end DApps on Cardano -image: /img/og/og-getstarted-serialization-lib.png ---- - -## cardano-wallet-connector -`cardano-wallet-connector` is a Create React App boilerplate code that includes examples of how to use the Serialization-Lib to connect -to different Cardano Web wallets and send transactions. This lets developers who are familiar with React JS to get started -quickly with Cardano. The boilerplate code includes examples of how to execute simple transaction of sending someone ADA -and also how to interact with Plutus scripts (locking and redeeming assets from scripts). A developer familiar with React JS can clone -the GitHub repo and start building DApps - -GitHub: [cardano-wallet-connector](https://github.com/dynamicstrategies/cardano-wallet-connector) - -## Table of Contents - -- [Introduction](#introduction) -- [Use Cases](#use-cases) -- [Installation](#installation) -- [Code Walkthrough](#code-walkthrough) - + [Define Protocol Parameters](#1-define-protocol-parameters) - + [Initialize the Transaction Builder](#2-initialize-the-transaction-builder) - + [Add UTXOs to the Transaction as Inputs](#3-add-utxos-to-the-transaction-as-inputs) - + [Add Outputs to the Transaction](#4-add-outputs-to-the-transaction) - + [Add the Address where Change will be sent](#5-add-the-address-where-change-will-be-sent) - + [Build the Body of the Transaction](#6-build-the-body-of-the-transaction) - + [Sign the Transaction](#7-sign-the-transaction) - + [Send the Transaction](#8-send-the-transaction) -- [UI Components](#ui-components) -- [Demo](#demo) - -## Introduction -React JS is by far the most popular front-end framework and continues to grow fast, judging by the number of -Stackoverflow questions when compared to other frameworks such as Angular, Vue and Svelte ([source](https://gist.github.com/tkrotoff/b1caa4c3a185629299ec234d2314e190)). -It is also well documented, so that a beginner with some Javascript knowledge can pick it up, -and powerful enough that more sophisticated full stack frameworks such as Next JS incorporate it. - -A Create React App is the command that any new application is created with in React JS and anyone who has used this framework before -will know what it is and what to do with it. - -React also has a mobile extension called React Native and the Serialization Lib has binding for it. Therefore choosing React Js -as starting point for a new projects comes with benefits that it can be expanded to a full stack, or a mobile project later on. - -Having boilerplate code for React JS makes it easy for a large population of developers to get up and running quickly with Cardano. -And those familiar with other front-end frameworks can pick-it-up quickly after a short revision of [React basics](https://reactjs.org/docs/create-a-new-react-app.html) - -## Use Cases - -The boilerplate code covers the following use cases, starting with the simplest and working toward the more -involved examples of interacting with smart contracts - -1. Send ada to an address -2. Send Tokens (NFTs) to an address -3. Lock ada at a Plutus Script address -4. Lock Tokens (NFTs) at a Plutus Script address -5. Redeem ada from a Plutus Script address -6. Redeem Tokens (NFTs) from a Plutus Script address - -In all of these examples the user signs the transactions with their Web wallet. -The wallets included in the boilerplate are Nami, Flint and CCVault -(this last one has been rebranded to Eternlwallet at the end of March 2022). The code is extensible to other -wallets by adding a few lines of code as long as wallet follows the [CIP-30 standard](https://cips.cardano.org/cips/cip30/) - -## Installation - -Clone the Git repository into your dev machine and start a local server. When it finishes loading it will tell you what -IP and port number it started on. In most cases it will be on localhost:3000. If the browser does not -automatically open this address then open `localhost:3000` in your web browser. - -```sh -git clone https://github.com/dynamicstrategies/cardano-wallet-connector.git -cd cardano-wallet-connector -npm install -npm start -``` - -:::note - -Check the Node version that you are running and make sure that it is version 14 or greater - -::: - -```sh -node --version -``` - -## Code Walkthrough -In this section we will walkthrough the code and explain what different parts of it do. This should give the reader -a better understanding of what code is doing and what and then use this -information to built their own use cases. For this we will start with the example of how to Send some ada to an address - -Building a Sending a transaction can be broken down into 8 steps: - -### 1. Define Protocol Parameters - -These parameters are set by Cardano and are static for the most part. If in doubt, the parameters can be checked by looking -in the table called `epoch_param` that is maintained by the `cardano-db-sync` service - how this is done is out of scope, -for more info consult [cardano-db-sync](https://github.com/IntersectMBO/cardano-db-sync) - -```javascript -this.protocolParams = { - linearFee: { - minFeeA: "44", - minFeeB: "155381", - }, - minUtxo: "34482", - poolDeposit: "500000000", - keyDeposit: "2000000", - maxValSize: 5000, - maxTxSize: 16384, - priceMem: 0.0577, - priceStep: 0.0000721, - coinsPerUtxoWord: "34482", -} -``` - -### 2. Initialize the Transaction Builder - -The transaction builder is initialized by giving it the protocol parameters - -```javascript -initTransactionBuilder = async () => { - - const txBuilder = TransactionBuilder.new( - TransactionBuilderConfigBuilder.new() - .fee_algo( - LinearFee.new( - BigNum.from_str(this.protocolParams.linearFee.minFeeA), - BigNum.from_str(this.protocolParams.linearFee.minFeeB) - ) - ) - .pool_deposit(BigNum.from_str(this.protocolParams.poolDeposit)) - .key_deposit(BigNum.from_str(this.protocolParams.keyDeposit)) - .coins_per_utxo_word(BigNum.from_str(this.protocolParams.coinsPerUtxoWord)) - .max_value_size(this.protocolParams.maxValSize) - .max_tx_size(this.protocolParams.maxTxSize) - .prefer_pure_change(true) - .build() - ); - - return txBuilder -} -``` - -### 3. Add UTXOs to the Transaction as Inputs -Define the address where the ada will be sent and the address to where any change will be given after the transaction builder is -done with balancing the transaction (so that the inputs + fees are always equal to the outputs). The first address is usually where you -want to send the ada (your friend, or plutus script address) and the second address is usually your own wallet address, so that the change -comes back to you. - -```javascript -const shelleyOutputAddress = Address.from_bech32(this.state.addressBech32SendADA) -const shelleyChangeAddress = Address.from_bech32(this.state.changeAddress) -``` - -Then add inputs to the transaction. This can be done by giving the Transaction Builder all the -available UTXOs in your wallet and the letting the Transaction Builder choose which ones to use. -There are a number of algorithms to choose from for how the Transaction Builder will choose the UTXOs. The available ones are -`0` for LargestFirst, `1` for RandomImprove, `2` for LargestFirstMultiAsset and `3` for RandomImproveMultiAsset -In this example we use the RandomImprove algorithm. - -```javascript -const txUnspentOutputs = await this.getTxUnspentOutputs(); -txBuilder.add_inputs_from(txUnspentOutputs, 1) -``` - -Note that as of version Serialization-Lib v10, it now has these UTXO selection algorithms built-in. -In the previous versions of teh Serialization-Lib, the RandomImprove had to be done using other libraries which and as a result you still might -see this when reading code from implementation of others - be careful to check which version of the Serialization-Lib they are using - -### 4. Add Outputs to the Transaction - -Every transaction needs some Outputs that it will spend. When sending ada the amount needs to be sent in Lovelaces and -there are 1 000 000 lovelaces in 1 ada. The amount of lovelaces to send needs to be give as a String - -```javascript -txBuilder.add_output( - TransactionOutput.new( - shelleyOutputAddress, - Value.new(BigNum.from_str(this.state.lovelaceToSend.toString())) - ), -); -``` - -### 5. Add the Address where Change will be sent -This is needed to ensure that the values of inputs + fees is -always equal to the value of outputs - -```javascript -txBuilder.add_change_if_needed(shelleyChangeAddress) -``` - -### 6. Build the Body of the Transaction - -A transaction is composed of the Body that defines what inputs and outputs are affected, and -the Transaction Witness that defines who signed the transaction and in cases where -Plutus scripts are involved it also carries Datums and Validation logic. This step builds -the Transaction Body - -```javascript -const txBody = txBuilder.build(); -``` - -The next step creates the Transaction Witness - -### 7. Sign the Transaction - -A Transaction Witness is created, added to the transaction and the transaction is signed with the Web wallet. -When this part of the code is executed a pop-up from the user's web wallet will ask for the user to provide the password to their wallet -and once the user provides the password the wallet then Signs the transaction - -```javascript -const transactionWitnessSet = TransactionWitnessSet.new(); - -const tx = Transaction.new( - txBody, - TransactionWitnessSet.from_bytes(transactionWitnessSet.to_bytes()) -) - -let txVkeyWitnesses = await this.API.signTx( - Buffer.from( - tx.to_bytes(), "utf8" - ).toString("hex"), - true -); - -txVkeyWitnesses = TransactionWitnessSet.from_bytes( - Buffer.from(txVkeyWitnesses, "hex") -); - -transactionWitnessSet.set_vkeys(txVkeyWitnesses.vkeys()); - -const signedTx = Transaction.new( - tx.body(), - transactionWitnessSet -); -``` - -### 8. Send the Transaction - -The last step is to submit the transaction to the web wallet. The web wallet then forwards it to the blockchain. -If the submitted transaction passes validation checks that are done by the wallet it will return a transaction Id which means that -the transaction has been added to the Mempool and waiting to be added to be included in one of the upcoming blocks. - -```javascript -const submittedTxHash = await this.API.submitTx( - Buffer.from( - signedTx.to_bytes(), "utf8" - ).toString("hex") -); -console.log(submittedTxHash) -``` - -We can `console.log(submittedTxHash)` the Transaction Hash and go try to find it on a blockchain explorer such as [cardanoscan.io](https://cardanoscan.io/) - -## UI Components -When building a front-end app it is useful to have buttons, forms and other components that the user can interact with. -So included in the Create React App is an example of UI components from Blueprint JS which is a high performance -React-based UI toolkit for the web. It is an opensource project developer by Palantir that has an extensive library -for building applications and is well documented - -Link to [Blueprint UI docs](https://blueprintjs.com/docs/) - -## Demo - -A working demo of this Create React App is available [HERE](https://dynamicstrategies.io/wconnector) - -## Troubleshooting -### Out of Memory - -If you get an error that starts with: - -:::caution - -`FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory ...` - -::: - -then run this snippet in your terminal before executing `npm start` -```shell -export NODE_OPTIONS="--max-old-space-size=8192" -``` - -### Not Enough ADA -If you get this error: - -:::caution - -`Not enough ADA leftover to include non-ADA assets in a change address ...` - -::: - -Then first make sure that you have enough ada in your wallet and then try changing the "strategy" number -in this part of the code `txBuilder.add_inputs_from(txUnspentOutputs, 1)` which determines how it selects -available UTXOs from your wallet from section [Add UTXOs to the Transaction as Inputs](#3-add-utxos-to-the-transaction-as-inputs). -The options are `0` for LargestFirst, `1` for RandomImprove, `2` for LargestFirstMultiAsset and `3` for RandomImproveMultiAsset diff --git a/docs/get-started/cardano-serialization-lib/overview.md b/docs/get-started/cardano-serialization-lib/overview.md deleted file mode 100644 index 8a221150e1..0000000000 --- a/docs/get-started/cardano-serialization-lib/overview.md +++ /dev/null @@ -1,111 +0,0 @@ ---- -id: overview -sidebar_position: 1 -title: Get Started with Cardano Serialization Lib -sidebar_label: Overview -description: Get Started with Cardano Serialization Lib -image: /img/og/og-getstarted-serialization-lib.png ---- - -This is a library for serialization & deserialization of data structures -used in Cardano’s Haskell implementation of Shelley along with useful -utility functions. - - -## How can you use this library - -Rust is wonderfully portable! You can easily bind to the native Rust -library from any common programming language (even C and WebAssembly)! - - -### NPM packages - -- [NodeJS WASM package](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-nodejs) -- [Browser (chrome/firefox) WASM package](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-browser) -- [Browser (pure JS - no WASM) ASM.js package](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-asmjs) - - -### Mobile bindings - -- [React-Native mobile bindings](https://github.com/Emurgo/react-native-haskell-shelley) - -## Benefits of using this library - -Serialization/deserialization code is automatically generated from -Cardano’s official specification, which guarantees it can easily stay up -to date! We do this using an EMURGO-written tool called [cddl-codegen](https://github.com/Emurgo/cddl-codegen) -which can be re-used for other tasks such as automatically generating a -Rust library for Cardano metadata specifications! - -It is also very easy to create scripts in Rust or WASM to share with -stake pools, or even embed inside an online tool! No more crazy -cardano-cli bash scripts! - -Powerful and flexible enough to be used to power wallets and exchanges! -(Yes, it’s used in production!) - -## Documentation - -This library generates both [Typescript](https://www.typescriptlang.org/) and [Flow](https://flow.org/) type definitions, -so it’s often easiest to see what is possible by just looking at the -types! You can find the Flow types [here](https://github.com/Emurgo/cardano-serialization-lib/blob/master/rust/pkg/cardano_serialization_lib.js.flow). - -You can also look in the [example](https://github.com/Emurgo/cardano-serialization-lib/tree/master/example) folder to see how to use this library from Typescript or just experiment with the library. - -## What about other versions of Cardano? - -If you are looking for legacy bindings, you can find them at the -following: - -- [Byron WASM bindings](https://github.com/input-output-hk/js-cardano-wasm/tree/master/cardano-wallet) -- [Jormungandr WASM bindings](https://github.com/emurgo/js-chain-libs) - -## Original binary specifications - -Here are the location of the original [CDDL](http://cbor.io/tools.html) specifications: - -- Byron: [link](https://github.com/IntersectMBO/cardano-ledger/tree/master/eras/byron/impl) -- Shelley: [link](https://github.com/IntersectMBO/cardano-ledger/tree/master/eras/shelley/impl) -- Mary: [link](https://github.com/IntersectMBO/cardano-ledger/tree/master/eras/mary/impl) - -## Building - -If you need to install Rust, do the following: - -```shell -curl https://sh.rustup.rs -sSf | sh -s -- -y -echo 'export PATH=$HOME/.cargo/bin/:$PATH' >> $BASH_ENV -rustup install stable -rustup target add wasm32-unknown-unknown --toolchain stable -curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -``` - -To build this repository, do the following: - -```shell -git submodule update --init --recursive -nvm use -npm install -npm run rust:build-nodejs -``` - -## Testing - -```shell -npm run rust:test -``` - -## Publishing - -To publish a new version to [crates.io](https://crates.io) -```shell -npm run rust:publish -``` - - -To publish new versions to NPM (only needed if you are an admin of this project) -```shell -npm run js:publish-nodejs -npm run js:publish-browser -npm run js:publish-asm -``` diff --git a/docs/get-started/cardano-wallet-js.md b/docs/get-started/cardano-wallet-js.mdx similarity index 100% rename from docs/get-started/cardano-wallet-js.md rename to docs/get-started/cardano-wallet-js.mdx diff --git a/docs/get-started/cardano-wallet/installing-cardano-wallet.md b/docs/get-started/cardano-wallet/installing-cardano-wallet.mdx similarity index 100% rename from docs/get-started/cardano-wallet/installing-cardano-wallet.md rename to docs/get-started/cardano-wallet/installing-cardano-wallet.mdx diff --git a/docs/get-started/cardanocli-js.md b/docs/get-started/cardanocli-js.mdx similarity index 100% rename from docs/get-started/cardanocli-js.md rename to docs/get-started/cardanocli-js.mdx diff --git a/docs/get-started/cardanosharp-wallet.md b/docs/get-started/cardanosharp-wallet.mdx similarity index 100% rename from docs/get-started/cardanosharp-wallet.md rename to docs/get-started/cardanosharp-wallet.mdx diff --git a/docs/get-started/create-simple-transaction.md b/docs/get-started/create-simple-transaction.mdx similarity index 99% rename from docs/get-started/create-simple-transaction.md rename to docs/get-started/create-simple-transaction.mdx index 4051bfc0b6..c88de1de7c 100644 --- a/docs/get-started/create-simple-transaction.md +++ b/docs/get-started/create-simple-transaction.mdx @@ -75,7 +75,9 @@ cardano-cli transaction calculate-min-fee \ all amounts must be in Lovelace: +```sh expr - - +``` For example, if we send 10 ada from a UTxO containing 20 ada, the change to send back to `payment.addr` after paying the fee is: 9.832035 ada diff --git a/docs/get-started/cscli.md b/docs/get-started/cscli.mdx similarity index 100% rename from docs/get-started/cscli.md rename to docs/get-started/cscli.mdx diff --git a/docs/get-started/dandelion-apis.md b/docs/get-started/dandelion-apis.mdx similarity index 100% rename from docs/get-started/dandelion-apis.md rename to docs/get-started/dandelion-apis.mdx diff --git a/docs/get-started/koios.md b/docs/get-started/koios.mdx similarity index 100% rename from docs/get-started/koios.md rename to docs/get-started/koios.mdx diff --git a/docs/get-started/mesh/get-started.md b/docs/get-started/mesh/get-started.mdx similarity index 100% rename from docs/get-started/mesh/get-started.md rename to docs/get-started/mesh/get-started.mdx diff --git a/docs/get-started/mesh/overview.md b/docs/get-started/mesh/overview.mdx similarity index 100% rename from docs/get-started/mesh/overview.md rename to docs/get-started/mesh/overview.mdx diff --git a/docs/get-started/mesh/react.md b/docs/get-started/mesh/react.mdx similarity index 100% rename from docs/get-started/mesh/react.md rename to docs/get-started/mesh/react.mdx diff --git a/docs/get-started/mesh/transactions-basic.md b/docs/get-started/mesh/transactions-basic.mdx similarity index 100% rename from docs/get-started/mesh/transactions-basic.md rename to docs/get-started/mesh/transactions-basic.mdx diff --git a/docs/get-started/mesh/transactions-minting.md b/docs/get-started/mesh/transactions-minting.mdx similarity index 100% rename from docs/get-started/mesh/transactions-minting.md rename to docs/get-started/mesh/transactions-minting.mdx diff --git a/docs/get-started/mesh/transactions-smart-contract.md b/docs/get-started/mesh/transactions-smart-contract.mdx similarity index 100% rename from docs/get-started/mesh/transactions-smart-contract.md rename to docs/get-started/mesh/transactions-smart-contract.mdx diff --git a/docs/get-started/mesh/transactions-staking.md b/docs/get-started/mesh/transactions-staking.mdx similarity index 100% rename from docs/get-started/mesh/transactions-staking.md rename to docs/get-started/mesh/transactions-staking.mdx diff --git a/docs/get-started/mesh/txbuilder.md b/docs/get-started/mesh/txbuilder.mdx similarity index 100% rename from docs/get-started/mesh/txbuilder.md rename to docs/get-started/mesh/txbuilder.mdx diff --git a/docs/get-started/mesh/wallets-integration.md b/docs/get-started/mesh/wallets-integration.mdx similarity index 100% rename from docs/get-started/mesh/wallets-integration.md rename to docs/get-started/mesh/wallets-integration.mdx diff --git a/docs/get-started/ogmios.md b/docs/get-started/ogmios.mdx similarity index 100% rename from docs/get-started/ogmios.md rename to docs/get-started/ogmios.mdx diff --git a/docs/get-started/overview.md b/docs/get-started/overview.mdx similarity index 100% rename from docs/get-started/overview.md rename to docs/get-started/overview.mdx diff --git a/docs/get-started/plu-ts.md b/docs/get-started/plu-ts.mdx similarity index 100% rename from docs/get-started/plu-ts.md rename to docs/get-started/plu-ts.mdx diff --git a/docs/get-started/secure-workflow.md b/docs/get-started/secure-workflow.mdx similarity index 99% rename from docs/get-started/secure-workflow.md rename to docs/get-started/secure-workflow.mdx index 14d330cb49..765a2d9429 100644 --- a/docs/get-started/secure-workflow.md +++ b/docs/get-started/secure-workflow.mdx @@ -154,7 +154,9 @@ cardano-cli transaction calculate-min-fee \ All amounts must be in Lovelace: +```sh expr - - +``` For example, if we send 10 ada from a UTxO containing 20 ada, the change to send back to `payment.addr` after paying the fee is: 9.832035 ada: diff --git a/docs/get-started/technical-concepts.md b/docs/get-started/technical-concepts.mdx similarity index 100% rename from docs/get-started/technical-concepts.md rename to docs/get-started/technical-concepts.mdx diff --git a/docs/get-started/testnets-and-devnets.md b/docs/get-started/testnets-and-devnets.mdx similarity index 100% rename from docs/get-started/testnets-and-devnets.md rename to docs/get-started/testnets-and-devnets.mdx diff --git a/docs/governance/cardano-governance/governance-actions.md b/docs/governance/cardano-governance/governance-actions.mdx similarity index 100% rename from docs/governance/cardano-governance/governance-actions.md rename to docs/governance/cardano-governance/governance-actions.mdx diff --git a/docs/governance/cardano-governance/overview.md b/docs/governance/cardano-governance/overview.mdx similarity index 100% rename from docs/governance/cardano-governance/overview.md rename to docs/governance/cardano-governance/overview.mdx diff --git a/docs/governance/overview.md b/docs/governance/overview.mdx similarity index 100% rename from docs/governance/overview.md rename to docs/governance/overview.mdx diff --git a/docs/governance/project-catalyst.md b/docs/governance/project-catalyst.mdx similarity index 100% rename from docs/governance/project-catalyst.md rename to docs/governance/project-catalyst.mdx diff --git a/docs/integrate-cardano/creating-wallet-faucet.md b/docs/integrate-cardano/creating-wallet-faucet.mdx similarity index 100% rename from docs/integrate-cardano/creating-wallet-faucet.md rename to docs/integrate-cardano/creating-wallet-faucet.mdx diff --git a/docs/integrate-cardano/listening-for-payments-cli.md b/docs/integrate-cardano/listening-for-payments-cli.mdx similarity index 100% rename from docs/integrate-cardano/listening-for-payments-cli.md rename to docs/integrate-cardano/listening-for-payments-cli.mdx diff --git a/docs/integrate-cardano/listening-for-payments-wallet.md b/docs/integrate-cardano/listening-for-payments-wallet.mdx similarity index 100% rename from docs/integrate-cardano/listening-for-payments-wallet.md rename to docs/integrate-cardano/listening-for-payments-wallet.mdx diff --git a/docs/integrate-cardano/multi-witness-transactions-cli.md b/docs/integrate-cardano/multi-witness-transactions-cli.mdx similarity index 100% rename from docs/integrate-cardano/multi-witness-transactions-cli.md rename to docs/integrate-cardano/multi-witness-transactions-cli.mdx diff --git a/docs/integrate-cardano/overview.md b/docs/integrate-cardano/overview.mdx similarity index 100% rename from docs/integrate-cardano/overview.md rename to docs/integrate-cardano/overview.mdx diff --git a/docs/integrate-cardano/point-of-sale.md b/docs/integrate-cardano/point-of-sale.mdx similarity index 100% rename from docs/integrate-cardano/point-of-sale.md rename to docs/integrate-cardano/point-of-sale.mdx diff --git a/docs/integrate-cardano/testnet-faucet.md b/docs/integrate-cardano/testnet-faucet.mdx similarity index 100% rename from docs/integrate-cardano/testnet-faucet.md rename to docs/integrate-cardano/testnet-faucet.mdx diff --git a/docs/integrate-cardano/user-wallet-authentication.md b/docs/integrate-cardano/user-wallet-authentication.mdx similarity index 100% rename from docs/integrate-cardano/user-wallet-authentication.md rename to docs/integrate-cardano/user-wallet-authentication.mdx diff --git a/docs/native-tokens/authenticated-products.md b/docs/native-tokens/authenticated-products.mdx similarity index 100% rename from docs/native-tokens/authenticated-products.md rename to docs/native-tokens/authenticated-products.mdx diff --git a/docs/native-tokens/cardano-token-registry.md b/docs/native-tokens/cardano-token-registry.mdx similarity index 100% rename from docs/native-tokens/cardano-token-registry.md rename to docs/native-tokens/cardano-token-registry.mdx diff --git a/docs/native-tokens/minting-nfts.md b/docs/native-tokens/minting-nfts.md index 7437e950e3..c5552bb497 100644 --- a/docs/native-tokens/minting-nfts.md +++ b/docs/native-tokens/minting-nfts.md @@ -6,6 +6,7 @@ description: How to mint NFTs on Cardano. image: /img/og/og-developer-portal.png --- +```jsx import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; @@ -70,7 +71,7 @@ The query would look something like this: 1. Get asset name and `policyID`. 2. Look up the latest minting transaction of this asset. 3. Check the metadata for label `721`. -4. Match the asset name and (in this case) the {policy_name}-entry. +4. Match the asset name and (in this case) the `{policy_name}-entry`. 5. Query the IPFS hash and all other attributes to the corresponding entry. :::important diff --git a/docs/native-tokens/minting.md b/docs/native-tokens/minting.mdx similarity index 100% rename from docs/native-tokens/minting.md rename to docs/native-tokens/minting.mdx diff --git a/docs/native-tokens/overview.md b/docs/native-tokens/overview.mdx similarity index 100% rename from docs/native-tokens/overview.md rename to docs/native-tokens/overview.mdx diff --git a/docs/operate-a-stake-pool/ansible-cardano-node.md b/docs/operate-a-stake-pool/ansible-cardano-node.mdx similarity index 100% rename from docs/operate-a-stake-pool/ansible-cardano-node.md rename to docs/operate-a-stake-pool/ansible-cardano-node.mdx diff --git a/docs/operate-a-stake-pool/cardano-key-pairs.md b/docs/operate-a-stake-pool/cardano-key-pairs.mdx similarity index 100% rename from docs/operate-a-stake-pool/cardano-key-pairs.md rename to docs/operate-a-stake-pool/cardano-key-pairs.mdx diff --git a/docs/operate-a-stake-pool/cardano-relay-configuration.md b/docs/operate-a-stake-pool/cardano-relay-configuration.mdx similarity index 95% rename from docs/operate-a-stake-pool/cardano-relay-configuration.md rename to docs/operate-a-stake-pool/cardano-relay-configuration.mdx index 0bdb7710e1..af6cd50e26 100644 --- a/docs/operate-a-stake-pool/cardano-relay-configuration.md +++ b/docs/operate-a-stake-pool/cardano-relay-configuration.mdx @@ -104,11 +104,11 @@ nano startTestNode.sh ``` :::note -Replace <$HOME> with local values of the `$HOME` environment variable on each machine. To find those values, run `echo $HOME`. +Replace `<$HOME>` with local values of the `$HOME` environment variable on each machine. To find those values, run `echo $HOME`. ::: copy the following in the file -``` +```bash #!/bin/bash # Set a variable to indicate the port where the Cardano Node listens PORT=6000 @@ -116,13 +116,13 @@ PORT=6000 # 0.0.0.0 listens on all local IP addresses for the computer HOSTADDR=0.0.0.0 # Set a variable to indicate the file path to your topology file -TOPOLOGY=<$HOME>/cardano-testnet/topology.json +TOPOLOGY=${HOME}/cardano-testnet/topology.json # Set a variable to indicate the folder where Cardano Node stores blockchain data -DB_PATH=<$HOME>/cardano-testnet/db +DB_PATH=${HOME}/cardano-testnet/db # Set a variable to indicate the path to the Cardano Node socket for Inter-process communication (IPC) -SOCKET_PATH=<$HOME>/cardano-testnet/db/socket +SOCKET_PATH=${HOME}/cardano-testnet/db/socket # Set a variable to indicate the file path to your main Cardano Node configuration file -CONFIG=<$HOME>/cardano-testnet/config.json +CONFIG=${HOME}/cardano-testnet/config.json # # Run Cardano Node using the options that you set using variables # @@ -149,24 +149,24 @@ To run Cardano Node as a service, use nano to create a file named cardano-testno :::note -Replace <$USER> and <$HOME> with their values of the environment variable. To find the values use following commands: +Replace `<$USER>` and `<$HOME>` with their values of the environment variable. To find the values use the following commands: echo $USER echo $HOME ::: -``` +```ini [Unit] Description = Cardano TestNode Service Wants = network-online.target After = network-online.target [Service] -User = <$USER> +User = ${USER} Type = simple -WorkingDirectory = <$HOME>/cardano-testnet -ExecStart = /bin/bash -c '<$HOME>/cardano-testnet/startTestNode.sh' +WorkingDirectory = ${HOME}/cardano-testnet +ExecStart = /bin/bash -c '${HOME}/cardano-testnet/startTestNode.sh' ExecReload = pkill -HUP cardano-node KillSignal = SIGINT RestartKillSignal = SIGINT diff --git a/docs/operate-a-stake-pool/frankenwallet.md b/docs/operate-a-stake-pool/frankenwallet.mdx similarity index 100% rename from docs/operate-a-stake-pool/frankenwallet.md rename to docs/operate-a-stake-pool/frankenwallet.mdx diff --git a/docs/operate-a-stake-pool/generating-wallet-keys.md b/docs/operate-a-stake-pool/generating-wallet-keys.mdx similarity index 100% rename from docs/operate-a-stake-pool/generating-wallet-keys.md rename to docs/operate-a-stake-pool/generating-wallet-keys.mdx diff --git a/docs/operate-a-stake-pool/grafana-dashboard-tutorial.md b/docs/operate-a-stake-pool/grafana-dashboard-tutorial.mdx similarity index 100% rename from docs/operate-a-stake-pool/grafana-dashboard-tutorial.md rename to docs/operate-a-stake-pool/grafana-dashboard-tutorial.mdx diff --git a/docs/operate-a-stake-pool/guild-ops-suite.md b/docs/operate-a-stake-pool/guild-ops-suite.mdx similarity index 100% rename from docs/operate-a-stake-pool/guild-ops-suite.md rename to docs/operate-a-stake-pool/guild-ops-suite.mdx diff --git a/docs/operate-a-stake-pool/hardening-server.md b/docs/operate-a-stake-pool/hardening-server.mdx similarity index 100% rename from docs/operate-a-stake-pool/hardening-server.md rename to docs/operate-a-stake-pool/hardening-server.mdx diff --git a/docs/operate-a-stake-pool/hardware-requirements.md b/docs/operate-a-stake-pool/hardware-requirements.mdx similarity index 100% rename from docs/operate-a-stake-pool/hardware-requirements.md rename to docs/operate-a-stake-pool/hardware-requirements.mdx diff --git a/docs/operate-a-stake-pool/improve-grafana-security.md b/docs/operate-a-stake-pool/improve-grafana-security.mdx similarity index 99% rename from docs/operate-a-stake-pool/improve-grafana-security.md rename to docs/operate-a-stake-pool/improve-grafana-security.mdx index bffa27db61..e690cd985c 100644 --- a/docs/operate-a-stake-pool/improve-grafana-security.md +++ b/docs/operate-a-stake-pool/improve-grafana-security.mdx @@ -114,7 +114,7 @@ Paste this line inside your "location /" block : ```shell limit_except PUT GET HEAD POST { deny all; } ``` -Paste this sub-block inside the first "server {" block +Paste this sub-block inside the first "server `{` " block ```shell # Proxy Grafana Live WebSocket connections. location /api/live/ { diff --git a/docs/operate-a-stake-pool/introduction-to-cardano.md b/docs/operate-a-stake-pool/introduction-to-cardano.mdx similarity index 100% rename from docs/operate-a-stake-pool/introduction-to-cardano.md rename to docs/operate-a-stake-pool/introduction-to-cardano.mdx diff --git a/docs/operate-a-stake-pool/monitoring-gLiveView.md b/docs/operate-a-stake-pool/monitoring-gLiveView.mdx similarity index 100% rename from docs/operate-a-stake-pool/monitoring-gLiveView.md rename to docs/operate-a-stake-pool/monitoring-gLiveView.mdx diff --git a/docs/operate-a-stake-pool/node-installation-process.md b/docs/operate-a-stake-pool/node-installation-process.mdx similarity index 100% rename from docs/operate-a-stake-pool/node-installation-process.md rename to docs/operate-a-stake-pool/node-installation-process.mdx diff --git a/docs/operate-a-stake-pool/on-chain-polls.md b/docs/operate-a-stake-pool/on-chain-polls.mdx similarity index 100% rename from docs/operate-a-stake-pool/on-chain-polls.md rename to docs/operate-a-stake-pool/on-chain-polls.mdx diff --git a/docs/operate-a-stake-pool/overview.md b/docs/operate-a-stake-pool/overview.mdx similarity index 100% rename from docs/operate-a-stake-pool/overview.md rename to docs/operate-a-stake-pool/overview.mdx diff --git a/docs/operate-a-stake-pool/prerequisites.md b/docs/operate-a-stake-pool/prerequisites.mdx similarity index 100% rename from docs/operate-a-stake-pool/prerequisites.md rename to docs/operate-a-stake-pool/prerequisites.mdx diff --git a/docs/operate-a-stake-pool/register-stake-address.md b/docs/operate-a-stake-pool/register-stake-address.mdx similarity index 100% rename from docs/operate-a-stake-pool/register-stake-address.md rename to docs/operate-a-stake-pool/register-stake-address.mdx diff --git a/docs/operate-a-stake-pool/register-stake-pool-metadata.md b/docs/operate-a-stake-pool/register-stake-pool-metadata.mdx similarity index 100% rename from docs/operate-a-stake-pool/register-stake-pool-metadata.md rename to docs/operate-a-stake-pool/register-stake-pool-metadata.mdx diff --git a/docs/operate-a-stake-pool/register-stake-pool.md b/docs/operate-a-stake-pool/register-stake-pool.mdx similarity index 100% rename from docs/operate-a-stake-pool/register-stake-pool.md rename to docs/operate-a-stake-pool/register-stake-pool.mdx diff --git a/docs/operate-a-stake-pool/stake-pool-networking.md b/docs/operate-a-stake-pool/stake-pool-networking.mdx similarity index 100% rename from docs/operate-a-stake-pool/stake-pool-networking.md rename to docs/operate-a-stake-pool/stake-pool-networking.mdx diff --git a/docs/portal-contribute.md b/docs/portal-contribute.mdx similarity index 100% rename from docs/portal-contribute.md rename to docs/portal-contribute.mdx diff --git a/docs/portal-contributors.md b/docs/portal-contributors.mdx similarity index 100% rename from docs/portal-contributors.md rename to docs/portal-contributors.mdx diff --git a/docs/portal-signup.md b/docs/portal-signup.mdx similarity index 100% rename from docs/portal-signup.md rename to docs/portal-signup.mdx diff --git a/docs/portal-style-guide.md b/docs/portal-style-guide.mdx similarity index 99% rename from docs/portal-style-guide.md rename to docs/portal-style-guide.mdx index 8bf6e16194..d3b46c0fd8 100644 --- a/docs/portal-style-guide.md +++ b/docs/portal-style-guide.mdx @@ -131,8 +131,7 @@ Some text to show that the reference links can follow later. Or leave it empty and use the [link text itself]. -URLs and URLs in angle brackets will automatically get turned into links. http://www.cardano.org or . - +URLs and URLs in angle brackets will automatically get turned into links. [http://www.cardano.org](http://www.cardano.org) or [http://www.cardano.org](http://www.cardano.org). Some text to show that the reference links can follow later. [arbitrary case-insensitive reference text]: https://www.cardano.org @@ -366,6 +365,7 @@ You can use tabs to display code examples in different languages. For example: ```html import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; +``` -``` =18.0" + } } diff --git a/src/plugins/changelog/index.js b/src/plugins/changelog/index.js index 5eb47ac44b..0a5aa5db39 100644 --- a/src/plugins/changelog/index.js +++ b/src/plugins/changelog/index.js @@ -61,6 +61,8 @@ function processSection(section) { return { title: title.replace(/ \(.*\)/, ''), content: `--- +mdx: + format: md date: ${`${date}T${hour}:00`}${ authors ? ` @@ -82,7 +84,7 @@ ${content.replace(/####/g, '##')}`, * @param {import('@docusaurus/types').LoadContext} context * @returns {import('@docusaurus/types').Plugin} */ -async function ChangelogPlugin(context, options) { +export default async function ChangelogPlugin(context, options) { const generateDir = path.join(context.siteDir, 'changelog/source'); const blogPlugin = await pluginContentBlog.default(context, { ...options, @@ -130,7 +132,8 @@ async function ChangelogPlugin(context, options) { 'default', ); // Redirect the metadata path to our folder - config.module.rules[0].use[1].options.metadataPath = (mdxPath) => { + const mdxLoader = config.module.rules[0].use[0]; + mdxLoader.options.metadataPath = (mdxPath) => { // Note that metadataPath must be the same/in-sync as // the path from createData for each MDX. const aliasedPath = aliasedSitePath(mdxPath, context.siteDir); diff --git a/src/plugins/changelog/theme/ChangelogItem/Header/Author/index.tsx b/src/plugins/changelog/theme/ChangelogItem/Header/Author/index.tsx index 484b75cea9..4c905eaaec 100644 --- a/src/plugins/changelog/theme/ChangelogItem/Header/Author/index.tsx +++ b/src/plugins/changelog/theme/ChangelogItem/Header/Author/index.tsx @@ -1,7 +1,7 @@ import React from 'react'; import clsx from 'clsx'; import Link from '@docusaurus/Link'; -import type {Props} from '@theme/BlogPostItem/Header/Author'; +import type {Props} from '@theme/Blog/Components/Author'; import styles from './styles.module.css'; diff --git a/src/plugins/changelog/theme/ChangelogItem/Header/Authors/index.tsx b/src/plugins/changelog/theme/ChangelogItem/Header/Authors/index.tsx index 002c123033..55df31195d 100644 --- a/src/plugins/changelog/theme/ChangelogItem/Header/Authors/index.tsx +++ b/src/plugins/changelog/theme/ChangelogItem/Header/Authors/index.tsx @@ -1,9 +1,9 @@ -import React, { useState } from 'react'; +import React, {useState} from 'react'; import clsx from 'clsx'; -import { useBlogPost } from '@docusaurus/theme-common/internal'; -import ChangelogItemHeaderAuthor from '@theme/ChangelogItem/Header/Author'; +import {useBlogPost} from '@docusaurus/plugin-content-blog/client'; +import ChangelogItemHeaderAuthor from '../Author'; import IconExpand from '@theme/Icon/Expand'; -import type { Props } from '@theme/BlogPostItem/Header/Authors'; +import type {Props} from '@theme/BlogPostItem/Header/Authors'; import styles from './styles.module.css'; @@ -12,7 +12,7 @@ export default function BlogPostAuthors({ className, }: Props): JSX.Element | null { const { - metadata: { authors }, + metadata: {authors}, assets, } = useBlogPost(); const [expanded, setExpanded] = useState(false); @@ -20,7 +20,7 @@ export default function BlogPostAuthors({ if (authorsCount === 0) { return null; } - const filteredAuthors = authors.slice(0, expanded ? authors.length : 20); + const filteredAuthors = authors.slice(0, expanded ? authors.length : 10); return (
))} - {authors.length > 20 && ( + {authors.length > 10 && (