Skip to content

Commit

Permalink
Deploying to gh-pages from @ 6f9defa 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
TinaKT committed Dec 5, 2024
1 parent 2cd7eea commit 70a2c47
Show file tree
Hide file tree
Showing 610 changed files with 1,005 additions and 1,017 deletions.
Binary file modified en/mainnet/.doctrees/docs/smart-contracts/introduction.doctree
Binary file not shown.
Binary file modified en/mainnet/.doctrees/environment.pickle
Binary file not shown.
Binary file modified en/mainnet/.doctrees/tools/developer-page.doctree
Binary file not shown.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion en/mainnet/.smart-contracts/tutorials/voting/index.html

This file was deleted.

This file was deleted.

21 changes: 1 addition & 20 deletions en/mainnet/_sources/docs/smart-contracts/introduction.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ obligation, or some way for the highest bidder to file a complaint. Smart
contracts cannot resolve these real-world issues automatically, and the best
solution is likely going to depend on the specifics of the auction.

Next steps
==========

Additional reading
------------------

Expand All @@ -96,23 +93,7 @@ For information about the lifecycle of smart contracts, see :ref:`Lifecycle of a
Smart contract development tools
--------------------------------

Concordium provides a number of tools to simplify the smart contract creation and deployment process.

The `VSCode extension <https://marketplace.visualstudio.com/items?itemName=Concordium.concordium-smart-contracts>`__ can help you develop Concordium smart contracts. The extension sets up the editor for development, installs the ``cargo-concordium`` smart contract development tool for all supported platforms, and provides commands in the editor for the essential workflows, such as building and testing smart contracts.

You can watch a video about how to use the VSCode extension.

.. raw:: html

<iframe src="https://www.youtube.com/embed/9qjcsGDeveg?si=zGDkjMAdP5JjRMd8" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

The :ref:`integration testing library<integration-test-contract>` simplifies testing of your smart contracts before deployment.

The `main library for Smart contract development <https://crates.io/crates/concordium-std>`_ can be found on crates.io.

To ease deployment and initialization, you can use the `Smart contract deploy and initialize tool <https://sctools.mainnet.concordium.software/>`__. It works with the |bw| to deploy and initialize smart contracts to Mainnet and Testnet.

The `Typescript smart contract client generator <https://www.npmjs.com/package/@concordium/ccd-js-gen>`_ helps you generate JavaScript or TypeScript clients for the Concordium blockchain.
Read :ref:`developer resources <developer-page>` for information regarding tools.

.. toctree::
:hidden:
Expand Down
20 changes: 18 additions & 2 deletions en/mainnet/_sources/tools/developer-page.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,25 @@ All of our repositories are on `GitHub <https://github.com/Concordium>`__.

.. dropdown:: Smart contracts

See :ref:`Smart contracts <introduction>` for general information about smart contracts, including a list of the available :ref:`smart contract development tools<sc-dev-tools>` to make creation, testing, and deployment easier.
Concordium provides a number of tools to simplify the smart contract creation and deployment process.

`The main library for developing smart contracts can be found on crates.io <https://crates.io/crates/concordium-std>`__.
The `VSCode extension <https://marketplace.visualstudio.com/items?itemName=Concordium.concordium-smart-contracts>`__ can help you develop Concordium smart contracts. The extension sets up the editor for development, installs the ``cargo-concordium`` smart contract development tool for all supported platforms, and provides commands in the editor for the essential workflows, such as building and testing smart contracts.

You can watch a video about how to use the VSCode extension.

.. raw:: html

<iframe src="https://www.youtube.com/embed/9qjcsGDeveg?si=zGDkjMAdP5JjRMd8" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

The :ref:`integration testing library<integration-test-contract>` simplifies testing of your smart contracts before deployment.

The `main library for Smart contract development <https://crates.io/crates/concordium-std>`_ can be found on crates.io.

To ease deployment and initialization, you can use the `Smart contract deploy and initialize tool <https://sctools.mainnet.concordium.software/>`__. It works with the |bw| to deploy and initialize smart contracts to Mainnet and Testnet.

The `Typescript smart contract client generator <https://www.npmjs.com/package/@concordium/ccd-js-gen>`_ helps you generate JavaScript or TypeScript clients for the Concordium blockchain.

See :ref:`Smart contracts <introduction>` for general information about smart contracts.

.. dropdown:: Proofs

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
selector_to_html = {"a[href=\"../resources/glossary.html#term-Identity-Provider\"]": "<dt id=\"term-Identity-Provider\">Identity Provider</dt><dd><p>A person or organization that performs off-chain identification of users. Users are required to obtain an identity object from an identity provider in order to open an account on the Concordium Platform.</p></dd>", "a[href=\"../resources/glossary.html#term-Private-keys\"]": "<dt id=\"term-Private-keys\">Private keys</dt><dd><p>A random, secret string that is used in cryptography and cryptocurrency to prove ownership of an account and sign transactions to send, spend, delegate, and stake CCDs. A wallet consists of a set of public addresses and private keys. Anyone can deposit cryptocurrency in a public address, but funds cannot be removed from an address without the corresponding private key.</p></dd>", "a[href=\"../resources/glossary.html#term-Secret-recovery-phrase\"]": "<dt id=\"term-Secret-recovery-phrase\">Secret recovery phrase</dt><dd><p>Also known as a seed phrase, recovery phrase, mnemonic phrase, mnemonic seed, or backup phrase. A group of random words generated by the wallet that allows you to access the CCDs stored in it across devices or in case of non-functioning devices. Secret recovery phrase is supported by Concordium Wallet for Mobile and CryptoX Concordium Wallet.</p></dd>", "a[href=\"../resources/glossary.html#term-CCD\"]": "<dt id=\"term-CCD\">CCD</dt><dd><p>CCD is the currency of the Concordium blockchain. CCD can be used for multiple purposes:</p><p>The smallest subdivision of CCD is the \u00b5CCD (micro CCD), with 1 CCD = 1,000,000 \u00b5CCD. This means that CCD amounts are given with up to six decimal places of precision.</p></dd>"}
skip_classes = ["headerlink", "sd-stretched-link"]

window.onload = function () {
for (const [select, tip_html] of Object.entries(selector_to_html)) {
const links = document.querySelectorAll(`article.bd-article ${select}`);
for (const link of links) {
if (skip_classes.some(c => link.classList.contains(c))) {
continue;
}

tippy(link, {
content: tip_html,
allowHTML: true,
arrow: true,
placement: 'auto-start', maxWidth: 500, interactive: false,

});
};
};
console.log("tippy tips loaded!");
};

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
selector_to_html = {"a[href=\"../resources/glossary.html#term-Passive-delegation\"]": "<dt id=\"term-Passive-delegation\">Passive delegation</dt><dd><p>A form of delegation where a delegator\u2019s stake is effectively distributed among all staking pools. It is not associated with a specific validator. Delegators earn lower rewards when delegating to passive delegation than when delegating to a specific staking pool. However, passive delegation is not affected by poor performance of a single validator.</p></dd>", "a[href=\"../resources/glossary.html#term-Staking-pool\"]": "<dt id=\"term-Staking-pool\">Staking pool</dt><dd><p>A validator and delegators that collectively pool their stake to participate in the consensus protocol and earn rewards. The validator runs a validator node on behalf of the staking pool to produce blocks using the collective stake of the pool to determine its lottery power. Rewards are accrued to the pool each time the validator produces a block. Each pay day, the accrued rewards are distributed to the pool\u2019s participants in proportion to their relative stakes in the pool, with the validator (the pool owner) receiving an additional commission from the delegators\u2019 rewards.</p></dd>"}
skip_classes = ["headerlink", "sd-stretched-link"]

window.onload = function () {
for (const [select, tip_html] of Object.entries(selector_to_html)) {
const links = document.querySelectorAll(`article.bd-article ${select}`);
for (const link of links) {
if (skip_classes.some(c => link.classList.contains(c))) {
continue;
}

tippy(link, {
content: tip_html,
allowHTML: true,
arrow: true,
placement: 'auto-start', maxWidth: 500, interactive: false,

});
};
};
console.log("tippy tips loaded!");
};

This file was deleted.

Loading

0 comments on commit 70a2c47

Please sign in to comment.