
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@waves.exchange/provider-cloud
Advanced tools
Signer waves.exchange cloud auth provider
ProviderCloud developed by Waves.Exchange implements a Signature Provider for Signer protocol library. Signer enables easy deploy dApps based on Waves blockchain. User's private key and SEED phrase are encrypted and stored in Waves.Exchange, so your web app does not have access to them.
For now, signing is implemented for all types of transactions except exchange transactions.
To install Signer and ProviderCloud libraries use
npm i @waves/signer @waves.exchange/provider-cloud
For Windows, use the following format:
npm i @waves/signer '@waves.exchange/provider-cloud'
Add library initialization to your app.
import Signer from '@waves/signer';
import { ProviderCloud } from '@waves.exchange/provider-cloud';
const signer = new Signer({
// Specify URL of the node on Testnet
NODE_URL: 'https://nodes-testnet.wavesnodes.com'
});
signer.setProvider(new ProviderCloud('https://testnet.wx.network/signer-cloud'));
import Signer from '@waves/signer';
import { ProviderCloud } from '@waves.exchange/provider-cloud';
const signer = new Signer();
signer.setProvider(new ProviderCloud());
import { ProviderCloud } from '@waves.exchange/provider-cloud';
const provider = new ProviderCloud('https://testnet.wx.network/signer-cloud?env=testnetwxnetwork');
Now your application is ready to work with Waves Platform. Let's test it by implementing basic functionality. For example, we could try to authenticate user, get his/her balances and transfer funds.
const user = await signer.login();
const balances = await signer.getBalance();
const [broadcastedTransfer] = await signer
.transfer({amount: 100000000, recipient: 'alias:T:merry'}) // Transfer 1 WAVES to alias merry
.broadcast(); // Promise will resolved after user sign and node response
const [signedTransfer] = await signer
.transfer({amount: 100000000, recipient: 'alias:T:merry'}) // Transfer 1 WAVES to alias merry
.sign(); // Promise will resolved after user sign
FAQs
ProviderCloud for Signer
We found that @waves.exchange/provider-cloud demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.