Phantasma Deposit is a decentralized application (dApp) that empowers users to easily swap tokens from Ethereum or Binance Smart Chain to Phantasma.
The project utilizes:
- Ethers.js for Ethereum and BSC interactions
- Svelte for the frontend user interface
- Phantasma-ts for seamless Phantasma blockchain integration
These instructions will guide you on setting up and running the project on your local machine for development and testing purposes.
- Node.js and npm: You need Node.js and npm installed on your local machine. If not installed, download them here.
- Clone the repository:
git clone git@github.com:phantasma-io/Phantasma-Deposit.git
- Move into the project directory:
cd Phantasma-Deposit
- Install the necessary project dependencies:
npm install
(or pnpm install
or yarn
)
After the above steps, start the project by running:
npm run dev
The project should now be accessible at localhost:5173 (or your specified port).
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.
To deploy your app, you may need to install an adapter for your target environment.
Contributions are welcomed! Check out the Issues tab to see what's needed, or create a new issue if you've found a bug or have a feature request.
This project is licensed under the MIT License - see the LICENSE.md file for details.