Plugins
Time Advancement
BuildBear Time Advancement is a service that allows you to explore the blockchain.
Overview
Manipulate advanced time in your Sandbox by manually setting timestamps to simulate and test smart contracts across various time frames.
Once you advance, you cannot revert to the previous time.
Features
- Custom Timestamp Adjustment - Advance the timestamp in your Sandbox by entering a specific date and time.
- Flexible Input Formats - Accepts timestamps in multiple formats for ease of use:
- Human-readable format (e.g.,
31/08/2024, 22:54
) - Unix timestamp (e.g.,
1725086040
)
- Human-readable format (e.g.,
Installation
- Log in to your BuildBear account and navigate to the Plugin Marketplace.
- Search for the "Time Advancement" Plugin and click "Install".
How to Use
-
Navigate to the Time Advancement section in your Sandbox settings.
-
Enter the new timestamp using one of the supported formats.
-
Click "Advance Time" to update the blockchain's time context.
Use Cases
- Mock Protocol Behavior - Test and simulate various DeFi protocols by advancing the time over extended periods, simulating weeks, months, or years in seconds.
- Stress Testing - Evaluate protocol performance under simulated future time scenarios. Replicate key lifecycle events to monitor contract behavior and identify issues early.
Conclusion
Take control of time in your Sandbox with the Time Advancement feature, allowing you to simulate and test under various temporal conditions for enhanced smart contract development and debugging.