# Capture The Ether Warmup Solutions

By [kyrers](https://paragraph.com/@kyrers) · 2022-09-11

---

In this post, I will share my explanations for the Warmup section of the Capture The Ether challenges. There are plenty of solutions around the web - my goal was to solve the challenges locally, avoiding Etherscan when possible, and writing code locally.

You can find the code [here](https://github.com/kyrers/CTE-Solutions).

Let’s begin.

Call Me / Set Nickname
----------------------

_Call Me_ and _Set Nickname_ are very similar, so there is code only for the more complex one - _Set Nickname_. In the code, you will find the script `setNickname.js`. The code has comments explaining what each line does. Still, here is what we need to do:

1.  Get the contract abi and address;
    
2.  Get the private key of the ropsten account you are using to interact with Capture The Ether. Otherwise, you can't pass the challenge as CTE doesn't know who you are;
    
3.  Get the contract and connect with it using your account;
    
4.  Call the `setNickname(…)` function sending the nickname you want as a parameter; For the _Call Me_ challenge, it's even easier, as the function requires no parameters.

---

*Originally published on [kyrers](https://paragraph.com/@kyrers/capture-the-ether-warmup-solutions)*
