OneChain Labs SDKs

One chain wallet js sdk

The wallet SDK provides hone zklogin login and basic transfer functions, and gas payment for any transaction type

Installation

For use in Node.js or a web application

npm install @onelabs/wallet --save

For use in a browser, without a build system

<!-- Development (un-minified) -->
<script src="https://unpkg.com/@onelabs/wallet@latest/lib/index.iife.js"></script>
 
<!-- Production (minified) -->
<script src="https://unpkg.com/@onelabs/wallet@latest/lib/index.iife.min.js"></script>

Testing

npm run test

On this page