Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
smartweave-verto
Advanced tools
Uses lazy-evaluation to move the burden of contract execution from network nodes to smart contract users. Currently, SmartWeave supports JavaScript, using the client's unmodified execution engine.
Version: 0.4
For information on how the contracts execute, how to write one, and the API, read the Contract Guide and check some of the examples
For information on how to create a new Profit Sharing Token (PST), you can read the PST Creation Guide.
For a description of the SDK methods available, you can check here
npm install -g smartweave
You can deploy a contract as follows:
smartweave create [SRC LOCATION] [INITIAL STATE FILE] --key-file [YOUR KEYFILE]
Or, using an existing contract source that is already deployed but with a new initial state and contract id:
smartweave [SRC TX] [INITIAL STATE FILE] --key-file [YOUR KEYFILE]
Check its state:
smartweave read [CONTRACT TXID]
Interact with it:
smartweave write [CONTRACT TXID] --key-file [YOUR KEYFILE] \
--input "[CONTRACT INPUT STRING HERE]"
When interacting with the contract, the value passed to --input must be valid json. Typically an object is used:
--input '{ "function": "transfer", "qty": 1984 }'
To test a contract interaction without writing it to the network, append --dry-run
to your --interact
call.
This project is licensed under the terms of the MIT license.
FAQs
Simple, scalable smart contracts on the Arweave protocol.
The npm package smartweave-verto receives a total of 0 weekly downloads. As such, smartweave-verto popularity was classified as not popular.
We found that smartweave-verto demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.