Try this branch until it's released https://github.com/aionnetwork/aion_web3/tree/v1.0
Install the 1.0 branch
npm install aionnetwork/aion_web3#v1.0
In your JS file:
let Web3 = require('aion-web3')
/* | |
medium feed processor: | |
--- | |
+ npm install async xml2js lodash | |
+ add urls to feeds array to get more | |
+ npm run data-medium | |
*/ |
Try this branch until it's released https://github.com/aionnetwork/aion_web3/tree/v1.0
Install the 1.0 branch
npm install aionnetwork/aion_web3#v1.0
In your JS file:
let Web3 = require('aion-web3')
/* | |
⚠️expires keys in 10min so it's only good for temp data | |
Install: | |
npm install redis lodash | |
Usage: |
/* | |
Example how to: | |
+ add RPC calls into Aion Web3 | |
+ check which languages the node can compile | |
+ compile a solidity contract | |
+ inspect results | |
💪🏼 |
{ | |
"blocks": "never", | |
"brackets": "never", | |
"colons": "never", | |
"commaSpace": "always", | |
"commentSpace": "always", | |
"cssLiteral": "never", | |
"depthLimit": 6, | |
"duplicates": false, | |
"efficient": "always", |
--colors | |
--reporter spec | |
--ui bdd | |
# stop if there's an error | |
--bail | |
# give us a full explanation | |
--full-trace |
/* | |
use aion-rlp to decode an aion keystore v3 binary encoded file | |
the output is shown by index | |
the next step is decrypt aes-128-ctr | |
*/ |
{ | |
"env": { | |
"es6": true, | |
"node": true | |
}, | |
"plugins": ["prettier"], | |
"extends": [ | |
"eslint:recommended", | |
"plugin:prettier/recommended" | |
], |
/* | |
# webpack config | |
npm install webpack webpack-cli uglifyjs-webpack-plugin @babel/core @babel/cli @babel/register @babel/preset-env @babel/preset-react babel-loader react react-dom | |
https://webpack.js.org | |
https://webpack.js.org/configuration | |
*/ |
ffmpeg -i incoming.mov -s 300x200 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --dither > outgoing.gif | |
# https://github.com/chrisjmendez/convert-mov-to-gif |