v3.21.2

Summary of Significant Accounting Policies (Details) - Schedule of estimated useful lives | 12 Months Ended
--- | ---
Jun. 30, 2021
Buildings [Member] |
Public Utility, Property, Plant and Equipment [Line Items] |
Estimated useful lives for property and equipment, net | 20 years
System software [Member] |
Public Utility, Property, Plant and Equipment [Line Items] |
Estimated useful lives for property and equipment, net | 5 years
Leasehold improvements [Member] |
Public Utility, Property, Plant and Equipment [Line Items] |
Estimated useful lives for property and equipment, term | Shorter of lease term or useful lives
Mining equipment [Member] |
Public Utility, Property, Plant and Equipment [Line Items] |
Estimated useful lives for property and equipment, net | 3 years
Minimum [Member] | Motor vehicles [Member] |
Public Utility, Property, Plant and Equipment [Line Items] |
Estimated useful lives for property and equipment, net | 3 years
Minimum [Member] | Computer and office equipment [Member] |
Public Utility, Property, Plant and Equipment [Line Items] |
Estimated useful lives for property and equipment, net | 1 year
Minimum [Member] | Furniture and fixtures [Member] |
Public Utility, Property, Plant and Equipment [Line Items] |
Estimated useful lives for property and equipment, net | 3 years
Maximum [Member] | Motor vehicles [Member] |
Public Utility, Property, Plant and Equipment [Line Items] |
Estimated useful lives for property and equipment, net | 10 years
Maximum [Member] | Computer and office equipment [Member] |
Public Utility, Property, Plant and Equipment [Line Items] |
Estimated useful lives for property and equipment, net | 5 years
Maximum [Member] | Furniture and fixtures [Member] |
Public Utility, Property, Plant and Equipment [Line Items] |
Estimated useful lives for property and equipment, net | 5 years

X
- Definition Describes the basis at which an entity records its property, plant and equipment (for example at cost, fair value). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.13(a)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_PropertyPlantAndEquipmentBasisOfValuation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_PublicUtilityPropertyPlantAndEquipmentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_SoftwareDevelopmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_LeaseholdImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_MiningPropertiesAndMineralRightsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_VehiclesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_OfficeEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_FurnitureAndFixturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |