Bitcoin Forum
May 02, 2024, 12:25:03 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 16 17 18 19 20 21 22 »  All
  Print  
Author Topic: Matrix Ai Network  (Read 3632 times)
karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
August 15, 2021, 11:23:05 AM
 #161




                                              






1714609503
Hero Member
*
Offline Offline

Posts: 1714609503

View Profile Personal Message (Offline)

Ignore
1714609503
Reply with quote  #2

1714609503
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714609503
Hero Member
*
Offline Offline

Posts: 1714609503

View Profile Personal Message (Offline)

Ignore
1714609503
Reply with quote  #2

1714609503
Report to moderator
1714609503
Hero Member
*
Offline Offline

Posts: 1714609503

View Profile Personal Message (Offline)

Ignore
1714609503
Reply with quote  #2

1714609503
Report to moderator
karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
August 17, 2021, 02:59:24 PM
Last edit: August 18, 2021, 09:55:26 AM by karametade
 #162



                                                                                   Matrix and The Belt and Road



The Belt and Road

The Belt and Road Initiative (or B&R) is short for the Silk Road Economic Belt and the 21st Century Maritime Silk Road. Upholding principles of political trust, economic integration, cultural exchange as well as common interests, common goals and mutual commitment, the initiative aims to build a platform of multilateral cooperation between China and countries along the Ancient Silk Road.

The Belt and Road spans across Eurasia, connecting the vibrant East Asian economy with the more developed European economy linking many developing economies in between. The Silk Road Economic Belt consists of three routes: 1. China — Central Asia — Russia — Baltic Sea; 2. China — Central Asia — West Asia — Persian Bay — Mediterranean; 3. China — Southeast Asia — India Ocean. The 21st Century Maritime Silk Road consists of two routes: 1. China’s eastern coast — South China Sea — Indian Ocean — Europe; 2. China’s eastern coast — South China Sea — South Pacific.

The Belt and Road Initiative will link major cities on key inland trading routes, building multi-national economic corridors that connect 1. China, Mongolia and Russia; 2. China, Central and West Asia; and 3. China and the Indochinese Peninsula. On sea, it will create two economic corridors connecting 1. China and Pakistan and 2. China, Bangladesh, India and Myanmar, bringing closer the relations and economic ties of countries along its path.

                    

                                                                        The Belt and Road Initiative Overview


By Jan. 30th, 2021, China had secured the participation of 171 countries and organizations in the Belt and Road Initiative through 205 cooperation agreements.

The Significance of the Belt and Road

Fueling China’s Next Round of Growth

The Belt and Road Initiative is an ingenious plan for the economic locomotive of the world, China, to leverage its advantage in manufacturing capacity, technology, capital, expertise and advanced industrial models for international influence and market share. China will take this opportunity to open up to the world and carry out dialogues with countries along the Belt and Road in an effort to build multilateral global partnerships for the long-lasting economic growth of the world.

Rebalancing Globalization

The Belt and Road will drive the growth of China’s western provinces, as well as Mongolia and Central Asian countries, thus integrating these inland countries into globalization. As China exports its manufacturing capacity and leading industries westward, countries along the Belt and Road stand to benefit. Historically, Central Asian countries have only served as the middlemen for the commercial and cultural exchange between the East and the West. The Belt and Road Initiative will raise them from the state of underdevelopment and help them narrow the poverty gap caused by globalization. As countries in these regions catch up in economic development, the world will become a more peaceful, prosperous and harmonious place.


                                            https://matrixainetwork.medium.com/matrix-and-the-belt-and-road-95b645104728





karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
August 18, 2021, 09:54:01 AM
 #163



                                                                      Matrix and The Belt and Road(Part Two)


Creating New Regional Partnerships

An all-encompassing strategic initiative, the Belt and Road will surpass the Marshall Plan by virtue of multilateral dialogues, common goals and shared interests. It will define the 21st-century way of international cooperation.

Xinjiang and the Belt and Road

As the Chinese government places a focus on the China — Central Asia — Russia — Baltic Sea route and the China — Central Asia — West Asia — Persian Bay route, we can expect Central Asia to become a vital link for the Belt and Road, and Xinjiang will find itself at a strategic spot connecting China and Central Asia on land.

With a land border of over 5600 kilometers, Xinjiang province is contiguous to Russia, Kazakhstan, Kyrgyzstan, Tajikistan, Mongolia and several other countries. On the Belt and Road, Xinjiang is the gateway for the exchange of resources and basic materials between China and its neighbors to the west.

                                                   

                                                                        Xinjiang’s Central Position on the Belt and Road


In concordance with the Belt and Road Initiative and in a massive infrastructure construction endeavour, Xinjiang is building itself into the center of transportation, commerce, logistics, finance, culture, education and medical care for the surrounding area. In the future, Xinjiang will be providing medical services for Central Asian countries. According to Xinjiang local officials, the province is ahead of Central Asian countries in medical care, and over 1500 foreign nationals from Central Asian countries had been to Xinjiang to seek medical treatment in 2015. Not only hospitals in Urumqi, the capital of Xinjiang, but also those hospitals on the border of the province received foreign patients. In the future, Xinjiang is looking to offer medical services in one package with tourist programs.

Transportation, commerce and logistics go hand in hand. Central Asian countries are the major trading partners of Xinjiang. Although the province’s import and export volume dropped to 19.68 billion USD in 2015 due to shrinking demands from Central Asia, trade with Kazakhstan and Kyrgyzstan still accounted for 46% of the province’s total, while the volume of trade between Xinjiang and Central Asia also accounted for a significant proportion of the total trade volume between China and Central Asian countries. This is to say that although many of China’s exports to Central Asia are produced on China’s eastern coast or central regions, they eventually find their way into Central Asia through Xinjiang.

      Xinjiang is also building itself into the central hub for the three Economic Belt routes that lead to Central and West Asia, Russia and beyond.



                                       https://matrixainetwork.medium.com/matrix-and-the-belt-and-road-part-two-fdbcddd7e789







karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
August 18, 2021, 04:24:30 PM
 #164



                                                            Xinjiang: A gateway to China's Belt and Road Initiative


                                  

Xinjiang has been at the core of China's trade relations across the Eurasian landmass since the millennia-old Silk Road. Owing to its strategic location as China's westernmost frontier that borders eight countries – Mongolia, Russia, Kazakhstan, Kyrgyzstan, Tajikistan, Afghanistan, Pakistan and India – Xinjiang Uygur Autonomous Region today is fittingly seen as the gateway to the Belt and Road Initiative (BRI) that envisions trade and cultural connectivity along the ancient Silk Road.

In this episode of the "Vibrant Xinjiang" series, CGTN interviewed people from different regions and industries in Xinjiang to learn more about how the BRI has promoted high-quality development of Xinjiang's economy and helped locals improve their lives.


                     https://news.cgtn.com/news/2021-08-18/Xinjiang-A-gateway-to-China-s-Belt-and-Road-Initiative-12OLMoV97Wg/index.html






karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
August 19, 2021, 09:40:03 AM
 #165


                                                                          Matrix and The Belt and Road(Part Three)


Smart Maintenance

All these projects create opportunities for the local manufacturing industry, and needless to say, large quantities of heavy machinery will be deployed for construction work. And while the lack of skilled workers and the harsh climate of Xinjiang province create a challenge for machinery maintenance by traditional methods, it presents Matrix’s predictive maintenance technology a golden opportunity to shine.

Matrix is using IoT to construct a predictive failure alarm system, which consists of three layers:

1. Data collection and model building: collecting data and information through sensors at different parts of a machine and predicting the speed at which each component is wearing down;

2. Failure alarm: issuing warnings based on the collected data through machine learning;

3. Failure prediction through correlation: marking and categorizing the data and using machine learning to correlate them with specific failure types.

If Matrix’s predictive maintenance is adopted by all Belt and Road projects, it will help save 1.5 billion USD of maintenance costs each year. Well-functioning machinery is the key to the completion of Xinjiang’s infrastructure goals.


                                                                  

                                                                                  Matrix’s AI Machine Failure Prediction System

Matrix is already promoting its AI failure prediction system to several industries in Xinjiang. The system has achieved great results and won the recognition of many.


                                                                

                                   AI Machine Failure Prediction at Zhundong Coal Mine Predicted the Break of a Bucket Tooth on an Excavator


Smart Energy

Energy is one of the major industries of Xinjiang, and the province’s huge reserves are crucial for construction projects along the Belt and Road. By the end of 2015, Xinjiang had reported a known coal reserve of 379.5 billion tons, second only to Inner Mongolia in China. Here the layer of coal lies close to the ground, making excavation easy and cheap. Oil and natural gas are found in abundance in Dzungar, Tarim, Turpan-Kumul and many other basins. The oil reserves of all Xinjiang basins are estimated to total 21.3 billion tons, constituting 20% of the oil reserves of all basins in China combined. Furthermore, the natural gas reserves of Xinjiang basins total 1.03 billion square meters, constituting 32% of the natural gas reserves of all basins in China combined. In addition, Xinjiang also has incomparable access to wind and solar energy, and the development of renewable energy looks promising.

Energy efficiency is an important topic for the Belt and Road. If achieved, it will greatly reduce the costs of construction projects.

Take wind power for example. By June 2021, wind power plants in Xinjiang had ramped up their installed capacity to a total of 290 million kilowatts. Though this is a remarkable achievement, oftentimes more electric power is generated than can be consumed or stored up, causing a huge waste. This is an issue troubling the rest of the world too. Since the generation of renewable energy depends heavily on weather conditions, it is extremely unpredictable and difficult to fully utilize. Roughly 30% to 35% of wind-generated electric power in Xinjiang is wasted in this fashion. With a 290-million-kilowatt installed capacity, that will be 120 billion kilowatt-hours wasted every year.

There are two possible solutions: 1. making the generation of renewable energy more consistent, or 2. making it more predictable so that we can design usage or storage plans accordingly.

Matrix takes the second approach. Currently, in a cooperative program with China Huadian Corporation, Matrix is using AI modeling to predict wind force, based on which we can estimate how much electric power will be generated and plan accordingly. (This same technology is also being tested at the Beijing Capital International Airport by the Air Traffic Management Bureau.) So far, this program has achieved great results. In the test area assigned by Huadian Corporation, Matrix is able to achieve 92% efficiency, cutting energy waste by 70%.

                                                                

In the future, Matrix’s AI prediction will also work for solar and hydropower, and help improve the efficiency of coal and natural gas usage. With its help, the energy industry in Xinjiang will better serve a supportive role for the Belt and Road Initiative.


                                         https://matrixainetwork.medium.com/matrix-and-the-belt-and-road-part-three-c23e4a2c7cae




karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
August 20, 2021, 06:59:41 AM
 #166



                                                                            A Speech in Digital Economy Conference

                                                                  

On August 18th, the Greater Bay Area Digital Economy Conference and the launch event of Macao International Brand Exchange were held in Hengqin, Zhuhai. Matrix CEO Owen Tao was invited to deliver a speech on Matrix’s strategic positioning in the new digital economy, where he elaborated on the important role of MANIA (Matrix AI Network Intelligent Authentication) and MANAS. Matrix has entered into a partnership with Macao International Brand Exchange in NFT, DeFi and other areas.


                                              https://matrixainetwork.medium.com/a-speech-in-digital-economy-conference-610387aa6867


karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
August 20, 2021, 01:28:26 PM
Merited by revelacaogr (1)
 #167

                                              TechGuide: Things I wish I knew before using DEX-es and trading tokens

Author: Delbypoc
Note: Those views are solely my own, they may or may not be accurate (same goes for the information/examples provided).

                

I’m writing this article in response to some event that happened to someone while trying to swap some BNB for MAN tokens in PancakeSwap (possibly high slippage caused to buy tokens at a price 20x higher than the other markets rate).

When using Decentralized Exchanges like PancakeSwap (or any kind of Uniswap clones) you should check out a few things before trying to swap for the token you want or thinking about providing liquidity to a pair:

Slippage

Slippage is used to calculate the minimum amount of a specific token we must receive for the transaction to go through.

When we trade a token for another token (in a normal situation), this function of the contract can get called:

                                                        

As you can see, `amountIn` is the amount of tokens that go in (send) and `amountOutMin` is the minimum amount of tokens that will go out (receive), `to` is the address that will receive the tokens.

The transaction will fail if it did not meet the requirements for the transaction to go through (the amount of tokens that you would receive are lower than the amountOutMin value).

2. Same name/ticker Tokens

Make sure that the token address for the token you want to swap to is correct (legit and comes from the official team), there is no restriction for tokens with the same name/ticker.

3. Careful about non-tradable/scam tokens.

If you manage to swap for some tokens and cannot swap back, the contract may have some functions disabled (or has been made specifically so you won’t be able to swap them back normally, in some cases it is possible if you use another contract). You can usually prevent this by researching the project and verifying a few times if the token contract is legit and not some scam attempt (with the same name/ticker as the official project)

4. Check liquidity value

Make sure the liquidity is adequate for the value you want to trade and adjust your slippage accordingly

5. Impermanent loss

When you provide liquidity to a trading pair, impermanent loss usually takes place (and most of the time becomes a permanent loss).

Uniswap V2 (also PancakeSwap) uses the constant product formula: x*y = k , x and y are the reserves and k is the product

Let’s say you provide liquidity for MAN/BNB pair and you receive no tokens for it (CAKE, UNI, etc… to compensate for it) and we have the following prices when we put our tokens in to provide liquidity:

1 MAN token = 0.1 $
1 BNB token = 400 $

If 1 MAN token were to become 1$ and 1 BNB token 500$, we would have an impermanent loss of more ~37.5%, meaning our combined value of the tokens we will get out is less with ~37.5% than what we would have if we just kept our tokens, without providing liquidity.

If 1 MAN token were to become 0.01$ and 1 BNB token 500$, we would have an impermanent loss of more ~47.6%.

Higher the difference, higher the impermanent loss, providing liquidity on new farms with new tokens is usually a good way to get completely rekt (if you get in at the start of it when prices are usually very high and they have a high inflation rate):

1 SomeToken = 10$
1 BNB = 400$

If you provide liquidity on the SomeToken/BNB pair and the price goes like this:

1 SomeToken = 0.01$
1 BNB = 500$

The impermanent loss will be around 94.35%! (considering the situation when the tokens farmed + trading fees received will not be that valuable, you will not be able to recover the loss, there are surely cases when it can be profitable)

You can check out more details on Uniswap V2 on their official website:

https://docs.uniswap.org/


                     https://matrixainetwork.medium.com/techguide-things-i-wish-i-knew-before-using-dex-es-and-trading-tokens-679e75fd8d6d





karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
August 23, 2021, 02:25:44 PM
 #168



                                                                                                 WE ARE HIRING


If you follow well our contents, you have a good understanding of MATRIX. With the exciting progress, we are looking for talents to fill up following positions:

1. Head of Community (Global Market)

1. Responsibility

i. Set up the relevant guides and rules for various community platforms, e.g. Twitter, Telegram, Discord etc.

ii. Engage with the community to increase the active level of such platforms, e.g. topics and events.

iii. Establish procedures for things related Community.

iv. Supervise Admins or Community Managers for daily execution. Admins and/or Community Managers will be handpicked by the post holder.

v. Prepare management reports.

vi. Others as tasked by CMTO or delegates of Project Team.

2. Requirement

i. Passionate about MATRIX and have a solid understanding of MATRIX.

ii. Detailed minded with strong sense of responsibility.
iii. Excellent stakeholder and team management skills.
iv. Great communication skill.
v. Strategic mindset and can roll-up sleeve for execution.
3. Allowance: will be disclosed to suitable candidate.
2. Head of Marketing (Global Market)
1. Responsibility

i. Source for marketing means to promote MATRIX and acquire followers.

ii. Present marketing opportunities to CMTO for approval regularly.

iii. Establish procedures about reporting.

iv. Supervise an assistant, to be handpicked by the post holder, for project execution.

v. Others as tasked by CMTO or delegates of the Project Team.

2. Requirement

i. Passionate about MATRIX and a good understanding of MATRIX.

ii. Resourceful in terms of global marketing.

iii. Detail minded with strong sense of responsibility.

iv. Excellent communication and negotiation skills.

v. Strategic mindset and can roll-up sleeves for execution.

3. Allowance: will be disclosed to suitable candidate.

3. How to Apply:

1. Please send email to EricChoy@MATRIX.io with

i. Title as Application for (the post you are interested at).

ii. Why you are fit.

iii. Number of hours (on average) you can commit each day.

2. Deadline for application : 12 noon of 26 August (GMT+8).


                                           https://matrixainetwork.medium.com/we-are-hiring-90b6987fd9f8
                                         https://twitter.com/matrixainetwork/status/1429743209941454850?s=28



karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
August 24, 2021, 09:57:59 AM
 #169



                                                     How to Launch Your Masternode by using snapshot at block height 5,900,000


1. Go to www.matrix.io/dropdown_lord_cn.html, and download the zip package matching your operating system.

2. Choose Version 4.0.

                                                    

3. Choose one of the two ways to launch a Masternode:

a. Launching a Masternode by syncing the entire blockchain. This method may take a long time to complete, but it’s stabler. Follow the steps detailed in the guide that comes with the zip package.

b. Launching a Masternode using snapshot files. This method does not take long to complete, but it’s less stable. Please refer to the guide at https://www.matrix.io/assets/dropdown/How_to_Launch_Your_Masternode_Using_Snapshot_Files_(202108).doc

 
                                                    

Tips:

1. There are instructions for Windows, Mac and Linux users separately in the guide.

2. When there are mining profits involved, consult the “Transfer account data” section in the guide.

Depending on the number of MAN you stake, you are assigned the role of either a mining node or a validation node. A mining node has to stake more than 10,000 but not exceeding 100,000 MAN, while a validation node has to stake more than 100,000 MAN.  


           https://matrixainetwork.medium.com/how-to-launch-your-masternode-by-using-snapshot-at-block-height-5-900-000-45ccc141df68



karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
August 24, 2021, 10:04:11 AM
 #170

                                                                                      Matrix and The Belt and Road (Part 4)


Smart Industrial Park

Xinjiang suffers from a workforce shortage due to its lack of skilled workers, a high cost of labor and risky working conditions (which mining and excavation work entails). Therefore, for Xinjiang to become the hub of the Belt and Road, this shortage has to be addressed through either policy-making or technological innovation.

Matrix’s AI technology offers a solution by replacing human workers with AI. This will guarantee the smooth operation of manufacturing, infrastructure building, energy generation and many other industries while significantly cutting down costs.

The cooperative project between Matrix and TBEA — the Unmanned Mine — is a good example of this. The combination of 5G, IoT, AI and robots allows us to run a completely unmanned coal mine. If successful, this pilot project will be promoted across the industry. Currently, Matrix’s part revolves around constructing the blockchain network for AI and data collecting.

The project started in mid-2020. It includes 1. a 5G+AI coal mine conveyor belt anomaly detection system; 2. a 5G+AI flame detection and warning system for mines; 3. a 5G+AI worksite supervision system; and 4. a 5G+AI machinery maintenance system. All four systems and ten core functional modules are 60% away from completion and to be delivered by early 2022.

                              

                    Picture: The Dangerous Area Worker Detection and Warning Module Designed by Matrix for TBEA’s Unmanned Mine

Computing Power Grids

The transition to digitalized and smart manufacturing is a central goal of the Belt and Road. To achieve this, we need massive amounts of computing power and storage space. Cheap energy resources give Xinjiang an incomparable advantage in building computing power grids.

At the same time, under the pressure of the carbon neutrality trend, China is cracking down on Bitcoin mining. Home to the largest number of Bitcoin mining farms in China, Xinjiang is in a great position to take advantage of this crackdown to develop computing power grids.



                                                              

                                             Picture: Closed Mining Farm at Shihezi, Xinjiang Waiting to Be Taken over by Matrix

In its cooperative projects with large electric power companies (such as China Huadian, China Guodian, TBEA, etc.) in Xinjiang, Matrix will be providing AI solutions including smart power generation, predictive maintenance, etc. These companies will build their own computing centers and connect to Matrix’s distributed computing power platform. Matrix will also repurpose traditional crypto mining farms and join them into its platform to serve as computing power grids for the Belt and Road.


                          

                                              Picture: The Structure of Matrix’s Xinjiang Computing Power Grid


                                       https://matrixainetwork.medium.com/matrix-and-the-belt-and-road-part-4-f7aabc622d0a





karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
August 25, 2021, 12:49:33 PM
 #171




                                                                      Matrix and The Belt and Road (Part 5)



How Does This Benefit Matrix?

Besides the honor of contributing to the Belt and Road Initiative in Xinjiang, Matrix also stands to benefit in the following ways.

The Foundation of MANITO

MANITO (MAN Industry Tech Open-Platform) is one of the pillars of MATRIX 2.0. All the Belt and Road projects that Matrix participates in in Xinjiang can be adapted into services that will target clients in the manufacturing and energy industries in the future. These services will operate on Matrix’s computing power and require MAN for settlement. All this will mean more income for miners of Matrix AI Network and more liquidity for MAN.

Matrix’s Computing Power Distribution Platform

Matrix is actively participating in building computing power grids in Xinjiang. In the future, Matrix hopes to connect its mainnet to these grids, which will broaden the revenue streams for companies that have a part in constructing these grids and help them avoid resource waste by increasing temporary demand volatility tolerance. For Matrix, cheap electric power and the takeover of Bitcoin mining farms will benefit its ecosystem, as affordable computing power is at the core of Matrix 2.0.

Larger Market Share for MANAS and MANTA

Matrix will be trying to bring all its business partners in Xinjiang into its own ecosystem. These are mostly governmental corporations or listed companies of scale, and when they become clients of the AI services on MANAS and MANTA, the liquidity and value of MAN will receive an unprecedented boost.

Matrix’s endeavor to support the Belt and Road in Xinjiang will pave the way for the future success of the company in Central Asia and Europe.



                               https://matrixainetwork.medium.com/matrix-and-the-belt-and-road-part-5-8c086ec0c382





karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
August 26, 2021, 02:53:19 PM
 #172

                                         Matrix AI Network Utils — Part 2: Generating a Vanity Address(JS, NodeJS), Beginner level
                                                  Author:Delbypoc


This tutorial is for educational purposes only, I’m not responsible for any losses, damages, or other liabilities which may occur by using any info/code provided here(or anywhere else it is posted).

                                            

I’m under no circumstances a Javascript professional (or a JS Ninja/Expert)!

The code is not production ready! (only for learning purposes)

In this guide, I’m going to show you how to generate an vanity MAN address (Mainnet).

To keep it simple, for this program we will make use of the ETH to MAN address convertor we displayed in the last article:

https://medium.com/@delbypoc/matrix-ai-network-integration-tutorials-part-1-converting-an-eth-address-to-man-address-js-db376f17a2d

We will make use of the following packages : ‘crypto’, ‘ethereumjs-util’, ‘buffer’, ‘polycrc’, ‘bs58’.

You can install them by using :

npm install ethereumjs-util buffer polycrc bs58

Let’s start programming!

First off, we are going to start by generating a random wallet, we are going to call this function ’generateRandomWallet’:

              

Then we will make a function that verifies if the wallet we provide contains the word we choose (the parameter in the function is called ‘input’), we will call this function ‘addressContainsTheInput’:

              
Then we will make a function that generates a random wallet until it finds one that contains the input (addressContainsTheInput returns true), we will name it ‘generateVanityWallet’:

               

For example, if we want an address that contains the word ‘Enjoy’:
Note: The time it takes to find an address depends on your computer specs (and a bit of luck), it took me around 10 seconds to generate an address that contains the word `enjoy`, longer sequences takes more time.
Note: This is not an efficient program, there are better ways to generate a vanity address (especially if you make use of GPU-s core count or CPU multi-threading)

                                          

Sample output:

{
publicAddress: ‘MAN.2ZyEnjoy2tk5yPB2YrziUVTQAFWAV’,
privateKey: ‘c17b95305a3d0ad80a4ca4020ab7850cf5e75557b273dbbce625cd5f8c95f286’
}

Whole program (https://github.com/CognitiveProcessing/Matrix-AI-Network-Code-Snippets/blob/main/js/generateVanityAddress.js)

                


                


For more documentation on the packages used, you can check: https://www.npmjs.com/package/bs58
https://www.npmjs.com/package/buffer
https://www.npmjs.com/package/polycrc
https://www.npmjs.com/package/ethereumjs-util
https://nodejs.org/api/crypto.html
Also, check out the official Matrix AI Network Developer Portal: dev.matrix.io




karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
August 27, 2021, 04:54:06 PM
 #173

                                        Matrix AI Network integration tutorials — Part 1: Determine the addresses with activity and their respective balances
                                                                          for a specified number of blocks(Java + Maven), Intermediate level


This tutorial is for educational purposes only, I’m not responsible for any losses, damages, or other liabilities which may occur by using any info/code provided here(or anywhere else it is posted).

                                             

I’m under no circumstances a Java/Maven professional (or an Java/Maven Expert)!

The code is not production ready! (only for learning purposes)

In this guide, I’m going to show you how to determine the addresses who have activity (received MAN tokens) and their respective balances and display them in a sorted manner, based on maximum balance.

Before starting, I suggest taking a look at some maven fundamentals (https://maven.apache.org/ , we will use some of the libraries MATRIX AI NETWORK provided in their repositories).

You will also need an IDE that is compatible with MAVEN (or you will have to add the matrix ai network dependencies jars manually into the project, IntelliJ or Eclipse should work great)

Intellij: https://www.jetbrains.com/idea/

Eclipse: https://www.eclipse.org/

Let’s start by creating a new Maven project, you can skip this if you already know how to create a Maven supported project (/you can use any guide for creating a Maven compatible project, for example :https://www.jetbrains.com/help/idea/maven-support.html), some ways of doing it depending on your IDE would be:

For Eclipse: File-> New -> Project -> Maven Project -> Next -> check “Create an simple project box” -> write/choose any group Id/artifact Id -> in Package Explorer go into the src/main/java of the project and create an new class, I will name it GetTopHolders.java.

For IntelliJ: File -> New -> Project -> Java Project -> Create project from template -> Command Line App -> Pick a name -> Finish -> Right click on it in Project Explorer then Add Framework Support -> Select maven -> Ok -> Now you can open the generated Main.java file and rename it to GetTopHolders.java

We will now add the required dependencies in the pom.xml file (you can find more info about it on https://maven.apache.org/guides/introduction/introduction-to-the-pom.html, you can find those dependencies on maven repository https://mvnrepository.com/search?q=io.github.matrixainetwork)

                                          

Let’s start coding:

I will initialize a provider first (I will pass in a public node of Matrix for use):

                                    

Then I will use the “provider” to get the current number of blocks and declare a parameter that sets the number of blocks to a number specified by us.

We will iterate over Transactions and verify which one has a Value higher than 0 so we can add the Addresses that received the amount into a HashMap so we can later query for balances:

(Will also print the current block we are looking into so we know that we didn’t get limited by the public node/stuck)

                                        

After we are done gathering addresses to query for balances (we know that those addresses got balances) we can run the getBalance method for each one of them then change the balance value accordingly :

                                        

Now we can run a sorting (so the accounts get “sorted” based on their balance) and display them in the console:

                                        

If everything goes well, we should see a result similar to this:

                                        

(blurred some of the addresses, in the photo it shows the addresses/balances for addresses that had activity in the blocks displayed in the first line, 10 blocks)

The single-threaded version is very slow so I also wrote a multi-threaded version, added a thread pool, changed the HashMap into a ConcurrentHashMap, and wrapped some of the code into a function named “searchForAddressesWithBalances”

                                        


                                        


The multi-threaded version is also not that efficient as we will probably get banned/temporary limited from the “provider” node after many requests, an more efficient way of doing it would be storing the block information into a database (SQL/non-SQL) then querying for the addresses with the highest balances (doing it with your own node, not the public one).

Github code, single-threaded version :

https://github.com/CognitiveProcessing/Matrix-AI-Network-Code-Snippets/blob/main/Java/GetTopHolders.java

Multi-threaded version:

https://github.com/CognitiveProcessing/Matrix-AI-Network-Code-Snippets/blob/main/Java/GetTopHoldersMultiThreaded.java

Also, check out the official Matrix AI Network Developer Portal:

dev.matrix.io



                                                                             https://www.matrix.io/blog_53.html





karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
August 30, 2021, 04:57:49 PM
 #174


                                                                            2nd Report of August 2021
                                                                       Matrix AI Network Bi-weekly report


                    




karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
August 31, 2021, 02:54:03 PM
 #175



                                                                             Matrix AMA August 2021


                                                                  https://www.youtube.com/watch?v=JYi5EbRaj2A


karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
September 01, 2021, 09:34:54 AM
 #176

September 1
2021


                                                                                      The Belt and Road Summary

The Belt and Road

The Belt and Road Initiative aims to build a platform of multilateral cooperation between China and countries along the Ancient Silk Road. The B&R consists of three main land routes and two main maritime routes, connecting the vibrant Chinese economy with the South Pacific, Eastern-Africa and the more developed European economy. With an enduring global economic growth in mind, China will leverage its advantage in manufacturing capacity, technology, capital, expertise and advanced industrial models within a broader framework of principles of political trust, economic integration and cultural exchange. China’s B&R already secured the participation of 171 countries and organizations through 205 cooperation agreements, and will define the 21st-century way of international cooperation.

Xinjiang

Thanks to its central position for the exchange of resources and basic materials between China and its neighbors to the west, the Chinese province Xinjiang will play a crucial role as a gateway in the B&R Initiative. Xinjiang is building itself into the center of transportation, commerce, logistics, finance, culture, education and medical care for the surrounding area, and into the main hub for the three B&R routes that lead to Central and West Asia, Russia and beyond.

Smart Maintenance

The enormous B&R-related infrastructure works will require large quantities of heavy machinery. A lack of skilled workers and the harsh Xinjiang climate make traditional machinery maintenance challenging, and that’s where Matrix’s predictive maintenance technology comes into play. Matrix is using IoT to construct a predictive failure alarm system for highly advanced maintenance. Properly functioning machinery is crucial for reaching Xinjiang’s infrastructure goals and if Matrix’s predictive maintenance is adopted by all B&R projects, each year 1.5 billion USD of maintenance costs will be saved. Matrix’s system has achieved great results so far and already won the recognition of many in Xinjiang.

Smart Energy

Energy production is one of the major industries of Xinjiang, and its huge reserves of coal, oil and natural gas are crucial for construction projects along the Belt and Road. Xinjiang also has incomparable access to wind and solar energy, but due to the unpredictable nature of weather conditions, it is extremely difficult to fully utilize. In wind power production, oftentimes more electric power is generated than can be consumed or stored up, leading to a waste of 30% to 35% in Xinjiang. Currently, in a cooperative program with China Huadian Corporation, Matrix is using AI modeling to predict wind force for more accurate estimates leading to more efficient planning. Matrix achieves 92% efficiency, cutting energy waste by 70%. In the future, Matrix’s AI prediction will also be applied to solar and hydropower, and help improve the efficiency of coal and natural gas usage. With Matrix’s support, the energy industry in Xinjiang will be of better service to the B&R Initiative.

Smart Industrial Park

Xinjiang suffers from a workforce shortage due to its lack of skilled workers, a high cost of labor and dangerous mining and excavation conditions. For Xinjiang to become the hub of the B&R, Matrix is offering its AI technology as an alternative to human workers. It will guarantee the smooth operation of manufacturing, infrastructure building, energy generation and many other industries while significantly cutting down costs. In the cooperative project with TBEA (Unmanned Mine), the combination of 5G, IoT, AI and robots enable a completely unmanned coal mine. Matrix’s part revolves around constructing the blockchain network for AI and data collecting. This pilot project started in mid-2020 and is expected to be delivered by early 2022. If successful, it will be promoted across the industry.

Computing Power Grids

Under the pressure of the carbon neutrality trend, China is cracking down on Bitcoin mining. Thanks to its cheap energy resources, Xinjiang is home to the largest number of Bitcoin mining farms in China, putting it in a great position to take advantage of this crackdown to develop computing power grids.

In its cooperative projects with large electric power companies (China Huadian, China Guodian, TBEA, etc.) in Xinjiang, Matrix will be providing AI solutions including smart power generation, predictive maintenance, etc. These companies will build their own computing centers and connect to Matrix’s distributed computing power platform.

How Does This Benefit Matrix?

Matrix is honored to contribute to the Belt and Road Initiative in Xinjiang, and will benefit in the following ways:

1) MANITO (MAN Industry Tech Open-Platform) is one of the pillars of MATRIX 2.0. All the B&R projects that Matrix participates in can be adapted into services that will target clients in the manufacturing and energy industries. These services will operate on Matrix’s computing power and require MAN for settlement. All this will mean more income for miners of Matrix AI Network and more liquidity for MAN.

2) Matrix is participating in building computing power grids in Xinjiang. In the future, Matrix hopes to connect its mainnet to these grids, which will broaden the revenue streams for companies that have a part in constructing these grids and help them avoid resource waste by increasing temporary demand volatility tolerance. For Matrix, cheap electric power and the takeover of Bitcoin mining farms will benefit its ecosystem, as affordable computing power is at the core of Matrix 2.0.

3) Matrix envisions a larger market share for MANAS and MANTA, by bringing all its business partners in Xinjiang into its own ecosystem. These are mostly governmental corporations or listed companies of scale, and when they become clients of the AI services on MANAS and MANTA, the liquidity and value of MAN will receive an unprecedented boost.

Matrix’s endeavor to support the Belt and Road in Xinjiang will pave the way for the future success of the company in Central Asia and Europe.



                                                                    https://www.matrix.io/blog_55.html#






karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
September 02, 2021, 05:53:51 AM
 #177


                                                                                Monthly Manual Swap


Occasionally, the project team will receive requests to perform manual swap for community members. To facilitate such, please read and follow below guides so we can help you in a structured way.

1. Period :

The project team will facilitate such requests once a month, and the date is set on 5th calendar day of each month (GMT+8). Examples :

a. if you send your request on 4th September, it will be handled on 5th September.

b. If such request is sent on 5th September, it will be handled on 5th October.

c. If you send your request on 6th September, it will be dealt with on 5th October.

2. Lead time:

takes 1–2 days to finish the manual swap. There will be no email reply stating it has been completed. You can assume your requests have been done within the lead time. If it does not, please send email or DM Admin.

3. How:

Please send email to tokenswap@matrix.io with below details :

a. Transaction hash

b. Your ERC20 wallet address

c. The Matrix Mainnet wallet address associated with your ERC20 wallet address

d. The number of tokens you sent to the token burn account address.

e. For other details, please refer to the Token Swap Manual (Link).


                                         https://matrixainetwork.medium.com/monthly-manual-swap-26793676bdb4








karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
September 07, 2021, 02:45:04 PM
 #178




                                                APEX: AI-Algorithmic-Stablecoin-to-Foreign-Currency Exchange Protocol (Part 1)



PEX (AI-Powered Exchange) is a decentralized protocol based on Matrix’s AI technology, supporting the minting and cross-chain exchange of multiple algorithmic stablecoins. By integrating AI with algorithmic stablecoin, APEX will create scalable decentralized stablecoins suited for the specific needs of different countries and regions, and support the free exchange among all types of stablecoins. Here are five core features of APEX:

● Smart Stabilization Algorithm: Users need to stake a certain number of assets to mint algorithmic stablecoins. Smart stability adjustment is dependent on both stakes and stabilization algorithms. When the ratio between algorithmic stablecoins and the currency it is pegged to is bigger than 1 on APEX, the weight of stakes will decrease, and the weight of algorithms increase. When this ratio is smaller than 1, the weight of staking will increase, and that of algorithms decrease;

● DAO: autonomous community, featuring decentralized management;

● Cross-chain Transaction: Since APEX supports the exchange among algorithmic stablecoins on different blockchains pegged to different fiat currencies, the platform’s cross-chain functions are fully capable of facilitating the transactions of different types of assets;

● On-chain Oracle Machine: APEX has direct access to the real-time data of DEXs and reads the real-time exchange rates of currencies through Chainlink;

● AI-powered Currency Exchange: AI algorithms will help find the best exchange rates for different asset types on APEX. Users may also choose to ignore these AI recommendations and use any currency exchange service they want;

There are two types of tokens on APEX: 1. the algorithmic stablecoin ASC, and 2. the governance token AX, which grants voting power in matters related to governing APEX.

APEX’s System of Algorithmic Stablecoins

APEX is essentially a service that provides each country, region or institution with an algorithmic stablecoin pegged to the fiat currency that the group is most accustomed to using. This is to say that, APEX will host quite a number of algorithmic stablecoins, which sets it apart from other stablecoin projects.

When APEX plans to enter a new market, a voting round will start in its community. If there are enough votes, an algorithmic stablecoin will be created. (This doesn’t describe the first algorithmic stablecoin). Each stablecoin will be named after the fiat currency to which it is pegged plus the letter A as a prefix, e.g. AUSD, ASGD, etc.

If a new stablecoin is passed, APEX will release the contract for minting it, and users can stake the designated type of asset to start minting. In the original state, the percentage of stakes on APEX will be 100%. After algorithmic stablecoins are created, APEX will enter a mixed stage, where the percentage of stakes is calculated and updated hourly through functions contained in the stablecoins’ contracts. Each adjustment will be within 0.25%. Take AUSD as an example. When its price is higher than $1, the contract functions will reduce the staking rate by 0.25% every hour. When the price of AUSD is lower than $1, the same rate will be raised by 0.25% hourly.

APEX’s Smart Price Stabilization Mechanism

By supporting the free minting and redemption of algorithmic stablecoins, APEX has created a system where arbitrageurs can help balance the supply and demand of algorithmic stablecoins in open-market transactions.

Again take AUSD as an example. If the market price of AUSD is higher than $1, this creates an opportunity for arbitrage. To do so, people can mint an AUSD by depositing $1 in the contract, and then sell the AUSD for higher than $1 in the market. At any time, to mint a new AUSD, one US dollar’s worth made up of stakes and AX must be deposited into the system. When AUSD is in a state of 100% stakes, then the value deposited into the system for minting AUSD is 100% stakes. As the contract enters a mixed stage, AX will start to make up part of the value that goes into minting stablecoins and afterwards be burnt in circulation. For instance, at 98% stakes, it will take stakes worth $0.98 and burn AX worth $0.02 to mint an AUSD. While at 97% stakes, to mint an AUSD will consume $0.97 worth of stakes and burn $0.03 worth of AX.

When the market price of AUSD is lower than $1, this also presents an opportunity for arbitrage by simply buying AUSD in the market for less than $1 and exchanging it for one dollar. Users can redeem the one-dollar value in an AUSD at any time from the system. The difference is only in the percentage of stakes and AX that people get through redemption. When AUSD is made up of 100% stakes, people will get 100% stakes through redemption. In a mixed stage, part of the value people redeem will be AX (newly created for redeemers). For instance, at 98% stakes, every AUSD can be exchanged for a combination of stakes worth $0.98 and AX worth $0.02. While at 97% stakes, every AUSD can be exchanged for stakes worth $0.97 and AX worth $0.03.

No matter what price AUSD is at, there will always be chances to arbitrage. This will motivate arbitrageurs to mint or redeem stablecoins, thus helping AUSD to remain stably in a range close to $1.






                                               https://twitter.com/matrixainetwork/status/1435146067289550854?s=21
                 https://matrixainetwork.medium.com/apex-ai-algorithmic-stablecoin-to-foreign-currency-exchange-protocol-part-1-193221f3de51




karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
September 08, 2021, 08:12:51 AM
 #179


                                        APEX: AI-Algorithmic-Stablecoin-to-Foreign-Currency Exchange Protocol (Part 2)


Smart Stake Percentage Adjustment

Generally speaking, stablecoins on APEX go through two cycles: the inflationary cycle and the deflationary cycle. In an inflationary cycle, APEX will reduce the percentage of stakes but raise the percentage of AX required to mint an algorithmic stablecoin. While in a deflationary cycle, APEX will raise the percentage of stakes, and people redeeming their AX will get more AX and fewer stakes.

The functions contained in stablecoin contracts will calculate and update the smart adjustment process on an hourly basis, and the percentage of stakes will be adjusted by 0.25% each time. Take AUSD for example.When its price is higher than $1, the percentage of stakes will be adjusted down 0.25% for each passing hour; and when its price is higher than $1, the stake percentage will go up by 0.25% every hour. If the price of AUSD should stay under $1 for a long time, the percentage of stakes will gradually move close to 100%.

Minting

Every type of algorithmic stablecoins has its independent contract and staking pool on APEX. Stablecoins of the same type are interchangeable and have an identical stake percentage regardless of what percentage they had at the time of minting.

APEX’s functions for minting are as follows.


                                                    



                                                    


Take AUSD for example. If we have C=97%, then to mint an AUSD requires $0.97 worth of stakes and burns $0.03 worth of AX.

Note that on APEX minting algorithmic stablecoins costs a minting fee, which is charged in AX at 0.2% of the total value of the minted stablecoins.

Redemption

The functions for redemption are as below.


                                                  


                                                  


                                                  




                                                         https://twitter.com/matrixainetwork/status/1435466450450489349?s=21

                   https://matrixainetwork.medium.com/apex-ai-algorithmic-stablecoin-to-foreign-currency-exchange-protocol-part-2-5fe09cedbb43







karametade (OP)
Full Member
***
Offline Offline

Activity: 437
Merit: 152


View Profile
September 08, 2021, 08:16:39 AM
 #180




                                                                     AMA with LemoChain hosted by Matrix AI Network


                                      If you have any questions regarding APEX or LemoChain please submit then via this Google form.


                          https://docs.google.com/forms/d/e/1FAIpQLSeIvUe7Y81tbBbNrPwH6bn3onsq8U2KKW4c82yzT3MUU_H9kQ/viewform







Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 16 17 18 19 20 21 22 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!