Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Adventure #1

Open
Maduacoin opened this issue Aug 2, 2023 · 0 comments
Open

Code Adventure #1

Maduacoin opened this issue Aug 2, 2023 · 0 comments

Comments

@Maduacoin
Copy link

<title>Code Adventure</title>

Code Adventure

Welcome to an exciting adventure that combines the art of coding with the thrill of word games!

Your mission is to disentangle a smart contract and reveal a hidden word. Are you ready?

Here's the challenge:

  1. Use your coding skills to analyze and debug the smart contract.
  2. Find the hidden word within the code.
  3. Enter the hidden word below to complete the adventure.

Remember, the hidden word is somewhere within the smart contract code. Good luck!


Smart Contract Code


      function disentangle() {
        let code = "b3BlbnNzbCBlbmNvZGluZyBkYXRh";
        let decoded = atob(code);
        let hiddenWord = decoded.substring(0, 6);
    // Your task is to find the hidden word and enter it below
    
    return hiddenWord;
  }
</code></pre>
<hr>
<h2>Enter the Hidden Word</h2>
<form>
  <div class="mb-3">
    <input type="text" class="form-control" id="hiddenWordInput" placeholder="Enter the hidden word">
  </div>
  <button type="submit" class="btn btn-primary">Submit</button>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant