follow us on twitter . like us on facebook . follow us on instagram . subscribe to our youtube channel . announcements on telegram channel . ask urgent question ONLY . Subscribe to our reddit

Author Topic: Crypto3-Blueprint library to TVC compilation (contest)  (Read 959 times)

Offline lesnik_utsa

  • Legendary
  • *
  • *
  • Activity: 1613
  • points:
    12932
  • Karma: 346
  • Proof-of-Stake Blockchain Network
  • Trade Count: (0)
  • Referrals: 6
  • Last Active: Today at 05:29:24 AM
    • View Profile

  • Total Badges: 23
    Badges: (View All)
    10 Posts First Post Fifth year Anniversary
Crypto3-Blueprint library to TVC compilation (contest)
« on: October 14, 2021, 12:23:14 AM »
Hello everyone, friends. As I wrote earlier, the recently launched Free TON Cryptography Governance subdivision immediately launched 2 contests with excellent prize money. Today I want to tell you about the Crypto3-Blueprint library to TVC compilation competition

Application Dates
October 1 - October 28, 2021

Description
As part of the integration of the Groth16 zkp schema into Free TON, it should be possible to generate proofs in DeBots. The proof generation itself can be added as a TVM instruction, but to generate the proof you must first generate an auxiliary (and sometimes public) input that satisfies the R1CS scheme

Since the generation of the auxiliary input differs significantly in different circuits, it cannot be added as an instruction, but must instead be done using in-TVM logic. Fortunately, there is a C ++ compiler to TVC (TVM bytecode)

In addition, since TVM operates slightly differently than a conventional processor, it may be more efficient to use the native types and functions of TVM. It is necessary not only to compile the libraries but also to optimize them to use the TVM features where necessary. Of course, a patch to a drawing library should not prevent the library from being compiled using a normal compiler to machine code

Task
It is necessary to write patches for crypto3-blueprint (https://github.com/NilFoundation/crypto3-blueprint) and its dependencies, as well as for the C ++ compiler so that it can be compiled and run a C ++ smart contract that uses this library. It is recommended to use the template repository as a basis

It should be able to use all the library features that can be used at the present time, the library contains several incomplete components

It should still be possible to compile the patched library with a regular C ++ native compiler and run it. Its performance should not degrade

Requirements
  • Improving the library performance in TVM will increase your score, you can use your own TVM types for this, for example using preprocessor definitions. In addition to uploading the material, you need to submit the code according to https://github.com/freeton-org/readme
  • The solution should include tests in the form of Free TON smart contracts that use various parts of the crypto3-blueprint library. These smart contracts must compile and run successfully
  • Besides uploading the view, the code should be posted according to GitHub - freeton-org / readme
  • The participant should make a presentation of his solution at a convenient time, agreed with the members of the cryptography group. The solution should include tests with clear instructions
  • The solution must be an open source license
  • The solution must contain at least a draft of the architecture description

Rewards
  • 1st prize 200,000 TONs
  • 2nd prize 100,000 TONs
  • 3rd prize 50,000 TONs
Only applications with an average score equal to or higher than 6.0 can be rewarded

Landing page - https://tvc.freeton.today/
Official news - https://forum.freeton.org/t/crypto3-blueprint-library-to-tvc-compilation-contest/11765
Developers Chat - https://t.me/FT_cryptography_SG
Coingecko - https://www.coingecko.com/ru/Криптовалюты/ton-crystal

Altcoins Talks - Cryptocurrency Forum

Crypto3-Blueprint library to TVC compilation (contest)
« on: October 14, 2021, 12:23:14 AM »

For Monthly biddings Check Here


 

ETH & ERC20 Tokens Donations: 0x2143F7146F0AadC0F9d85ea98F23273Da0e002Ab
BNB & BEP20 Tokens Donations: 0xcbDAB774B5659cB905d4db5487F9e2057b96147F
BTC Donations: bc1qjf99wr3dz9jn9fr43q28x0r50zeyxewcq8swng
BTC Tips for Moderators: 1Pz1S3d4Aiq7QE4m3MmuoUPEvKaAYbZRoG
Powered by SMFPacks Social Login Mod