Prathamesh Musale
2e4dcf7e63
Part of https://www.notion.so/Create-laconic-registry-SDK-d3a636d4aba44f7cbba3bd99b7146811 Co-authored-by: neeraj <neeraj.rtly@gmail.com> Co-authored-by: Nabarun <nabarun@deepstacksoft.com> Reviewed-on: cerc-io/laconic-registry-cli#58 Co-authored-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to> Co-committed-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
734 B
734 B
Run CLI tests
-
Follow the project
Setup
andAccount Setup
from root README -
Add laconic cmd to path
export PATH="$PWD/bin:$PATH"
-
Create a .env file using .env.example:
cp .env.example .env
-
Get account address of test account:
laconic2d keys list --keyring-backend test # - address: laconic10er85pyd7ukw732e88fzv7k0jq205764hye2dx # name: alice # pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AsDoWlNIr3W013pOiwmopaB/SaWQj6r3g56xb2d9GxYK"}' # type: local
Use the
address
field from the result and assign it inTEST_ACCOUNT
field of.env
file -
Run CLI tests:
yarn test