Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 796 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 796 Bytes

Figment Learn Secret Network tutorials

Contents

  • Connecting to Secret Network node using DataHub
  • Creating account using SecretJS
  • Query Secret Network
  • Submitting transactions
  • Using contracts

1. Installation

To install all required packages run:

npm install

2. Setup

Make sure to copy .env.example file to .env file and update its contents.

.env.example is mainnet config, to test locally copy .env.local.example, and for testnet copy .env.testnet.example

3. Running tutorials

  • npm run 1 - Connecting to node tutorial
  • npm run 2 - Creating account tutorial
  • npm run 3 - Query node tutorial
  • npm run 4 - Transfer tokens - simple
  • npm run 4:advanced - Transfer tokens - advanced
  • npm run 5 - Create, deploy and use a Secret Contract