Prerequisites: You need to have git installed on your machine:
* Go to the link https://github.com/bengtlofgren/JoinNetwork
* Clone the repo by calling
`git clone https://github.com/bengtlofgren/JoinNetwork.git`
* `cd JoinNetwork`
* Run `./join-network.sh`
### STOP! If you are on a mac
sudo spctl --master-disable
This allows us to ignore the 'unverified developer' prompt
## Answering the script’s prompts
Enter the chain-id : `internal-devnet-69a.634a44e7fe`
Do you have the namada binaries installed? : `n`
What version?: `0.19.0`
Would you like to add these binaries to path permanently?: `y`
Enter your password when prompted (not a virus I promise)
Do you have a custom base directory you would like to use?: `n`
Are you a genesis validator?: `n`
Cometbft binaries not found, would you like to install them? : `y`
## Installing namada - checking version
It is always best practice to check that the version you have installed on path is the correct one:
Run: namada --version
Expected output: `v0.19.0` ✅
Namada full-node directory structure
Namada full-node configuration files are located in:
Linux:
`~/.local/share/namada`
Mac
`~/Library/Application Support/Namada`
Here you can find the $CHAIN-ID folder with this specific configuration
## Implicit vs. Established account
Implicit
* Derived from a keypair
* Subject to a fixed validation logic
* Must reveal the public key to allow signature verification
Established
* Must be created on-chain (init-account transaction)
* Address is unknown until transaction is executed
* Can set a custom validation logic
## Get some funds from the faucet! (do this several times, you'll need funds in order to perform actions!
`namada client transfer --source faucet --target YOUR-EST-ALIAS --token nam --amount 1000 --signer YOUR-EST-ALIAS`
Check your updated balance:
`namada client balance --owner YOUR-EST-ALIAS --token nam`
## Lets stake some nam!
Check the list of validators
`namada client bonded-stake`
Choose one validator address and bond some nam
`namada client bond --source YOUR-EST-ALIAS --validator VALIDATOR-ADDRESS --amount 1000`
Query your delegation
`namada client bonds --owner YOUR-EST-ALIAS`
## Seeing your MASP (Shielded) keys in the wallet:
`namada wallet masp list-keys`
Generate a payment address
`namada wallet masp gen-addr --alias YOUR-PA-MASP-ALIAS --key alice-masp`
Verify in the wallet
`namada wallet masp list-addrs`
## Shield some tokens!
Run the following
`namada client transfer --source alice --token nam --amount 70 --target YOUR-PA-MASP-ALIAS --signer alice`
Check the updated transparent balance
`namada client balance --owner alice --token nam `
Shielded Transfers
`namada client balance --owner YOUR-MASP-PAYMENT-ADDRESS --token nam`
## Send some tokens to a partner
`namada client transfer --source alice-masp --token nam --amount 15 --target TARGET --signer alice`
## Governance - Query proposals
Let’s check if there are any active proposals:
`namada client query-proposal`
We can check what a specific proposal is about
`namada client query-proposal --proposal-id 0`
Let’s try to vote it!
`namada client vote-proposal --proposal-id 0 --vote yay / nay --signer YOUR-EST-ALIAS`
---
See more at docs.namada.net
Join us for weekly privacy focused discussions