🛠ïļSetup

First thing to install in your project is the Phantasma-ts, so you can build a quick connection to your desired blockchain! ðŸĪŠ

Installation

On your typescript based Project

Use the package manager npm to install phatasma-ts.

npm install phantasma-ts

I know, is that easy to install it.

On your static HTML page

Add this to the header, and you should be ready to use all of the Library features.

<script src="https://cdn.jsdelivr.net/gh/phantasma-io/phantasma-ts/html/phantasma.js"></script>

Just that? Yes, that's it.

Backend or Frontend?

For using it in the backend, you should take a look at this:

⚙ïļpageBackend

For using it in the frontend and connect to the wallets (Poltergeist/Ecto), take a look at this:

ðŸ–ĨïļpageFrontend

Last updated