Babylon Public Test Environment

Babylon Public Test Environment (Babylon PTE or PTE) is the first major release of the Babylon roadmap. It features a simulated, centralized testing environment that allows developers to publish Scrypto blueprints and call instantiated components through transactions. PTE provides a minimum set of tools and APIs to enable experimentation with full-stack DApp development.

pte overview

PTE API Service

PTE API Service is cloud-based service that maintains a shared, simulated Radix ledger upon which transactions are applied.

This service offers two APIs:

  • REST API - An HTTP-based REST API for web clients and PTE browser extension;

  • Socket API - A TCP-based protocol, dedicated for PTE Terminal.

The full specification of the REST API can be found here.

PTE Browser Extension

PTE Browser Extension is a proof-of-concept Chrome extension that signs DApp-created manifests using a local key pair and submits transactions to PTE API service.

Follow the Getting Started guide for installation instruction.

PTE Terminal

PTE Terminal is a command-line tool that connects to the PTE API service while exposing the same interface as resim.

You can find more information on this page.

PTE Typescript SDKs

For DApp developers, three Typescript/Javascript SDKs are provided:

  • pte-sdk - An SDK for constructing manifest and interacting with PTE service;

  • pte-browser-extension-sdk - An SDK for interacting with PTE browser extension;

  • pte-manifest-compiler - A library for compiling a manifest into a transaction.

All are published to npm repository.