Skip to content

Latest commit

 

History

History
55 lines (28 loc) · 1.81 KB

Hamster Web Tutorials.md

File metadata and controls

55 lines (28 loc) · 1.81 KB

Hamster Dapp

1. Overview

Hamster Dapp, which allows users to purchase compute resources that have already been provided, and pay a certain Token to purchase a certain amount of time to use the compute resources. We can pay by the hour for more flexible use.

2. Run

2.1 Docker

docker is the easiest way to build, we recommend using docker for building Hamster nodes

Points to note before run in docker:

  • You need to install docker by yourself before starting, refer to docker official website for details
  • You can modify the value of BASE_URL by yourself to connect to different underlying chains
docker run -d -e BASE_URL=ws://127.0.0.1:9944 -p 80:80 hamstershare/hamstershare-frontend:latest

3. How to use

3.1 Link Wallet

First make sure you have the browser wallet plugin Polkadot{.js} extension installed.

Then visit the web, choose Link wallet. If you have imported your account in advance in your browser plugin, you will be able to see your account information on dapp

http://localhost:80

image-20220228105702184

3.2 Order Management

Then you can buy resources in dapp or manage your own resource prices, rental times, pledges for your own account, and also view your orders and agreements

image-20220228111054587

After purchasing the resource, you can check the status of your order in the "order list", if the provider did not execute successfully, you can choose to cancel order to cancel this order

image-20220228111327965

image-20220228112033464

View the resources you are using in the service list after the order has been completed

image-20220228112107425