Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@white-matrix/binance-wallet

Package Overview
Dependencies
Maintainers
7
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@white-matrix/binance-wallet

My webpack project

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
7
Created
Source

🚀 Welcome to your new awesome project!

This project has been created using webpack scaffold, you can now run

npm run compile

or

yarn compile

to bundle your application

注册 wallet

    const registerWallet = ctx.registerWallet({
        walletId: string,
        walletProvider: any,
        init: () => Promise<void | Error>,
        fetchNetWork: () => Promise<string>,
        fetchAccount: () => Promise<Wallet.IWalletAccount[]>,
        deploy: (
            data: Wallet.IDeployContractActionData
        ) => Observable<IEvent<EEventType>>,
        interact: (
            data: Wallet.IInteractContractActionData
        ) => Observable<IEvent<EEventType>>,
            })

    ctx.subscriptions.push(registerWallet);

    const config: PluginConfigurations = {
        pluginId: 'BinanceWallet',
        version: '0.0.1',
        type: PluginType.server,
        projectIds: [],
        active: true,
        description: {
            title: 'Binance Wallet Service',
            icon: '#CommentSolid',
            description: 'binance wallet service'
        }
    }

打包 wallet

package.jsonname修改为walletId,并在chain ide中添加相应的钱包数据

FAQs

Package last updated on 14 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc