Soroban smart contracts
Stellar TimeLock's time locks, vaults and vesting are enforced by Soroban smart contracts on the Stellar network. These are the contracts the wallet uses, with their IDs on each network.
Public source
The source for the Flexible Vesting and HTLC contracts is public at github.com/stellartimelock/stellartimelock-contracts, licensed under GPL-3.0. You can read it, build it and run the tests yourself. The wallet app itself is not open source.
- Flexible Vesting: daily vesting with skip today, double today (at most twice a week, taken from tomorrow or from the end) and an optional wait before a double. No early withdrawal, no admin, no upgrade. Testnet only for now: CA7F6IZ57GRNPJZO235Z6PG4EHXN7YV72FA6TLF4WKR2RM4QO5BKF6CM
- HTLC: hash time-locked XLM. The recipient claims with the secret before the deadline; the sender gets a refund after it. No admin. Mainnet: CDPWT5VY4YFBUKUTZ7LKQNQ3FVJE5VSKJJD4LFBLUY4VSYYSHKAUTRCH
Other deployed contracts
The source for these contracts is not published. Their deployed code can be checked on-chain through a Stellar explorer.
- XLM Vault, mainnet: CCWDMIPD4ZTTIV5LR53PD325MS6VRGF3WJEJRKNCIKK3G7H6AXJ3UE4F
- XLM Vault, testnet: CBIXRLC5GQ6O5UUJFVRIWZD77P5LUVJG3XGGUVS4EWHAJ6LXQZNKH35Z
- Advanced Vaults (cooling-off, vesting, dead man's switch), mainnet: CAPXQVGAD2TZNEDKZZDX3YKUBHQ2UI2XDI5AND6Z35D2YY2NZ7AJV6LM
- Advanced Vaults, testnet: CAHAQAN6KYAQCJ34W6CVZJGMWRXKCZFHM32F37E4EFEIIC4636TD74BV
Coming soon
Flexible Vesting is coming to the app, and v2 adds XRP and Solana. See what's coming in v2.
Security
These contracts have not had a third-party audit. To report a problem, email StellarTimeLock@gmail.com.