New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@martiandao/aptos-web3.js

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@martiandao/aptos-web3.js

Web3.js for Aptos

  • 1.0.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Introduction

Web3.js for Aptos

@martiandao/aptos-web3.js is an npm module which allows developers to communicate with the Aptos ecosystem.

Import

npm i @martiandao/aptos-web3.js

Supported functions

  1. createWallet: create a new wallet
  2. importWallet: import an existing wallet
  3. airdrop: airdrop test coins into an account
  4. getBalance: get the balance of an account
  5. transfer: transfer coins from one account to another
  6. getSentEvents: get Sent events of an account
  7. getReceivedEvents: get Received events of an account
  8. createNFTCollection: create an NFT collection
  9. createNFT: create an NFT
  10. offerNFT: offer an NFT to a receiver
  11. claimNFT: claim an NFT offered by a sender
  12. cancelNFTOffer: cancel an outgoing NFT offer

Tests

Mocha tests allow to test whether each function is working as it supposed to.

npm test

FAQs

Package last updated on 13 Apr 2022

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