All Projects → mydexchain → Mydexchain

mydexchain / Mydexchain

Licence: apache-2.0

Projects that are alternatives of or similar to Mydexchain

linode-k8s-autoscaler
Autoscaling utility for horizontally scaling Linodes in an LKE Cluster Node Pool based on memory or cpu usage
Stars: ✭ 27 (-90.39%)
Mutual labels:  docker-container
docker-jira
Simple container for Atlassian JIRA
Stars: ✭ 14 (-95.02%)
Mutual labels:  docker-container
python3-docker-devenv
Docker Start Guide with Python Development Environment
Stars: ✭ 13 (-95.37%)
Mutual labels:  docker-container
docker-ros-x11
A docker environment with ROS, Gazebo, X11 and Tensorflow
Stars: ✭ 29 (-89.68%)
Mutual labels:  docker-container
pritunl
Pritunl Docker container with IPv6 and reverse-proxy support
Stars: ✭ 61 (-78.29%)
Mutual labels:  docker-container
docker-eks
Docker container for creating AWS EKS Cluster
Stars: ✭ 16 (-94.31%)
Mutual labels:  docker-container
bluechatter
Deploy & Scale a chat app using Cloud Foundry, Docker Container and Kubernetes
Stars: ✭ 64 (-77.22%)
Mutual labels:  docker-container
Facsvatar
An Open Source Modular Framework From Face to FACS Based Avatar Animation (Unity3D / Blender)
Stars: ✭ 260 (-7.47%)
Mutual labels:  docker-container
TecoGAN-Docker
This is a fork of the TecoGAN project (https://github.com/thunil/TecoGAN) that adds support for docker.
Stars: ✭ 86 (-69.4%)
Mutual labels:  docker-container
docker-dotnet-sonarscanner
🐳 Sonar Scanner MsBuild Dockerfile for dotNet Projects
Stars: ✭ 21 (-92.53%)
Mutual labels:  docker-container
graphsense-blocksci
A dockerized component to synchronize BlockSci data to Apache Cassandra
Stars: ✭ 18 (-93.59%)
Mutual labels:  docker-container
Apache
Docker container running Apache running on Ubuntu, Composer, Lavavel, TDD via Shippable & CircleCI
Stars: ✭ 15 (-94.66%)
Mutual labels:  docker-container
murmur
Murmur server (Mumble) Docker container - https://mumble.info
Stars: ✭ 31 (-88.97%)
Mutual labels:  docker-container
Docker-Minecraft-PaperMC-Server
Starts a Minecraft PaperMC 1.18 server
Stars: ✭ 80 (-71.53%)
Mutual labels:  docker-container
docker-acarshub
Docker container to utilize RTLSDR dongle(s) to view/stream ACARS/VDLM2 aircraft data transmissions
Stars: ✭ 12 (-95.73%)
Mutual labels:  docker-container
doctrine-expressive-example
Example PHP REST API application built with Expressive using Doctrine ORM, complete with associations, pagination, and DB connectivity inside Docker containers. Used in #Beachcasts videos on YouTube.
Stars: ✭ 36 (-87.19%)
Mutual labels:  docker-container
docker
A simple guide to get you started on docker. (Might be outdated but it should still give you a basic overview.)
Stars: ✭ 21 (-92.53%)
Mutual labels:  docker-container
Bazel Remote
A remote cache for Bazel
Stars: ✭ 260 (-7.47%)
Mutual labels:  docker-container
Google Test Examples
Short example how to use Google Test with CMake project
Stars: ✭ 258 (-8.19%)
Mutual labels:  docker-container
AriaCloud
A Docker container for remote penetration testing.
Stars: ✭ 105 (-62.63%)
Mutual labels:  docker-container

MyDexChain

Releases Jenkins Build Docker Build Docker Image Docker Pulls LICENSE

MyDexChain is the newest technology for blockchain and can be used as a payment gateway.

  • MyDexChain : The official web page of MyDexChain
  • DexLife: MyDexChain Masterlife Web Page
  • Academies: MyDexChain Trainings and Education Centers

This guide is used by dozens of product teams at MyDexChain. Have a question or comment? Open an issue!

Release Notes

1.0.1
  • Fixed PostgreSQL PID Lock Problem
  • Fixed Block Logs

🔧 System Requirements

  • MyDexChain Node Minimum Requirements: 2 Core of CPU 4GB of Memory and 100GB of HDD
  • Tested Operation Systems Windows Server 2016 or Later || Centos || Ubuntu || Amazon Linux
  • At Least 5mbit of Internet Connection with Port 2020 Ingress from Your IP Allowed

📦 Pre-Installation Steps

⚠️ MyDexChain is fully docker compatible and please follow Windows, Centos, Ubuntu, Amazon Linux, MAC OS installation steps before running MyDexChain Node. After docker installation open a command line || terminal and run command to check the docker version.

docker -v

Output: Docker version 20.10.0, build 7287ab3

💻 Usage

1. Run MyDexChain:

MyDexChain docker file is stored in dockerhub and ready for use with command: (Please check the version and use as tag rather than latest)

docker run -d --rm -p 2020:2020 -v mydexchain:/var/lib/postgresql/ --privileged --log-driver=none --name mydexchain mydexchain/mydexchain:latest

After docker container comes up run the command;

docker ps

Output: db641c6c55b7 mydexchain/mydexchain "/startup.sh" 32 seconds ago Up 31 seconds 0.0.0.0:2020->2020/tcp, 5432/tcp mydexchain

2. Follow Blocks:
docker attach mydexchain
3. Node RestAPI commands :
"http://{DockerHostIP}:2020/setDextracker/{dexTrackerNumber}”
  • dexTrackerNumber : DexChain Tracker Number
"http://{DockerHostIP}:2020/setAcademy/{academyContract}”
  • academyContract : DexChain Academy Contract
"http://{DockerHostIP}:2020/setActivist/{address}&{dexhash}”
  • address : DexChain Address
  • dexhash: Dexchain Transaction Hash
"http://{DockerHostIP}:2020/setProActivist/{address}”
  • address : DexChain Address
"http://{DockerHostIP}:2020/setDexClouder/{address}&{contract}”
  • address : DexChain Address
  • contract : DexStore Contract Address
"http://{DockerHostIP}:2020/setNickname/{nickName}”
  • nickName : DexChain Tracker Nickname
“http://{DockerHostIP}:2020/isWallet/{address}”
  • address: Dexchain Address
"http://{DockerHostIP}:2020/balanceWallet/{address}"
  • address: Dexchain Address
"http://{DockerHostIP}:2020/balanceToken/{address}&{contract}"
  • address: Dexchain Address
  • contract: DexChain Contract Address (if null please set “mydexchain”)
“http://{DockerHostIP}:2020/createWallet/{password}”
  • password: Dexchain Address password “Please Don’t Forget it”
"http://{DockerHostIP}:2020/getLastBlock/"
  • Last Block
"http://{DockerHostIP}:2020/getTransactionByDexHash/{dexhash}"
  • dexhash: Dexchain Transaction Hash
"http://{DockerHostIP}:2020/getTransactions/{address}&{limit}&{orderby}”
  • address: Dexchain Address
  • limit: number of records
  • orderby: ASC or DESC
"http://{DockerHostIP}:2020/getTransactionByBlock/{blockid}&{limit}&{orderby}”
  • blockid: Block ID (hex)
  • limit: number of records
  • orderby: ASC or DESC
"http://{DockerHostIP}:2020/getTransactionByBlockOffset/{blockid}&{limit}&{orderby}&{offset}”
  • blockid: Block ID (hex)
  • limit: number of records
  • orderby: ASC or DESC
  • offset: skip that many rows before beginning to return rows
"http://{DockerHostIP}:2020/getmyTransactionByBlock/{blockid}&{limit}&{orderby}”
  • blockid: Block ID (hex)
  • limit: number of records
  • orderby: ASC or DESC
"http://{DockerHostIP}:2020/sendTransaction/{sender}&{password}&{receiver}&{amount}&{fee}&{contract}&{description}"
  • sender : Sender Dexchain Address
  • password: Dexchain Address password
  • receiver: Receiver Dexchain Address
  • amount: Amount of XMD
  • fee: Fee of Transaction (IN / OUT)
  • contract: DexChain Contract Address (if null please set “mydexchain”)
  • description: Statements of Transaction (if null please set “null”)

📚 FAQ

How Can I Calc Fee

Sample Fee Calculation

Transaction Amount Fee % Fee Amount
1000 0.003 3.00
10000 0.0003 +2.70
100000 0.00003 +2.70
1000000 0.000003 +2.70
10000000 0.0000003 +2.70
100000000 0.00000003 +2.70
1000000000 0.000000003 +2.70
10000000000 0.0000000003 +2.70
100000000000 0.00000000003 +2.70
24.60

25000 myDexChain Transaction = (1000 x 0.003) + (9000 x 0.0003) + (15000 x 0.00003) = 6.150 Fee

What are the DRC (Dexchain Request Contract) Types

  • DRC-4 (Academy Contract)
  • DRC-8 (Main Contract)
  • DRC-16 (Token)
  • DRC-32 (Survey, Advertisement, Announcement)
  • DRC-64 (Internet of Things)
  • DRC-128 (Artificial Intelligent, Big Data)

Where Can I Run MyDexChain Node?

You can run MyDexChain Node on

  • Amazon Web Services
  • Azure
  • Google Cloud
  • Your Own Server/Desktop

How Can I Update to the Latest MyDexChain Version?

Run the command on Current DockerHost:

docker kill mydexchain && docker pull mydexchain/mydexchain && docker run -d --rm -p 2020:2020 -v mydexchain:/var/lib/postgresql/ --privileged --log-driver=none --name mydexchain mydexchain/mydexchain:latest

Common Problems

These options are settings that change shell behavior. The following table is a list of options that might be useful to you:

Check How
Cannot connect to the Docker daemon. Is the docker daemon running on this host? Check your docker service is up and running.
Block Sync is not working Check your internet connectivity.

How to Backup the MyDexChain Node?

MyDexCahin maps blocks inside PostgreSQL and it has been addressed inside dockerfile. All the data is saved inside /var/lib/docker/volumes/mydexchain and make sure that you backup the folder.

Linux & MacOs

1. Stop MyDexChain Node Docker Container (For Data Consistency):
docker kill mydexchain
2. Copy /var/lib/docker/volumes/mydexchain to Backup Path:
rsync -avzhHP /var/lib/docker/volumes/mydexchain/ /backup_path/mydexchain/
3. Start MyDexChain Docker Container on the New Docker Host :
docker run -d --rm -p 2020:2020 -v mydexchain:/var/lib/postgresql/ --privileged --log-driver=none --name mydexchain mydexchain/mydexchain:latest
4. Follow the Blocks :
docker attach mydexchain

Windows

1. Stop MyDexChain Node Docker Container (For Data Consistency):
docker kill mydexchain
2. Copy %USERPROFILE%\AppData\Local\Docker\wsl\data\ext4.vhdx to Backup Path:
3. Start MyDexChain Docker Container on the New Docker Host :
docker run -d --rm -p 2020:2020 -v mydexchain:/var/lib/postgresql/ --privileged --log-driver=none --name mydexchain mydexchain/mydexchain:latest
4. Follow the Blocks :
docker attach mydexchain

How to Migrate the MyDexChain Node to Another Docker Host?

⚠️ Before migrating your node be sure that docker is installed on target.

Linux & MacOs

1. Stop MyDexChain Node Docker Container:
docker kill mydexchain
2. Copy Node Files to New Docker Host :
rsync -avzhHP --rsync-path="sudo rsync" -e "ssh -i key -o StrictHostKeyChecking=no" /var/lib/docker/volumes/mydexchain/ [email protected]_ip:/var/lib/docker/volumes/mydexchain/
3. Start MyDexChain Docker Container on the New Host :
docker run -d --rm -p 2020:2020 -v mydexchain:/var/lib/postgresql/ --privileged --log-driver=none --name mydexchain mydexchain/mydexchain:latest
4. Follow the Blocks on the New Docker Host :
docker attach mydexchain

Windows

1. Stop MyDexChain Node Docker Container:
docker kill mydexchain
2. Copy Node Files to New Docker Host :
%USERPROFILE%\AppData\Local\Docker\wsl\data\ext4.vhdx --> to the new dockerhost
3. Start MyDexChain Docker Container on the New Host :
docker run -d --rm -p 2020:2020 -v mydexchain:/var/lib/postgresql/ --privileged --log-driver=none --name mydexchain mydexchain/mydexchain:latest
4. Follow the Blocks on the New Docker Host :
docker attach mydexchain

I am Getting Errors in Windows OS?

Make sure Use the WSL 2 based engine is enabled in Docker General Settings.

Where is the Docker Mount Volume Located in Windows OS?

Mount folder is located under:

\\wsl$\docker-desktop-data\version-pack-data\community\docker\volumes

Where is the Pyhsical Path Docker Mount Volume Located in Windows OS?

Mount disk is located under:

%USERPROFILE%\AppData\Local\Docker\wsl\data\ext4.vhdx

Help! It's not working for me!

No problem. Reach out to us by opening an issue

Roadmap

  • We are hardly working on new features:
    • Cloud Market Deployments

Twitter

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].