We’re pleased to announce that Radix Alexandria is launching on December 15, and that means the first release of Scrypto and Radix Engine v2 to developers. Let’s take a look at what’s coming in just a month’s time…
What is Alexandria?
Followers of Radix know that we have a sequence of planned technology releases: Olympia → Alexandria → Babylon → Xi’an and beyond.
Radix Olympia marked the launch of the Radix public network “mainnet”.
Alexandria, however, is a little different; it is not a mainnet update. Instead, Alexandria delivers the first release of a new smart contract development experience with Scrypto and Radix Engine. Developers will be able to use a set of Scrypto tools on their own computer to start experimenting with what it’s like to build and run DeFi dApps using Scrypto.
Babylon is where we bring Olympia and Alexandria together, with a substantial update to mainnet to make it possible to deploy Scrypto code to the network – in short, bringing DeFi capability to Radix.
Developers can think of Alexandria as “early access” – their chance to become Scrypto experts, help shape the development of Scrypto with their feedback, and get their own DeFi dApps ready to go to be the very first deployed to Radix at the Babylon release.
We’re super excited to get it into developers’ hands.
What is included with Alexandria for developers?
Alexandria brings the release of an early form of Scrypto and some associated tools on our Github repo – all open source. Scrypto itself is essentially a set of libraries and extensions to Rust that (when run within the Radix Engine environment) provide the asset-oriented features that define the Scrypto experience of writing smart contracts – or, as we call them, blueprints and components.
But the Scrypto language and compiler alone aren’t enough to really start building. Scrypto components are intended to be run within a shared network environment where they can be used via transactions and interact with accounts, resources, and even other components. So to meaningfully develop and test Scrypto blueprints and components, the developer needs some way of “deploying” that code and interacting with it.
Alexandria provides a simulator of such an environment that developers can use to quickly build, test, and iterate Scrypto code – all on their local computer. This includes the ability to deploy Scrypto code to a simulated “ledger” that uses your local filesystem, and a simulated Radix Engine to run (and validate) Scrypto code as if it were running on a network. Alexandria also includes tools to push simulated transactions through Scrypto components, as well as make it convenient to do things like create accounts and resources (ie. tokens, NFTs, and badges).
All of this is what is included in the Scrypto Github repo for developers to start working with. To get a bit more technical, that repo will include:
- A Rust cargo file for Scrypto, including the libraries that provide Scrypto’s syntax and data types, and the Scrypto extension to the Rust compiler
- Command line tools for development, including resim – providing commands to interact with the local Radix Engine simulator and filesystem-based ledger – and scrypto – a convenience wrapper for cargo to do Scrypto-specific things
- Early Scrypto documentation, including a getting-started tutorial on Scrypto basic concepts, Scrypto code examples, language reference, and more
Beyond simply having a look at Scrypto syntax, these tools let a developer actually begin building and testing real DeFi functionality – and do so right away while Scrypto continues to improve and evolve as we work toward on-network Scrypto at Babylon. We expect that any code developed with these tools now with Alexandria will be deployable to mainnet with little-to-no changes at Babylon.
Can developers get started with Scrypto now?
If you simply can’t wait for Alexandria’s launch – we’ve got some ways you can get ready.
First, our series of blog articles describe the need for Scrypto, how it’s different from today’s smart contract paradigm, and the asset-oriented concepts it uses. We highly recommend starting here:
- The Problem with Smart Contracts Today
- Radix Engine v2: An Asset-Oriented Smart Contract Environment
- Scrypto: An Asset-Oriented Smart Contract Language
If you want a little more of the big picture about why Scrypto matters, why DeFi matters, and about our multi-year technology roadmap you might check out our keynote presentation from our recent Alexandria Preview Event (APE if you’re feeling cheeky).
Okay, but what about real code, you say? You got it. At APE, we released a preview form of Scrypto and the other Alexandria tools on Github that you can start working with right away if you’re feeling so bold. Definitely start with the APE presentation from our CTO Russell Harvey that will lead you through installing and using Scrypto to build and run your first blueprints and components.
Want a quick primer on DeFi apps with examples? We’ve put together a quick DeFi Universe doc to get you started – and we’re working on a real Radix Ecosystem page for Alexandria launch that will begin to feature community builds.
Then, we highly encourage developers to sign up for our Radix Developer Program. We’re just getting started, but the developer program will ramp up early next year with developer workshops, hackathons, and lots of info about Scrypto development. Just provide your active Github ID and answer a few questions about your background as a developer – and for the first 500 to sign up, we’ll even send $25 of XRD tokens (on our live Olympia mainnet).
And lastly, join the community! We’d love to see you on the #scrypto channel of our Discord server, or on the community-run Radix Developers Telegram channel.
We’ll see you on December 15!