Web Wallet for Beam blockchain
  • TypeScript 98.4%
  • JavaScript 0.9%
  • HTML 0.5%
  • Shell 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-05-19 17:10:28 +03:00
.github/workflows Update main.yml 2021-12-09 11:09:56 +03:00
src branch name removed 2022-10-27 16:39:19 +03:00
.babelrc move wallet process in background 2021-09-14 15:45:05 +03:00
.eslintrc auth flow logic rework finished 2021-11-27 17:04:34 +02:00
.gitignore change seed paste format 2021-09-30 15:42:17 +03:00
.prettierrc prettier fix 2021-11-21 18:20:02 +02:00
images.d.ts prettier fix 2021-11-21 18:20:02 +02:00
package-lock.json #269 fix:the address type on the send confirmation screen 2022-04-18 12:03:24 +03:00
package.json wasm version revert 2022-10-27 13:17:15 +03:00
README.md Update README.md 2023-05-19 17:10:28 +03:00
tsconfig.json fix menu styles & send screen select/max + refactor icons 2021-10-13 13:44:46 +03:00
update_version.sh fixed update version script 2022-06-10 09:42:48 +03:00
webpack.config.js redux debugger midelware added 2021-11-18 15:48:54 +02:00
yarn.lock wasm version revert 2022-10-27 13:17:15 +03:00

Beam Web Wallet

Beam Web Wallet is fully functional wallet for Beam blockchain implemented as Chromium extension

Building web wallet extension

npm install
npm run build

Enable developer mode in Chrome chrome://extensions/ Import unpacked extension from ./dist

Web wallet integration with Beam dApps

Utils.initialize({
  "appname": "DAPP NAME",
  "min_api_version": "6.2",
  "headless": false,
  "apiResultHandler": (error, result, full) => {
    console.log('api result data: ', result, full);
  }
}, (err) => {
    Utils.download("./PATH_TO_SHADER.wasm", (err, bytes) => {
        // subscribe to the state change event
        Utils.callApi("ev_subunsub", {ev_system_state: true}, 
          (error, result, full) => {
          
          }
        );
    })
});
Utils.callApi("METHOD_NAME", PARAMS, (error, result, full) => {});
  • Invoke contract methods
Utils.invokeContract("role=manager,action=view,cid=" + CID, (error, result, full) => {});

Examples:

DAO Voting App