This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 🛠️ TruthGPT SOTA 2025 - Windows Installer | |
| $ErrorActionPreference = "Stop" | |
| Write-Host "`n=== Iniciando Instalación (Windows) ===" -ForegroundColor Cyan | |
| # 1. Verificar Python | |
| if (!(Get-Command python -ErrorAction SilentlyContinue)) { | |
| Write-Host "✗ Python no encontrado. Instálalo en https://python.org" -ForegroundColor Red | |
| exit 1 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: AGPL-3.0-only | |
| pragma solidity ^0.8.16; | |
| import 'protocol/packages/core/contracts/oracle/interfaces/OptimisticOracleV2Interface.sol'; | |
| import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; | |
| import './DAOCensus.sol'; | |
| contract umaInteract is DAOCensus { | |
| // ... (previous code) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Create SECP256K1 private key with explicit parameters for backward compatibility | |
| $ openssl ecparam -name secp256k1 -genkey -noout -out secp256k1-key.pem -param_enc explicit | |
| // Create public key | |
| $ openssl ec -in secp256k1-key.pem -pubout -out secp256k1-key-pub.pem | |
| // Show public key | |
| $ openssl ec -in secp256k1-key-pub.pem -pubin -text -noout | |
| // Create RSA private key | |
| $ openssl genrsa -des3 -out rsa-key.pem 2048 | |
| Generating RSA private key, 2048 bit long modulus |