youtube image
From YouTube: Casper Association dApp Developer Series | #3 | Install & Query Smart Contracts with Node.js

Description

In the third video of Casper's dApp Developer series, you will learn how to utilize the Casper JS SDK with a Node.js runtime environment to install, call, and query smart contracts on the Casper Network.

## Timestamps

0:00 - Introduction
0:20 - Initialize npm and install casper-js-sdk
0:34 - Create script and open it
0:42 - Import packages
0:59 - Instantiate `CasperClient` with a node URL
1:36 - Create keypair with casper-client
2:02 - Fund account (testnet)
2:45 - Load keypair and WASM from file in script
3:07 - Write `install` function
4:19 - Call the `install` function
4:29 - Execute the installation
4:39 - Await on-chain execution
4:58 - View "Hello world!" on-chain
5:17 - Write the `update_msg` Function
6:41 - Execute `update_msg`
6:55 - Execution validation
7:07 - Write `queryMessage` function
7:27 - Call `queryMessage` function
7:42 - Outro