All communication with the Signum XT Wallet is already implemented, so devs can be more productive when building their dApps.
List of Examples | Demo URL |
---|---|
Vanilla Javascript | View Demo |
Vanilla (Typescript) | View Demo |
React (Typescript) | View Demo |
@signumjs/wallets
is the package which provides tools to interact with wallets remotely.
- https://github.com/signum-network/signumjs
- https://signum-network.github.io/signumjs/modules/wallets.html
This project uses Vite to make development and deployment a breeze.
It is required that you have NodeJS (18+) installed on your machine, such you can take full advantage of
- Development with Live Reload (HMR)
- Optimized, Bundled, Minified static site
- Once cloned this repo and having NodeJS installed just:
- Access the example of your preference
- run
npm i
- run
npm run dev
- Open brower at "http://localhost:5173"
- Start hacking
Good reasons for using Vite, can be read here
If you choose the modern tooling method, just run npm run build
- it creates an optimized static site in ./dist
folder, that can be hosted anywhere.
SignumJS is entirely written in Typescript. Using modern tooling, i.e. decent IDEs like VSCode or WebStorm and package manager will give you full support of typing, making development with SignumJS easier and more productive.
The wallet stores the keys in an extra protected "backend" area of the extension and never provides any secret. The keys are encrypted by the users secret he provided when installed the extension. Between a DApp and the wallet only public information like accounts public key and current selected node host is transmitted.
Signum
This network refers to MainNet, it will make your dApp compatible with only MainNet networkSignum-TESTNET
This network refers to TestNet, it will make your dApp compatible with only TestNet network
- https://github.com/ohager/signum-xt-wallet-react-demo
- https://github.com/ohager/signum-xt-wallet-vanilla-demo