Skip to content

siriuscore/sirius-web-wallet

Repository files navigation

A web wallet for Sirius

Running the web wallet for development/production

Clone this repository:

git clone https://github.com/siriuscore/sirius-web-wallet

Cd into the folder and install dependencies

npm install

Build the wallet for production

npm run build

Run the wallet

npm run start

Using the Web Wallet

Export private key from the Sirius desktop wallet

You will need your private key if you want to import the desktop wallet into the web wallet. With the desktop (Sirius-Core) wallet open, navigate to the Help-->Debug window and then select the Console tab. If your wallet is locked you need to unlock it first for 5 minutes using this command.

walletpassphrase "your-wallet-address" 300

Then you can export your current wallet private key.

dumpprivkey your-private-wallet-address

Restoring a web wallet to the desktop (Sirius-core) wallet

You can also restore the web wallet address back on the core wallet (desktop) simply by importing the private key found on the wallet info page. Start the Console in the desktop wallet in the Help-->Debug window.

importprivkey your-private-wallet-address

Import address into the web wallet

First open the web wallet in your browser. If you already have a Sirius wallet you can import the wallet in one of 3 ways:

  • From mnemonic phrase: restores an address from another wallet using 12 seed words
  • From a WIF: restores an address from a private key
  • From a key file: restores an address from a Key File created by the web wallet

You will be prompted to enter the relevant information based on the method you choose.

If you don't have a Sirius wallet yet, you can create a new address in one of two ways:

  • With a generated key file: creates a Sirius address and downloads a Key File (containing your encrypted private key)
  • With a generated mnemonic phrase: creates 12 random seed words and a Sirius address

You will be prompted to enter a password when creating a new wallet with the pass phrase or key file depending on which method you chose. KEEP THIS INFORMATION SAFE! If you lose your password, key file, or pass phrase you will LOSE YOUR ADDRESS and all the funds that is currently in it. The only way to relaunch/restore a wallet created with the “Generate new Wallet” option is to “Restore from Key File” by loading the Key File and entering the password. Make sure you save this information in a safe place. The password is specific to the key file or pass phrase. This password is not stored on the blockchain.

General use of the web wallet functions

Once you have restored your wallet, the transactions functions will become available in the menu on the left.

Before you send any coins to the wallet make sure you can close and reopen the wallet with the same receive address. Using the menu option Dump as Key File and Restore from Key File is a safe way to do this. Using the menu option to restore from seed words to reopen the wallet is riskier because entering a typo for the seed words or password will create an unexpected random address. In order to receive funds you need to supply your public address (first line in wallet info) to the sender. Wait a few minutes for the next block to be published and reload the web wallet to see the new balance. You can also click on the menu option View Wallet Txs to see the receiving transaction. Always double check that you are using the correct address when sending or receiving funds as sending funds to the wrong account cannot be retrieved once processed.

View Wallet Info

Contains the balance and address information for your wallet.

Fields:

  • Address: Your public address
  • Balance: Your current balance
  • Unconfirmed balance: Pending balance not yet confirmed on the blockchain
  • Private key: Your private key, hidden as standard

View Wallet Transactions (Txs)

Displays the last 10 transactions for the loaded SIRX address.

Send

Used to send funds to another account.

Fields:

  • Address: The receiving address for the transfer
  • Amount: The amount to be transferred
  • Fee: The fee charged to complete the transaction (default can be left at 0.01)

Request Payment

Used to send a payment request to another account.

Fields:

  • Address: The address that will send you the funds
  • Amount: The amount to be received
  • Message: A message to the sender for the transaction
  • QR code: An easy to scan QR code for the receiving transaction

Dump As Key File

When creating a key file to export your wallet you will be prompted to enter a password. This password is specific to the file being created. The password is not stored on blockchain and is specific to the key file being generated and not your address. Once a password has been entered you can select the green download button to create and download the file to your local drive. You need to remember this password if you ever want to restore your wallet from the Key File!

About

A secure web wallet for SIRX and ERC20 tokens on Sirius

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published