
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
@pipeline-ui-2/pipeline
Advanced tools
Class to send transactions to Algorand network with MyAlgo Connect
A work-in-progress JavaScript class to streamline the process of using MyAlgo Connect, WalletConnect and AlgoSigner to sign and send transactions to the Algorand network.
cd example
npm install
npm run start
<button onclick="connect()">TEST</button>
<script src="https://unpkg.com/@pipeline-ui-2/pipeline@1.3.4/dist/index.js"></script>
<script>
const Pipeline = window.pipeline
const wallet = Pipeline.init()
function connect(){
Pipeline.connect(wallet).then(data => {
console.log(data)
})
}
</script>
npm install @pipeline-ui-2/pipeline
Import the class into your project:
import Pipeline from "@pipeline-ui-2/pipeline/index";
Initialize Pipeline:
const myAlgoWallet = Pipeline.init();
Connect to MyAlgo (returns first address in wallet):
Pipeline.connect(myAlgoWallet)
.then(data => {
console.log(data);
});
Connect to AlgoSigner (returns first address in wallet):
Pipeline.pipeConnector = "AlgoSigner";
Pipeline.connect()
.then(data => {
console.log(data);
});
Send a transaction (returns transaction id):
send(address, amt, myNote, sendingAddress, wallet, index = 0)
.then(data => {
console.log(data);
});
FAQs
Class to send transactions to Algorand network with MyAlgo Connect
We found that @pipeline-ui-2/pipeline 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.