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
| """This example demonstrates how to sign auth entries and extract them as XDR strings. | |
| This allows for passing the signed auth entries to a relayer for transaction submission. | |
| See https://soroban.stellar.org/docs/learn/authorization | |
| """ | |
| from stellar_sdk import ( | |
| scval, | |
| Keypair, | |
| SorobanServer, |
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
| #![no_std] | |
| use soroban_sdk::{ | |
| auth::{Context, CustomAccountInterface}, | |
| contract, contracterror, contractimpl, contracttype, | |
| crypto::Hash, | |
| token, | |
| xdr::ToXdr, | |
| Address, Bytes, BytesN, Env, TryIntoVal, Vec, | |
| }; |
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
| HTTP_PORT=11626 | |
| PUBLIC_HTTP_PORT=false | |
| NETWORK_PASSPHRASE="Public Global Stellar Network ; September 2015" | |
| DATABASE="sqlite3://stellar.db" | |
| # Stellar Pubnet Validators | |
| [[HOME_DOMAINS]] | |
| HOME_DOMAIN="stellar.org" |