Giter Club home page Giter Club logo

minidapp's Introduction

MiniDapp

Minima blockchain applications.

This repo' contains simple demos and examples of what is possible with Minima using the MiniDapp system.

MiniDapp Config' File Layout

Below is an example MiniDapp configuration file (minidapp.conf):

{
	"name":"Awesome MiniDapp",
	"version": "0.1.0",
	"headline":"An awesome MiniDapp for doing awesome things",
	"description":"Awesome MiniDapp solves all sorts of difficult problems through awesomeness",  
	"lastKey": "0xC24CE1922768D5AD3A3B6AFE37EC3133A22D2E6A",
	"background":"./images/awesomeBackdrop.png",
	"icon":"./images/awesomeIcon.png",
	"category":"Lifestyle"
}
  • name: The MiniDapp's name,
  • version: The version of this MiniDapp (using semantic versioning)
  • headline: A brief description of the MiniDapp
  • description: A more detailed description of the MiniDapp
  • lastKey: The currently installed MiniDapp key (displayed by the MiniHub). This is used to support upgrading the MiniDapp - if upgrades do not need supporting (or if this is the first version), then this can be left as an empty string
  • background: The MiniHub background for this MiniDapp
  • icon: The MiniHub icon for this MiniDapp
  • category: The MiniDapp's category

minidapp's People

Contributors

drhuckle avatar eliasnemr avatar glowkeeper avatar spartacusrex99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

minidapp's Issues

[SOLVED] Problem with installing the app in MDS (node on Ubuntu server, without desktop)

For participants:
Don't take any action until you've read all the way through.
The real cause of the problem is at the end.
#9 (comment)

I'll try to describe it step by step:
After I switched to Mainnet, I did not access the server with the Minima node installed for a long time.
Yesterday I found out that the Minima node was down:

  • Doesn't give out status;
  • did not show the version of the node;
  • It does not show the seed-phrase.

Minima node installed in Docker
Attempts to restart Docker did nothing:

sudo docker stop minima9001
sudo docker start minima9001

Attempting to run the update script did not give a positive result either:

docker run --name watchtower_runonce -e WATCHTOWER_CLEANUP=true -e WATCHTOWER_TIMEOUT=60s -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once

Trying to resync the node did not solve the problem:
archive action:resync host:auto

I decided to try uninstalling the Docker container and reinstalling it and then restore the data from the backup:

sudo docker stop minima9001
sudo docker rm minima9001
sudo rm -rf minimadocker9001

After deleting, I entered the command (with my password for MDS):

docker run -d -e minima_mdspassword=MY_PASSWORD_MDS -e minima_server=true -v ~/minimadocker9001:/home/minima/data -p 9001-9004:9001-9004 --restart unless-stopped --name minima9001 minimaglobal/minima:latest

The command to view the logs:
docker logs minima9001
displayed:
image

command:
docker exec -it minima9001 minima
status
image

Attempting to check the version:

curl -s 127.0.0.1:9005/status | jq '{'Version':.response.version,'Block height':.response.chain.block,'Block time':.response.chain.time}'

Doesn't give out anything:
image

I then tried to log in to MDS using my browser.
First I went to port 9004
https://my_server_ip:9004
Got a warning and approved it:
image

Then I went to port 9003
https://my_server_ip:9003
I entered my login and got to MDS - there is a blank screen (no apps installed)
image

Clicking on the plus sign, I selected the previously downloaded archive with the terminal, from the website: https://minidapps.minima.global/.
image

A spinning wheel appeared, which rotates to infinity (the application is not installed):
image

โš ๏ธ How to solve this problem?
How to restore normal operation of the Minima node

[Resolved] Problem with setting up your account of the incentive program in the MiniDapp System

Help solve the problem

I describe the problem step by step:
Ubuntu 20.04.5
Console MobaXterm
Google Chrome and Brave
I tried turning off antivirus and browser extensions

  1. I go to https://MyServerIP:9003/ in Google Chrome web browser and see the login page
    image

  2. I enter my password and get to the confirmation page and press the main menu button:
    image

Then I get to the applications page and choose: "Incentive Program
image

  1. I enter my Incentive ID, which is taken here:
    https://incentivecash.minima.global/home/pages/incentiveid
    image

Pressing the Update button:
image

  1. Then no matter how long I wait, when I go to the "Rewards" section a message appears:
    Then no matter how long I wait, when I go to the "Rewards" section a message appears:
    Please connect your Incentive ID to view your Rewards.
    image

  2. I go back to "Incentive ID" and there is an empty Incentive ID field:
    image

Information about my minima in the SSH console:

docker exec -it minima9001 minima
status

image

image

curl -s 127.0.0.1:9005/status | jq '{"Version":.response.version,"Block height":.response.chain.block, "Block time":.response.chain.time}'
image

curl 127.0.0.1:9005/incentivecash | jq
image

Problem with MDS on a remote Ubuntu server (without Desktop) .

Two problems:
Can't get SEED phrase (Terminal MDS) and get rewards (IP Rewards)

FIRST PROBLEM:

  1. I go to the address (https://MY_SERVER_IP:9004)
    I approve the warning and end up on a blank page.
    port-9044

port-9044 (2)

  1. I go to (https://MY_SERVER_IP:9003) --> enter my password, and get to MDS with a list of applications.
    I find Terminal CLI for Minima 2.03 and enter it (opens in a new tab).
  2. I type in vault command and press Enter - nothing happens. I go back to MDS application and click on "Pending Action" in the upper right corner.
    Terminal_MDS

I get to https://MY_SERVER_IP:9003/pending.html and it says "No pending transactions...".
Pending

I enter the SSH-terminal (MobaXterm) and do the following actions:

  1. I check Minima version and last ping by entering the command:
    curl -s 127.0.0.1:9005/status | jq '{'Version':.response.version,'Block height':.response.chain.block,'Block time':.response.chain.time}'
    Output:
    'Version': "1.0.22",
    "Block height": 113046,
    "Block time": "Sat Mar 18 21:35:46 GMT 2023"
    version

  2. I go into docker:
    docker exec -it minima9001 minima
    I type the command: vailt and get the seed phrase
    BUT I CAN'T GET THE SEED PHRASE IN THE MDS

SECOND PROBLEM:
I enter the IP Rewards application (2.16.1)
I enter my email and password --> I click on "Login" button
Wheel starts spinning and nothing happens - wheel spins to infinity.
IP_Rewards

Cant reinstall miniDAPP

I'm using Minima v0.103.28 at docker. Ubuntu 22.04.1 LTS. Try installing via the browser Firefox. Select wallet_1.13.12.mds.zip and press the button install. Too long loaded page and still old version Wallet 1.9.1
PS: permission [WRITE]

Block v1.0.19 clicking on a block doesn't take you to the details page

On the main Block minidapp page clicking a table row doesn't take you to the details page like clicking a row in the search results does.

Examining the js console I can see warnings like the below when on index.html but not on search.html:
OptionsList.js:20 Invalid table constructor option: rowClick

I looked for differences between index.html and search.html and I suspect it has to do with the imported version of the tabulator lib:
https://unpkg.com/tabulator-tables/dist/js/tabulator.min.js in index.html
https://github.com/minima-global/MiniDAPP/blob/master/store/block/block/index.html#L14
vs
https://unpkg.com/[email protected]/dist/js/tabulator.min.js in search.html where it does work
https://github.com/minima-global/MiniDAPP/blob/master/store/block/block/search.html#L15

Stimulus ID binding lost

Stimulus ID binding lost
image

Unable to bind via MDS or SSH terminal MobaXterm (remote Server)
image

image

curl 127.0.0.1:9005/incentivecash+uid:MY_INCENTIVE_ID | jq
curl 127.0.0.1:9005/incentivecash | jq
image

Tried binding via MDS and SSH terminal on remote server.
The problem is global.

I am also reporting that participants do not receive any email 24 hours after confirming account registration, even if the answer was 100% correct.
The problem is global.

Please take action to fix the global errors or provide clarification on this issue.

LAST PING time no change

Hello, Sir:
I installed the APP on my phone, the current version is V0.100.32, after the installation is complete, configuration Incenttive ID, after about 10 minutes, refresh in https://incentive.minima.global/, saw the DAILY REWARDS 1. And LAST PING Wednesday, April 13, 2022 GMT+8 08:25. It seems that everything is normal. In this case, I configured the node again on a WINDOWS PC, using the same Incenttive ID. After running for some time, I found that the LAST PING time was still Wednesday, April 13, 2022 GMT+8 08:25, so I shut down the WINDOWS node. In addition, I deleted the APP and re-installed and configured Incenttive ID at GMT+ 807:00 on Wednesday, April 14, 2022. I hope the LAST PING time can be restored to normal, but by GMT+ 808:00 on Wednesday, April 14, 2022, I have been in a https://incentive.minima.global, but the LAST PING time no change. My ID is B0dBE8F7-6EE5-4958-83a9-BB9873DC2729, is there anything wrong with my operation? What should I do? Help me, thank you so much!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.