Actualize it

main
six 2023-08-25 09:34:13 +02:00
parent 3cb7b9311e
commit 705c52b478
2 changed files with 19 additions and 13 deletions

View File

@ -1,10 +1,23 @@
# DCTF Beta # DCTF v0.1
Decentralized CTF engine, used by CCTF The first decentralized CTF engine, used by CCTF
Testnet deployment on Moonbase Alpha: https://moonbase.moonscan.io/address/0x919f68cc35ce5d49a45c94dc44e7bf444f9a7531 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, Anonz team, Metafaka team, BMEta team
Hackathon contributors: SI, username, Anon, GuyFromUniversity, ZK
### 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
Contributors: six, Silur, Anonz team, Metafaka team, BMEta team
# Workshop at HITB 2023 # Workshop at HITB 2023
@ -23,10 +36,3 @@ We will go through a fast intro to Web3 and how to hack DCTF. Anyone present at
This is a free flow workshop. Six can explain these you in 20 mins, but vibes will tell how long you stay and hack. 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 For generating the ECDSA signatures and message hashes, use: https://git.hsbp.org/six/eth_keygen/src/branch/master/ethkeygen.py
### Short-term ToDo
- [ ] Update ABI
- [ ] Check and fix FE - contract integration
- [ ] Add FE missing functions
- [ ] Re-architect in a way we don't need to redeploy

View File

@ -37,14 +37,14 @@ modifier only_famman {
} }
Player[] public players; Player[] public players;
function addContributor(string memory _name, string memory _skills) external { function addContributor(string memory _name, string memory _skills) external only_famman {
contributor_count = contributor_count+1; contributor_count = contributor_count+1;
contributors.push(Contributor(contributor_count, _name, _skills, block.timestamp)); contributors.push(Contributor(contributor_count, _name, _skills, block.timestamp));
} }
// There is no remove, once someone contributed it is safu. // There is no remove, once someone contributed it is safu.
function addPlayer(string memory _name, string memory _skills, string memory _team_name) external { function addPlayer(string memory _name, string memory _skills, string memory _team_name) external only_famman {
player_count = player_count+1; player_count = player_count+1;
players.push(Player(contributor_count, _name, _skills, _team_name, block.timestamp)); players.push(Player(contributor_count, _name, _skills, _team_name, block.timestamp));
} }