Skip to content

tarvos21/starmask-test-dapp

 
 

Repository files navigation

Starmask Test Dapp

This is a simple test dapp for use in Starmask e2e tests and manual QA.

Currently hosted here.

HTTPS

Online verison will only work if your Starcoin node URL protocol is HTTPS.

If you run it on your local machine, you could use a node URL with HTTP protocol.

Recommended way to add HTTPS to your Starcoin node is using Caddy. Install it on your computer, create a Caddyfile in current directory, and run caddy start. Caddy will proxy requests to your node.

Example Caddyfile:

starcoin.your-domain.com {
    reverse_proxy 127.0.0.1:9850
}

Development

  1. Install dependencies
yarn
  1. Start local server
yarn start
  1. Open browser(Chrome/Safari/Firefox, etc), and go to http://localhost:9022

Contract deployment and execution

Check the file MyCounter.move in this repo, try to deploy and execute it in the Starcoin command line, please refer to Deploy move contract.

After you get the address of the contract, you could execute it in this test-dapp.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.6%
  • HTML 30.8%
  • Shell 4.1%
  • Other 1.5%