@energyweb/ekc
TypeScript icon, indicating that this package has built-in type declarations

0.6.7 • Public • Published

Enterprise Key Connect SDK

Seamless integration of existing cloud key infrastructure into web3 projects.

Getting Started

note: not published yet!

npm install @energyweb/ekc

API

TODO

Development

# provide env variables
cp .env.template .env

# Build the project
rushx build

#Test the project
rushx test

# Run the linter
rushx lint

Debugging in VSCode and Chrome

# first install 'Debugger for Chrome' extension for Visual Studio Code

# run webpack in watch mode and start dev server
rushx start

# in ekc package root directory create .vscode directory and inside that create launch.json file and add following config into into it
{
	"version": "0.2.0",
	"configurations": [
		{
			"type": "chrome",
			"request": "launch",
			"name": "Launch EKC Debug",
      "internalConsoleOptions": "openOnSessionStart",
			"url": "http://localhost:8080/",
			"webRoot": "${workspaceFolder}",
			"sourceMaps": true,
			"sourceMapPathOverrides": {
				"webpack://@energyweb/ekc/./*": "${webRoot}/*",
				"webpack://@energyweb/ekc/../../*": "${webRoot}/../../*"
			}
		}
	]
}

## if you don't have chrome, you can change the executable path to e.g. chromium
{
	"configurations": [
		{
			# put this in the "Launch" configuration above
			"runtimeExecutable": "/usr/local/bin/chromium"
		}
	]
}

# press F5 to start debugging session

Readme

Keywords

none

Package Sidebar

Install

npm i @energyweb/ekc

Weekly Downloads

69

Version

0.6.7

License

GPL-3.0

Unpacked Size

30.6 kB

Total Files

22

Last publish

Collaborators

  • kyleiankian
  • energywebdev
  • aznagy
  • bagaric
  • pkosin
  • drgorb
  • kroy
  • manihagh