hedge-web3 v0.2.33
Hedge Web3 API
Documentation for the Hedge Web3 TypeScript API.
Documentation
Documentation can be found here: https://web3-docs.hedge.so/
Installation
TypeDoc runs on Node.js and is available as a NPM package.
npm install hedge-web3 --save-dev
Usage
To create a vault, import the package.
const HedgeWeb3 = require('hedge-web3')
To create a vault and deposit 3 SOL:
const vaultPublickey = await HedgeWeb3.createVault(connection, ownerPublicKey, LAMPORTS_PER_SOL * 3, LAMPORTS_PER_SOL * 1.2)
Contributing
This project is maintained by a community of developers. Contributions are welcome and appreciated. You can find Hedge Labs on GitHub; feel free to open an issue or create a pull request: https://github.com/Hedge-Finance/hedge-web3
License
Copyright (c) 2021 Christopher Coudron Copyright (c) 2021 Hedge Labs Ltd. Licensed under the Apache License 2.0.
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago