The all-in-one Phantom Mult-Chain Sandbox Monorepo. This react app contains the following sandboxes:
This repository can be used to build the monorepo react app, or standalone react apps for any of the above sandboxes with minimal dependancies.
The react app is hosted on https://phantom-sandboxes.vercel.app/
Install the following dependancies: Node.js and npm Yarn React
To build the monorepo locally:
git clone https://github.com/0xproflupin/phantom-sandboxes.git
cd phantom-sandboxes
Installs all dependancies in package.json
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Run the script to create a react app for any of the available sandboxes with only those dependancies that are required for that sandbox:
For example, to create a react app for the sol-sandbox
in `/src/sandboxes/
yarn create-app sol-sandbox
This will create a folder src/sandbox_react_apps/sol-sandbox_react_app
which will be a standalone react app for the Solana sandbox. Also, all the dependancies of this sandbox will be already installed using the above script.
To run the newly created standalone sandbox, run:
cd src/sandbox_react_apps/<sandbox-name>_react_app
yarn start
This will open up the react app on http://localhost:3000.
You can follow the same steps to build a standalone react app for any sandbox and bootstap your project!