Pendulum Docs
  • Learn
    • Welcome to Pendulum
    • Our Journey
    • Litepaper
    • Tokenomics
      • Token Utility
      • Unlocking Vesting Tokens
    • Roadmap
    • Grants Received
  • Build
    • Introduction
    • Network Parameters
    • Build Environment
      • Local relay chain setup
      • Local Pendulum chain setup
      • Pre-Configured Pendulum
        • Install
        • Configure
        • Launch
        • Sub-commands
          • export-genesis
          • generate-specs
          • generate-docker
      • Foucoco (testnet)
      • Troubleshooting
    • Developing dApps
      • ink!
    • Node Operators
      • Collators
        • Collators List
        • Set up Collator
          • Hardware Requirements
          • Ubuntu Installation
          • Docker Installation
          • Keys Management
          • Become a Collator
          • Node upgrade instructions
      • Spacewalk Vaults
    • Integrations
      • Indexers
      • Oracles
      • Wallets
    • Spacewalk (Stellar bridge)
      • User
        • Spacewalk Step-by-step guide
          • Asset Redemption Post-Vault Liquidation
      • Operating a Vault client
        • Getting Started
          • Testing it locally
            • Building pallets and testchain
            • Creating test accounts
            • Testing the vault client
        • Usage
          • Issue assets
          • Redeem assets
        • Collateral and Liquidation
          • Recovering a vault after liquidation
        • Fees, Costs and Incentives
        • Vault rewards
          • Claiming Vault rewards
        • Troubleshooting
          • Generating metadata
    • Forex AMM
      • Architecture
      • Swap User Guide
      • LP User Guide
        • Swap Pools
        • Backstop Pool
        • Cross Interaction
      • Coverage Ratio and Slippage
      • Deployment Parameters
      • Security and Audits
    • Technical FAQ
    • Status reports
      • 22-10-11 Foucoco stopped after runtime upgrade
  • Community
    • Crowdloan
      • Sign T&Cs for rewards
    • Staking
      • Choosing a Collator to Stake with for $PEN Staking Rewards
      • Delegation
      • Rewards
      • Further Operations on Delegators
    • Testnet Faucet
    • On chain identity guide
    • Cross-chain transfer KSM
    • Using Ledger
    • Governance
    • PEN and AMPE Wallets
    • Add PEN/DOT Liquidity to StellaSwap
    • Pendulum Grant Program
    • Amplitude Grants Program
    • Ambassador Program
    • Ambassador Bounties
  • Resources
    • FAQ
    • Links
      • Website
      • Github
      • Social Media
    • Audits
Powered by GitBook
On this page
  • Prerequisite
  • Stellar Configuration
  • Adding a trustline for your bridged asset

Was this helpful?

Edit on GitHub
  1. Build
  2. Spacewalk (Stellar bridge)
  3. Operating a Vault client
  4. Getting Started
  5. Testing it locally

Creating test accounts

PreviousBuilding pallets and testchainNextTesting the vault client

Last updated 1 year ago

Was this helpful?

Prerequisite

The vault client needs access to two accounts:

  • a Substrate account;

  • a Stellar account.

While testing, you can use a set of default development accounts which are pre-funded in the genesis configuration of the chain spec.

In order to do so, you can run the vault with the "alice" keyring:

 # These paths assume you are in the root of the provided github repo
 cargo run --bin vault --features standalone-metadata -- --keyring alice [...]

Stellar Configuration

On the stellar account, in order to issue tokens it is necessary to have a trustline to the assets you want to bridge. For the testnet, the asset we test with is the following USDC asset:

GAKNDFRRWA3RPWNLTI3G4EBSD3RGNZZOY5WKWYMQ6CQTG3KIEKPYWAYC:USDC

On Stellar, we need to have a funded testnet account that has a trustline to our pre-configured USDC testnet asset. The issuer of this testnet asset was chosen arbitrarily but is now hard-coded so it is important that you use this asset. To create and fund this Stellar account as well as for adding the trustline you can use Solar wallet.

Adding a trustline for your bridged asset

XLM tokens can simply be bridged without any setup from the testnet account

If you want to bridge assets besides XLM you first have to add a trustline for that asset to your Stellar account. You can follow the to setting up a Trustline with the following USDC asset if you want to test issuing USDC:

GAKNDFRRWA3RPWNLTI3G4EBSD3RGNZZOY5WKWYMQ6CQTG3KIEKPYWAYC:USDC

If you are using Solar wallet, you can find instructions on how to add a trustline .

stellar guide
here