Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@hemergy/core-sdk
Advanced tools
import Hermegy from '@hemergy/core-sdk'
const signer = await ethersProvider.getSigner(); // ethers signer to be used in all endpoint calls as endUserAddress
const hemergy = new Hemergy({ baseURL: 'https://dev-core.hemergy.com', signer });
const account = await hemergy.createAccount(); // Create an account managed by the signer
const isKYCed = await hemergy.isKYCed(account); // Check if the account is KYCed
const project = await hemergy.createProject(account); // Create an project under an account. Note: the account should be KYCed
Function | Description |
---|---|
getContracts | Return the ether contracts to interact with |
getSignerAddress | Return the signer address |
createAccount | Create an account signer by the signer |
isKYCed | Check if the account is KYCed |
createProject | Create a project under a specific account |
addProjectBeneficiaries | Add beneficiaries to a project |
investInProject | Allow an investor to invest in a project |
divestInProject | Allow an investor to divest in a project |
approveAccountAmount | Approve an amount sent to an account |
mint | Get some amount in user account (Only available in dev and testnet environment ) |
getBalance | Get balance of user account (Only available in dev and testnet environment ) |
FAQs
TypeScript NPM Module for Hemergy Core
We found that @hemergy/core-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.