DEV Community

ProgramCrafter
ProgramCrafter

Posted on

Hack-TON-berfest 2023 Maintainer Post

Intro

Hacktoberfest 2023 was the first where I participated actively. I had quite a lot of projects with easy tasks available, and that led to decision to be a maintainer. Also, TON blockchain community ran its branch of the event, called Hack-TON-berfest.

Hack-TON-berfest merch

Project

My successful maintaining-ship was with repository MulDEX (system for swapping different currencies, but allowing to swap any supported to any other without intermediate exchanges). I have already written post about maths behind it, by the way.

MulDEX

Project structure

  • contracts - source code of all the smart contracts of the project and their dependencies.
  • wrappers - wrapper classes (implementing Contract from ton-core) for the contracts, including any [de]serialization primitives and compilation functions.
  • tests - tests for the contracts.
  • scripts - scripts used by the project, mainly the deployment scripts.

How to use

Build

npx blueprint build or yarn blueprint build

Test

npx blueprint test or yarn blueprint test

Deploy or run another script

npx blueprint run or yarn blueprint run

Add a new contract

npx blueprint create ContractName or yarn blueprint create ContractName




Three pull requests were there:

  1. Smart contract reimplementation in a lower-level language, FunC. It was definitely needed, since the language I've chosen first didn't support one of TON features I needed.
  2. Build workflow (by @MKdir98). That's always nice to have in a project!
  3. Deploy wrapper (by @nonam3e): to start system easily.

Highs and Lows

There was a couple of exciting moments, for instance when I received a pizza for contributions! I haven't got the biggest number of contributors, though, I guess I can blame the fact that I didn't attend online workshops - nor wrote posts about my projects 😄

Next time, I'll be sure to tell everyone around about projects I maintain!

Top comments (1)

Collapse
 
programcrafter profile image
ProgramCrafter

By the way, how do I get "Hacktoberfest 2023 Honored Maintainer" badge here?