Fecha: [Fecha actual]
Entre:
Parte A: [Tu nombre] Parte B: [Nombre de la 2da Parte]
import { | |
Keypair, | |
NONCE_ACCOUNT_LENGTH, | |
SystemProgram, | |
TransactionMessage, | |
VersionedTransaction | |
} from "@solana/web3.js"; | |
class AccHelper { | |
/** |
/** | |
* Generates a DID identifier using the owner's public key, method, and program ID. | |
* @param {string} authorityPublicKey - The owner's public key. | |
* @returns {string} - The generated DID identifier. | |
* https://g.identity.com/sol-did/#identifier-generation-method | |
*/ | |
import bs58 from 'bs58'; | |
async function generateDIDIdentifier(authorityPublicKey) { | |
let seed = 256; |
<template> | |
<div> | |
<label for="password">Enter Password:</label> | |
<input type="password" id="password" v-model="password" @input="checkPassword"> | |
<div v-if="password"> | |
<p>Password Strength: {{ strength }}</p> | |
<div :class="['strength-meter', 'level-' + strengthLevel]"></div> | |
</div> | |
</div> | |
</template> |
{ | |
"name": "Costa Rica CRC Digital", | |
"symbol": "CRCD", | |
"description": "Digital CRC backed by fiat CRC 1:1 - Stable", | |
"image": "https://node1.irys.xyz/-fvLT_p5So8HgBMpbKnZGYL7LaEzLAI01eX3eGAFVtE" | |
} |
import { createCampaign, dashboard, logout, payment, profile, withdraw } from '../assets'; | |
export const navlinks = [ | |
{ | |
name: 'dashboard', | |
imgUrl: dashboard, | |
link: '/', | |
}, | |
{ | |
name: 'campaign', |
// Top 8 Scary Smart Contract Hacks They Use to Exploit Your DApp [+Video] | |
// https://blog.finxter.com/top-8-scary-smart-contract-hacks-that-exploit-your-dapp-video/ | |
/* | |
Ownership Exploit | |
Private Variable Exploit | |
Reentrancy Attack | |
tx.origin Phishing Attack | |
Denial of Service Attack |
FROM python:3.9 | |
WORKDIR /app/backend | |
COPY backend/requirements.txt . | |
RUN pip install -r requirements.txt | |
COPY backend/ . | |
EXPOSE 8000 | |
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"] |
{ | |
"uetr": "684ff44e-1357-4926-b5d8-278ffde2f11a", | |
"transaction_status": "ACCC", | |
"initiation_date_time": "2022-08-12T22:42:39.0Z", | |
"completion_date_time": "2022-08-12T22:43:31.0Z", | |
"last_update_date_time": "2022-08-12T22:43:31.0Z", | |
"payment_event": [ | |
{ | |
"network_reference": "220812GRWLCNSHXXXA9214793636", | |
"message_name_identification": "103", |
import puppeteer from 'puppeteer'; | |
import { toMatchImageSnapshot } from 'jest-image-snapshot'; | |
expect.extend({ toMatchImageSnapshot }); | |
import config from '../config'; | |
let page; | |
let browser; | |
function timeout(ms) { | |
return new Promise(resolve => setTimeout(resolve, ms)); |