Use the Phantasma Link protocol to connect a browser dApp to a wallet. The TS SDK exposes three layers of the same connection.
PhantasmaLink
phantasma-sdk-ts
Direct, low-level API
Phantasma Link
EasyConnect
Smaller wrapper + Carbon signing helper
@phantasma/connect-react
React-first wrapper + UI widget
React Wallet Connection
React app -> @phantasma/connect-react.
Non-React app -> EasyConnect.
Full control -> PhantasmaLink.
Connect to a wallet (Poltergeist or Ecto).
Build a script with ScriptBuilder.
ScriptBuilder
Call signTx (VM) or signCarbonTxAndBroadcast / signCarbonTransaction (Carbon).
signTx
signCarbonTxAndBroadcast
signCarbonTransaction
Confirm with getTransaction.
getTransaction
Last updated 23 days ago