Coder Social home page Coder Social logo

web-wallet's Introduction

web-wallet

How to use the Web Wallet Part 1 - Create a NAS Wallet Part 2 - Sending NAS and ATP from your Wallet Part 3 - Signing a Transaction Offline Part 4 - View Wallet Information Part 5 - Check TX Status Part 6 - Deploy a Smart Contract Part 7 - Call a Smart Contract on Nebulas

Nebulas wallet for the web. Nebulas users can use it to send transactions and submit smart contracts.

Nebulas already has a JavaScript library neb.js that implements address generation, transaction signing, and submission. Web-wallet implemented using this library.

Feature list

  • generate nebulas address/keystore;
  • send transaction (support NAS,NAX,ATP,NAT);
  • send offline transaction;
  • view address/keystore info;
  • view transaction status & info;
  • deploy/call smart contract;
  • choose nebulas network(Mainnet, Testnet etc.).

TODO list

  • Multiple wallet address import methods.

Thanks to @luoman for implementing a pre-version naswallet for us.

Contribution

We are very glad that you are considering to help Nebulas Team, including but not limited to source code, documents or others.

If you'd like to contribute, please fork, fix, commit and send a pull request for the maintainers to review and merge into the main code base. If you wish to submit more complex changes though, please check up with the core devs first on our slack channel to ensure those changes are in line with the general philosophy of the project and/or get some early feedback which can make both your efforts much lighter as well as our review and merge procedures quick and simple.

Please refer to our contribution guideline for more information.

Thanks.

License

The go-nebulas project is licensed under the GNU Lesser General Public License Version 3.0 (“LGPL v3”).

For the more information about licensing, please refer to Licensing page.

web-wallet's People

Contributors

bibibong avatar chengorangeju avatar fzxa avatar includeleec avatar jaymansfield avatar joelwangusa avatar nebulashub avatar ottokafka avatar pingneb avatar qywang2012 avatar wangzimei avatar yupnano avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

web-wallet's Issues

查看钱包信息的时候403 Forbidden

按照教程进行操作,查看信息的时候出错:

会请求 https://testnet.nebulas.io/v1/user/accountstate 这个网址,但是返回403 而且还有:

OPTIONS https://testnet.nebulas.io/v1/user/accountstate 403 ()
viewWalletInfo.html:1 Failed to load https://testnet.nebulas.io/v1/user/accountstate: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP status code 403.

貌似是限制了跨域?

Chrome extension: cannot open JSON file using the file browser

When I try to open the wallet using the Chrome extension, the embedded web page dissapears (or is closed), so, once I select the file, nothing happens. I think this happens because, once the extension loses its focus, it is closed by the browser.

This issue doesn't exist on the web wallet.

testnet 执行函数参数错误

合约里面两个函数

    registerUser(name) {
        let realName: string;
        if (!name || name.trim() === "") {
            realName = name;
        }  else {
            realName = "Danis";
        }
        this.users.set(Blockchain.transaction.from, realName);
    }

    test() {
        return "Call Test Function Succeed";
    }

我部署合约到testnet,然后用web-wallet调用函数test()没有问题。
2018-05-04 3 17 56
但是我调用需要传入参数的registerUser()就遇到了问题。
我不传入参数,那么报错"value must be string"。
2018-05-04 3 18 20
但是我在参数填入"Jack",输出则为空的花括号。
2018-05-04 3 18 36

Please add a `payload` field to the web wallet UI

Hey guys, great job!

I found you have a payload param inside your code here:

// file: go-nebulas/core/pb/block.proto

message Data {
    string type = 1;
    bytes payload = 2;
}

message Transaction {
    bytes hash  = 1;
    bytes from = 2;
    bytes to = 3;
    bytes value = 4;
    uint64 nonce = 5;
    int64 timestamp = 6;
    Data data = 7;
    uint32 chain_id = 8;
    bytes gas_price = 9;
    bytes gas_limit = 10;

    uint32 alg = 11;
    bytes sign = 12;
}```

could you add this field to your web wallet?

Unable to send NAS.

I claimed some NAS here but when I send NAS to another address it alert Error: invalid address . I tried to send offline and I get another message is RangeError: private key length is invalid

Panel for dstaking shows network error

Observed behaviour

To reproduce this issue open NAS Nano wallet on Android version 2.6.4 and click on the orange dstaking header. The following error is shown

Screenshot_20191122-184125

Expected behaviour

We should be able to see the dstaking dashboard like in previous versions of the NAS Nano app

连接本地网络报错

为什么连接本地网络导入钱包文件后,点击解锁,老是报{error: "Method Not Allowed"}
错误呢,测试网络和主网没问题
fc4ab7ca-3316-49ae-acc5-d43fe6d9509f

这也太Low了。。。。

可以生成个桌面应用
至少可以打个包
至少可以写个命令行启动

要不要改改再发?

NAS Web Wallet returns "Error: Unknown error" whenever I try to send a transaction

I successfully generate the Raw and Signed Transaction codes, as well as the QR, but when I click to send the transaction, the above-mentioned error message occurs.

I've tried several browsers: Firefox, Brave, Safari and even Edge.

It's interesting to note that the error message appears before in Firefox, Brave and Edge, e.g., when I try to unlock the wallet or input "To Address".

What might I be doing wrong?

发现一个钱包的bug。

查看钱包信息时,输入完地址和密码后,连续点击“解锁”按钮,下面的二维码地址会重复append,而不是进行replace。

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.