Skip to content

Repository for the Blockchain branch content.

Notifications You must be signed in to change notification settings

jotapero/Branch-Blockchain

 
 

Repository files navigation

Branch Blockchain 🟩

Repository for the blockchain branch content.

Content 👀

Those subjects are progressive in difficulty, designed to learn the fundamental of blockchains as well as the main technologies and tools used in the industry.

  • Quest 1: Experiment basic Bitcoin transactions
  • Quest 2: Learn fundamental cryptography
  • Quest 3: Create a complete Smart Contract
  • Quest 4: Scripted interactions with the Ethereum blockchain
  • Quest 5: Create a complete decentralised application
  • Raid 1: Create a signing service
  • Quest 6: Create a first token
  • Quest 7: An NFT based DApp
  • Quest 8: Learn the basics of DeFi and security
  • Quest 9: Explore other blockchains
  • Raid 1: Create a tracking service

Tests ⚙️

Within the tests/ folder, runTests.sh builds a docker image and run a series of sample tests. Solutions are expected to be in the tests/student folder.

./runTests.sh

It is also possible to run tests individually:

./runTests.sh retrieveBlockDate 

Advanced commands

Advanced commands are available in the tests/ folder:

Build the docker image

docker build . -t blockchain 

Run an example BTC test

docker run --read-only --network none --memory 500M --user 1000:1000 -e DEBUG=true -e EXERCISE=retrieveBlockDate --env HOME=/jail --env TMPDIR=/jail --workdir /jail --tmpfs /jail:size=100M,noatime,exec,nodev,nosuid,uid=1000,gid=1000,nr_inodes=5k,mode=1700 --volume /home/$USER/code/01Branch-Blockchain/tests/student:/jail/student:ro blockchain:latest

Explore the docker image

docker run -it --entrypoint /bin/bash blockchain:latest

Authors ✍️

Xavier Lavayssière - 🐙 🐦

About

Repository for the Blockchain branch content.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.5%
  • Shell 5.7%
  • Dockerfile 2.8%