
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@arianee/arianee-server
Advanced tools
[](https://travis-ci.org/Arianee/arianee-server)
use arianeejs with http
post(nameOfMethod,[params])
ex post('url.com/requestPoa)
process.env.useBDH => url of bdh to use bdh vault apiKey => to pass in header chain => testnet, mainnet...etc privateKey => private key of wallet
To interact with Arianee-server, you need a an apiKey. and pass it in header field authorization
curl GET https://arianeeexample.cleverapps.io/hello -H "authorization: Basic YourApiKey"
// output: world
All methods available in arianeeJS's wallet object can be called in http.
Obviously you cannot call method like fromRandomKey
, or useBDH
. These methods are set with environment variables.
For method without parameter, just call method with empty parameters
curl -H Content-Type:application/json -H "authorization: Basic YourApiKey" POST https://arianeeexample.cleverapps.io/publicKey
// output: 0xAC6943CEA275E8392c49905c960e580CfEaC0bd5
You just need to pass data as an array. Parameters are exactly the same as arianeeJS doc.
curl POST https://arianeeexample.cleverapps.io/buyCredits -H Content-Type:application/json -H "authorization: Basic YourApiKey" -d "["certificate",1]"
curl POST https://arianeeexample.cleverapps.io/createArianeeEvent -H Content-Type:application/json -H "authorization: Basic YourApiKey"
-d "[{certificateId:certificateId,
content:{
$schema:'https://cert.arianee.org/version1/ArianeeEvent-i18n.json',
title:'My Title'
}
}]"
curl POST https://arianeeexample.cleverapps.io/storeArianeeEvent -H Content-Type:application/json -H "authorization: Basic YourApiKey"
-d "["YourCertificateId",yourArianeeEventId,"yourArianeeEventContent","https://arianee.cleverapps.io/arianeetestnet/rpc"]"
You can log before and after request:
app.logBefore=(req,res,next)=>{
console.log("before");
next();
}
app.logAfter=(req,res,next)=>{
console.log("after");
console.log(req.inError) // careful with error. Sometimes they are not well propagated
next();
}
app.listen(port, () => console.log(`Example app listening on port ${port}!`));
FAQs
[](https://travis-ci.org/Arianee/arianee-server)
The npm package @arianee/arianee-server receives a total of 7 weekly downloads. As such, @arianee/arianee-server popularity was classified as not popular.
We found that @arianee/arianee-server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.