Skip to content

nekonium/NukoMask

 
 

Repository files navigation

NukoMask Browser Extension

Forked from MetaMask. Compatible with nekonium nodes. Still under development.

The function of NukoMask is almost the same as MetaMask, but the following points are different.

  1. NukoMask connects to Nekonium network.
  2. The currency unit is NUKO.
  3. Mascot characters are different.He is Nukoja.
  4. Some Japanese expression is optimized for Nekonium.
  5. The name space of the web3 instance is different. NukoMask inserts web3 for DApps under the window.nekonium object.

There is no guarantee on the quality of software, so use it at your own risk. If you lose ETH or NUKO or Others, We can not compensate at all.

how to access injected web3

  const Web3 = require("@nekonium/web3");
  var web3=undefined;
  if(typeof window.nekonium !== 'undefined'){
      web3=new Web3(window.nekonium.web3.currentProvider);
  }

or

  const Web3 = require("web3");
  var web3=undefined;
  if(typeof window.nekonium !== 'undefined'){
      web3=new Web3(window.nekonium.web3.currentProvider);
  }

In case of using standard Web3, Nekonium's currency unit can not be used.

Support

Visit our Discord channel #NukoMask https://discord.gg/C8mJg44

Thanks

  • Thanks to MetaMask team, for creaing excellent product.
  • Thanks to @mike-theminer, first MetaMask port is successed.
  • Thanks to @‚±‚×‚Ë on Discord, making Nukoja.
  • Thanks to @ROZ on Discord, hosting server.

MetaMask Browser Extension

Build Status Coverage Status Greenkeeper badge Stories in Ready

Support

If you're a user seeking support, here is our support site.

Introduction

Mission Statement

Internal documentation

Developing Compatible Dapps

If you're a web dapp developer, we've got two types of guides for you:

New Dapp Developers

Current Dapp Developers

Building locally

  • Install Node.js version 6.3.1 or later.
  • Install local dependencies with npm install.
  • Install gulp globally with npm install -g gulp-cli.
  • Build the project to the ./dist/ folder with gulp build.
  • Optionally, to rebuild on file changes, run gulp dev.
  • To package .zip files for distribution, run gulp zip, or run the full build & zip with gulp dist.

Uncompressed builds can be found in /dist, compressed builds can be found in /builds once they're built.

Running Tests

Requires mocha installed. Run npm install -g mocha.

Then just run npm test.

You can also test with a continuously watching process, via npm run watch.

You can run the linter by itself with gulp lint.

Architecture

Architecture Diagram

Development

npm install
npm start

Build for Publishing

npm run dist

Writing Browser Tests

To write tests that will be run in the browser using QUnit, add your test files to test/integration/lib.

Other Docs

About

NUKOMASK (forked from metamask)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 72.2%
  • CSS 27.6%
  • Other 0.2%