Skip to content

Getting Started

Prerequisites

To interact with tokens and token ledgers, the contracts need to be deployed into an EVM based chain. In this example we will use hardhat

Run hardhat:

sh
git clone git@bitbucket.org:skutrondev/evm-skucode-20-plus.git
cd evm-skucode-20-plus
npm install
npx hardhat node

Deploy the contracts

Open new terminal/in another tab

sh
cd evm-skucode-20-plus
npx hardhat ignition deploy ignition/modules/SkucodeFactory.js --network localhost
npx hardhat ignition deploy ignition/modules/SkusetFactory.js --network localhost

Save the address

For Example:

sh
SkucodeFactory#SkucodeFactory - 0x5FbDB2315678afecb367f032d93F642f64180aa3
SkusetFactory#SkusetFactory - 0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512

Installation

If using npm

bash
git clone git@bitbucket.org:skutrondev/skc-nodeio-cli.git
cd skc-nodeio-cli
npm run clean
npm run setup
npm link

Recommended node version: v20.11.0

Test Installation

Once installed, you can test the installation via:

sh
$ sct
sct <command>

Commands:
  sct completion   generate completion script
  sct token        token related commands
  sct tokenLedger  tokenLedger related commands
  sct user         user related commands

Options:
  --help     Show help                                                                                                                                [boolean]
  --version  Show version number                                                                                                                      [boolean]