Skip to content

unchase/cadence-quest-submissions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Emerald Academy Quest Submissions

Chapter 1 - Day 1

EN

  1. Blockchain is a public distributed decentralized data storage united using cryptographic algorithms into a single chain.
  2. A smart-contract is an application hosted on a blockchain, written in a language supported by this blockchain and allowing you to interact with it, excluding intermediaries between the caller of the smart-contract methods and the blockchain itself.
  3. The transaction changes the "state" of the blockchain and requires an execution fee, while the script only reads the "state" of the blockchain and does not require a fee.

RU

  1. Блокчейн - это публичное распределённое децентрализованное хранилище данных, объединённых с помощью криптографических алгоритмов в единую цепочку.
  2. Смарт-контракт - это размещённое в блокчейне приложение, написанное на поддерживаемом этим блокчейном языке и позволяющее взаимодействовать с ним, исключая посредников между тем, кто вызывает методы смарт-контракта и самим блокчейном.
  3. Транзакция изменяет "состояние" блокчейна и требует платы за исполнение, а скрипт только читает "состояние" блокчейна и не требует платы.

Chapter 2 - Day 2

EN

  1. 5 pillars of Cadence:
  • Safety and Security
  • Clarity
  • Approachability
  • Developer Experience
  • Resource Oriented Programming
  1. Their usefulness is that it is very easy to start developing under Cadence.
  • Safety and Security ensures that if the developer has not deliberately put malicious behavior into their code, then the chance of "harming" the user is minimal.
  • Clarity allows, among other things, the user who calls smart contracts to understand at the top level what result of the transaction to expect after its execution.
  • Approachability gives developers an easy way to migrate to the Cadence programming language in a way that doesn't take long to relearn (basic programming concepts are retained).
  • Developer Experience allows developers to quickly find bugs in their smart contracts and easily debug code. However, flowplayground is far from perfect and it would be nice to have our own more flexible and stable IDE =)
  • Resource Oriented Programming (as far as I've been able to learn) provides additional security at the programming language level, protecting the resources used in the smart contract from typical "double debit" errors, etc.

RU

  1. 5 столпов языка Cadence:
  • Безопасность и Защита
  • Ясность
  • Доступность
  • Опыт разработчика
  • Ресурсно-ориентированное программирование
  1. Их польза заключается в том, что начать разрабатывать под Cadence очень просто.
  • Безопасность и защита гарантируют, что если разработчик намеренно не вложил в свой код вредоносное поведение, то шанс "навредить" пользователю минимален.
  • Ясность позволяет в том числе и пользователю, вызывающему смарт-контракты, понимать на верхнем уровне, какой результат транзакции ожидать после её исполнения.
  • Доступность даёт разработчикам лёгкий путь для перехода на язык программирования Cadence таким образом, что не придётся долго переучиваться (основные концепции программирования сохранены).
  • Опыт разработчика позволяет разработчикам быстро находить ошибки в своих смарт-контрактах и легко отлаживать код. Однако, flowplayground далеко не идеален, и было бы неплохо иметь собственный более гибкий и стабильный IDE =)
  • Ресурсно-ориентированное программирование (насколько я успел изучить) даёт дополнительную безопасность на уровне языка программирования, предохраняющую ресурсы, используемые в смарт-контракте, от типичных ошибок "двойного списания" и т.п.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published