Skip to content

Instantly share code, notes, and snippets.

View alejomendoza's full-sized avatar
🏠
Working from home

Alejo Mendoza alejomendoza

🏠
Working from home
View GitHub Profile
@alejomendoza
alejomendoza / keybase.md
Created January 23, 2019 22:08
keybase verification

Keybase proof

I hereby claim:

  • I am alejomendoza on github.
  • I am alejomendoza (https://keybase.io/alejomendoza) on keybase.
  • I have a public key ASC57hmpU-IrunldK9Jj9oYuuVUHtzrTagMrcsUpjFPhsgo

To claim this, I am signing this object:

@alejomendoza
alejomendoza / multiauth.ts
Created May 28, 2024 21:02
Multiple auth Soroban contract call
import { Keypair, Transaction, hash, scValToNative, xdr } from 'stellar-base';
// generated from Typescript bindings
import { Client, networks } from 'contract-client';
function getClientForKeypair(keys: Keypair) {
return new Client({
contractId: networks.testnet.contractId,
networkPassphrase: networks.testnet.networkPassphrase,
rpcUrl: 'https://soroban-testnet.stellar.org',
publicKey: keys.publicKey(),