GithubHelp home page GithubHelp logo

ryun1 / cip95-demos-wallet Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 13.59 MB

❗ Do not use this wallet to store funds. This wallet's security is compromised. ❗

License: MIT License

JavaScript 97.15% HTML 1.79% CSS 1.07%

cip95-demos-wallet's Introduction

⚠ WARNING ⚠ WARNING ⚠ WARNING ⚠ WARNING ⚠ WARNING ⚠ WARNING ⚠ WARNING ⚠

❗ Do not use this wallet to store funds. This wallet's security is compromised. ❗

⚠ WARNING ⚠ WARNING ⚠ WARNING ⚠ WARNING ⚠ WARNING ⚠ WARNING ⚠ WARNING ⚠

CIP-95 demos Mock wallet

This is a mock wallet, based on Nami.

Tag Feature Details demos dApp Tag
1.7.0 Here 1.7.0+
1.8.0 Here 1.8.0+
1.8.1 Here 1.8.0+
1.8.2 Here 1.8.0+

CIP-95/Conway Features Supported Notes

1.8.2

  • CSL 12 beta 2
  • Default new wallets to SanchoNet
  • Fixed link to sancho cexplorer

1.8.3 (In progress)

  • .cip95.signData()

To Develop

Create secret files

  1. Make development secrets file, from testing secrets template.
cat secrets.testing.js > secrets.development.js
  1. Make production secrets file, from testing secrets template.
cat secrets.testing.js > secrets.production.js
  1. Go to Blockfrost and make a free workspace key. You can make one free workspace for one network that can do 50K requests a day. I just made one for PreProd network.

  2. Open secrets.development.js and secrets.production.js and paste in your correct key from Blockfrost.

DON'T place keys into secrets.testing.js because this is not ignored by git!

code secrets.development.js secrets.production.js

Start Dev Env

  1. Use an old node version, I know, im sorry.
nvm install 14.1.0
  1. Install modules, you'll probably have to fight with node here due to conflicts.
npm install
  1. Try to start
npm start

To Test Wallet

Build wallet

If you are running from npm start you'll already have a build otherwise:

npm run build

Load extension into Chrome (for first time)

  1. In chrome go to chrome://extensions/, in the top right enable developer mode.

  2. Then press Load unpacked and select your /build folder.

Load into Chrome (refresh for new build)

  1. In chrome go to chrome://extensions/, and on the wallet press the reload button to refresh it.

demos Etymology

The common people of an ancient Greek state. The populace of a democracy as a political unit.

cip95-demos-wallet's People

Contributors

ryun1 avatar

Stargazers

 avatar

Watchers

 avatar

cip95-demos-wallet's Issues

CIP-95 Keys only derived for account 0

  • Currently Demos is setup so regardless of wallet accounts, only account 0's DRep and Stake keys can be passed through the CIP-95 endpoints.
  • We should probably update this so we can test for multi-account setups.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.