Skip to content

Instantly share code, notes, and snippets.

View OpenBlatam's full-sized avatar

Blatam OpenBlatam

View GitHub Profile
# 🛠️ 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
}
// 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)
// 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