The Pendulum prototype is meant to be run on a single node, which acts as the bridge between Stellar and the Pendulum network itself. The network is composed of that same node also.
Substrate already provides a lot of the mechanisms needed for a full working network with several nodes, validators, etc. So this proof of concept is only focused on the bridging.
To be able to test the node and the UI, you can use our deployed version:
Be aware that the website might take 20 seconds to load.
Note: pointing to the node address from the regular polkadot js explorer won't work, you need to use our explorer.
Follow the steps in the section Running the demo to test the Stellar Pendulum bridge and a smart contract AMM yourself.
Alternatively, we show you how you can deploy your own nodes and explorer to tweak them as you want ;)
This description applies to both
We recommend that you use Solar to interact with the Stellar side of your accounts
Currently you can only bridge assets that are supported by our escrow account (more precisely, the escrow account requires trustlines for assets that are to be bridged between Stellar and Pendulum). Our escrow account has some trustlines already set for testing. You can check them on https://stellar.expert/explorer/testnet/account/GALXBW3TNM7QGHTSQENJA2YJGGHLO3TP7Y7RLKWPZIY4CUHNJ3TDMFON.
The ones that we will use in this documentation are:
Set the trustlines for the assets you want to bridge for your Stellar account (step by step guide on how to set trustlines for custom assets in Solar).
Fund your account with those assets. For this purpose use the asset issuer as a faucet. Here we describe how to mint tokens using Stellar Laboratory.
Build Transactionand paste the issuer of the above two assets as a
Source Account. Then click on the button
**Fetch next sequence number for account starting with ...**
Destinationenter the account Id of your Stellar account. Then select
Alphanumeric 4in the field
Assetand enter the
Issuer Account ID(
GAKNDFRRWA3RPWNLTI3G4EBSD3RGNZZOY5WKWYMQ6CQTG3KIEKPYWAYC) of either one of the assets you want to bridge. Enter any amount, e.g.,
1000. Optionally click on "+ Add Operation" and add another payment operation for another asset.
Sign in Transaction Signer, which leads to another page. In the field
Add Signeradd the secret key of the asset issuer:
SA4OOLVVZV2W7XAKFXUEKLMQ6Y2W5JBENHO5LP6W6BCPBU3WUZ5EBT7K. Afterwards click on
Submit in Transaction Submitter.
Submit Transaction. After a few seconds a green message "Transaction submitted!" will be displayed.
Note: only those assets listed above are currently supported by the escrow account and can be bridged to Pendulum prototype.