const EosApi = require('eosjs-api') | |
const get = require('lodash.get') | |
const fetch = require('node-fetch') | |
// gets data from mainnet | |
const getBlockProducersData = async () => { | |
const eos = EosApi({ | |
httpEndpoint: process.env.EOS_API_ENDPOINT, | |
verbose: false |
Es una gentil introducción a la programación de aplicaciones en eosio blockchains dirigida a desarrolladores de software.
- No es indispensable conocer c++, sin embargo conocimientos de programación son requiridos para comprender los contenidos de este webinar.
- Haremos un recorrido general por el diseño, historia y ecosistema de eosio.
EOS Collections | |
https://github.com/eosasia/awesome-eos-tutorials | |
https://github.com/DanailMinchev/awesome-eosio | |
https://github.com/EOS-Nation/Awesome-EOS | |
EOS Community Tools and Wallets | |
https://github.com/generEOS/eostoolkit | |
https://github.com/greymass/eos-voter | |
https://github.com/eosrio/simpleos | |
https://github.com/cypherglassdotcom/windshield |
The EOS.IO software introduces a new blockchain architecture designed to enable vertical and horizontal scaling of decentralized applications. This is achieved by creating an operating system-like construct upon which applications can be built. The software provides accounts, authentication, databases, asynchronous communication and the scheduling of applications across many CPU cores or clusters. The resulting technology is a blockchain architecture that may ultimately scale to millions of transactions per second, eliminates user fees, and allows for quick and easy deployment and maintenance of decentralized applications, in the context of a governed blockchain.
Full documentation can be found at https://developers.eos.io/
The purpose of this document is to setup you development environment in an agile manner and prepare you for the development of your project ideas.
➜ eosjs git:(standardjs) standard --fix | |
standard: Use JavaScript Standard Style (https://standardjs.com) | |
/Users/gabo/Code/forks/eosjs/bin/eosio-abi-update.js:14:8: 'name' is not defined. | |
/Users/gabo/Code/forks/eosjs/bin/eosio-abi-update.js:14:14: 'type' is not defined. | |
/Users/gabo/Code/forks/eosjs/bin/eosio-abi-update.js:14:47: 'type' is not defined. | |
/Users/gabo/Code/forks/eosjs/bin/eosio-abi-update.js:14:55: 'name' is not defined. | |
/Users/gabo/Code/forks/eosjs/src/abi-cache.js:26:15: Expected '===' and instead saw '=='. | |
/Users/gabo/Code/forks/eosjs/src/abi-cache.js:57:7: Return statement should not contain assignment. | |
/Users/gabo/Code/forks/eosjs/src/format.js:21:7: 'signed' is assigned a value but never used. | |
/Users/gabo/Code/forks/eosjs/src/index.js:213:5: Unreachable code. |
NOTE: This assumes that you have Valet, Homebrew, Sublime Text and PHP properly installed and functioning and will only focus on the setup and installation and setup of Xdebug. There are other tutorials that go into great depth explaining how to get those tools installed on your mac.
Let's get started right away!
You need to know which version of PHP you are running in your machine. To do so, from the terminal run the command php -v
and this will display something like this
PHP 7.0.14 (cli) (built: Dec 8 2016 23:34:17) ( NTS )
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com
, example2.com
, and example1.com/images
on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers
# This will redirect a numerical subdomain to a port. | |
# A use would be Docker contianers. | |
# This relies on the following DNS record: | |
# *.test.domain.com IN A 10.100.199.31 | |
# and the fact that this container would run on the same Docker | |
# host as the backends. | |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server ipv6only=on; |
const oauth = Npm.require('oauth'); | |
const Agenda = Npm.require('agenda'); | |
Meteor.startup(function(){ | |
const mongoURL = process.env.MONGO_URL; | |
var agenda = new Agenda({db: {address: mongoURL}}); | |
agenda.define('sync_inventory', Meteor.bindEnvironment(function(job, done) { | |
try { | |
syncInventory(); |