---
# System prepended metadata

title: Untitled

---

https://docs.casperlabs.io/en/latest/dapp-dev-guide/setup-nctl.html



1. Create and deploy a simple, smart contract with cargo casper and cargo test

- After install for requirements,

- Build contract with wasm

![](https://i.imgur.com/UDaSXn4.png)



- Set local network for testing

```

$ source env/bin/activate

$ cd casper-node && bash 
$ source ./utils/nctl/activate

$ nctl-assets-setup && nctl-start
(env) $ nctl-stop
(env) $ nctl-clean

```

![](https://i.imgur.com/uFA2Ij8.png)


- Test contracts

![](https://i.imgur.com/lwHBzJY.png)




2. Complete one of the existing tutorials for writing smart contracts
 
- Writing contracts by cloning `git clone https://github.com/casper-ecosystem/keys-manager`

![](https://i.imgur.com/JSE17ch.png)


- deploy contract by using ‘npm run start:atomic’

![](https://i.imgur.com/4IMzlIa.jpg)




3. Demonstrate key management concepts by modifying the client in the Multi-Sig tutorial to address one of the additional scenarios

- Write scenario & changed the code

![](https://i.imgur.com/mkckqTu.png)



- run the client

![](https://i.imgur.com/DLkIhZt.jpg)


4. Learn to transfer tokens to an account on the Casper Testnet. Check out this documentation.
 
- Make a transfer

![](https://i.imgur.com/92DWhjj.png)


- Check transfer status

![](https://i.imgur.com/P7NAyWF.png)




5. Learn to Delegate and Undelegate on the Casper Testnet. Check out these instructions.
 
delegate:
https://testnet.cspr.live/deploy/a683e5cbd3151ae2fb68560006f9651de40fe68cc590cf6d88050eaa97c4773b
undelegate:
https://testnet.cspr.live/deploy/a8c0440ff1fe96156e31c6c63b53e69077516deeafbf76815bd07ad6d762cd7c
delegate


![](https://i.imgur.com/g7yqU25.png)
![](https://i.imgur.com/c994O8x.png)
![](https://i.imgur.com/j8J71as.png)


undelegate

![](https://i.imgur.com/5JMznn8.png)
![](https://i.imgur.com/sun3OJR.png)




