Decentralized CTF engine, used by CCTF
 
 
 
Go to file
six 0ddb7309f1 Merge branch 'main' into RemoveRemote 2023-12-02 13:15:28 +00:00
contracts Actualize it 2023-08-25 09:34:13 +02:00
frontend Upload files to "frontend" 2023-08-25 05:41:51 +00:00
workshop Upload files to "workshop" 2023-10-05 09:23:40 +00:00
LICENSE Initial commit 2023-05-25 08:43:32 +00:00
README.md Hacktivity 2023 2023-10-05 10:59:46 +02:00

README.md

DCTF v0.1

The first decentralized CTF engine, used by CCTF

Testnet deployment on Moonbase Alpha: https://moonbase.moonscan.io/address/0x70f0cec3c99103113d96ed8ad82ae6a8d9a735a0#code

Testnet Hall of Fame on Moonbase Alpha: https://moonbase.moonscan.io/address/0xb70780843be242474025f185bf26dddadfc27f43#code

Main team contributors: six, Silur, Bazsi

Hackathon contributors: SI, username, Anon, GuyFromUniversity, ZK, Metafaka team, BMEta team

Short-term ToDo

  • Finish the Vault
  • Finish the Hall of Fame with multi-management DAO style setup (approval needed for valid flag?)
  • Architect the topology, research best way so all features work together
  • Check and fix FE - contract integration, partially done, we need remote removals
  • Add FE missing functions
  • Re-architect in a way we don't need to redeploy
  • Deploy version X

Workshop at Hacktivity 2023

Intro to blockchain, cryptography and learn to play CCTF. Smart contract steps:

  1. Deploy in Remix
  2. createContest()
  3. Generate a priv/pub key for the flag.
  4. addOrUpdateChallenge()
  5. Play, find flag
  6. register()
  7. submitFlag()
  8. Challenge

Workshop at HITB 2023

We will go through a fast intro to Web3 and how to hack DCTF. Anyone present at HITB 2023 Phuket, feel free to ask user six at the Crypto Village desk. Agenda:

  • What is blockchain/web3/other buzzwords and the tech behind?
    • Consensus, RPoW, PoW, PoS
    • LibP2P and nodes
    • Solidity, js and rust (where and what and why?)
    • Substrate
    • ECDSA logic, signing, basics
  • Logic of DCTF
  • Resources for hacking DCTF
  • Next steps for CCTF and decentralized community

This is a free flow workshop. Six can explain these you in 20 mins, but vibes will tell how long you stay and hack.

For generating the ECDSA signatures and message hashes, use: https://git.hsbp.org/six/eth_keygen/src/branch/master/ethkeygen.py