Activity Staking Blockchain Network
- Hybrid Proof of Stake / Proof of Activity
- Escrow Time Release Proof of Activity Smart Contract
- Activity Timestamp Verified on the Blockchain Network
- https://developers.eos.io
- https://github.com/EOSIO/eos
- Smart contract key value storage, for cross platform immutable, persistant & activity records.
- Open-source blockchain software protocol that provides developers & entrepreneurs to build high performance applications.
- Utilizing Blockchain technology to create a timestamped record of activity.
- Proof of Activity as Stake - hash, validate & stake the longest chain of activity transactions.
- Each activity is a node, bounding witnesses, timestamping runtime & last known location to validate proof of activity.
- Distributed Athletic Community
- Generate Performance Records
- Immutable Data Storage & Persistanc
- Write a script that uses the XYO protocol to generate GPS coordinates / hash addressed content to put into the EOS chain
- $BASH script that can run locally on our machines
- Build with EOS PoS / XYO Bound Witnessing
- EOS Data Persistance
Searching the XYO network for location of users Creating cryptographic handshakes
Enter all queries described in this guide into this field on the dashboard page
Information included in the contents
The near query retrieves blocks near GPS point provided. Enter the query near:LAT,LNG
Public Key - Bound Witness
brew tap eosio/eosio
brew install eosio
wget https://github.com/EOSIO/eos/releases/download/v1.7.0/eosio_1.7.0-1-ubuntu-18.04_amd64.deb
sudo apt install ./eosio_1.7.0-1-ubuntu-18.04_amd64.deb
wget https://github.com/EOSIO/eos/releases/download/v1.7.0/eosio_1.7.0-1-ubuntu-16.04_amd64.deb
sudo apt install ./eosio_1.7.0-1-ubuntu-16.04_amd64.deb
You’re going to need to pick a directory to work from, it’s suggested to create a contracts directory somewhere on your local drive.
mkdir contracts
cd contracts
Get the path of that directory and save it for later, as you’re going to need it, you can use the following command to get your absolute path.
pwd
Enter the absolute path to your contract directory below, and it will be inserted throughout the documentation to make your life a bit easier. This functionality requires cookies
###
cleos wallet create --to-console
"/usr/local/Cellar/eosio/1.8.5/opt/eosio/bin/keosd" launched
Creating wallet: default
Save password to use in the future to unlock this wallet.
Without password imported keys will not be retrievable.
"PW5Hwj71vw3gYFSdYs2fKFALMvdActDoRqDomRSFEQFYUtR3RM68g"
cleos wallet open
cleos wallet list
* cleos wallet unlock
cleos wallet create_key
cleos wallet import
enter the eosio development key provided below
5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3
cleos create account eosio token {public-OwnerKey} {public-ActiveKey}
cleos create account eosio hashrun EOS5BZi9LEKHhNSa8qV9vZczYJkYgVuQzFgX5YNmKM6hP5Ku9dEBb PW5Hwj71vw3gYFSdYs2fKFALMvdActDoRqDomRSFEQFYUtR3RM68g
cleos get account hashrun
mkdir sportsbook
cd sportsbook
touch sportsbook.cpp
#include <eosio/eosio.hpp>
using namespace eosio;
class [[eosio::contract("sportsbook")]] sportsbook : public eosio::contract {
public:
private:
};
#include <eosio/eosio.hpp>
using namespace eosio;
class [[eosio::contract("sportsbook")]] sportsbook : public eosio::contract {
public:
private:
};
struct person {};
struct person {
name key;
};
struct person {
name key;
std::string first_name;
std::string last_name;
std::string hash:BLOCK_HASH;
std::string chain:PUBLIC_KEY;
std::string where:PUBLIC_KEY
std::string geohash:GEOHASH;
std::string near:LAT,LNG;
uint64_t primary_key() const { return key.value;}
};
#include <eosio/eosio.hpp>
using namespace eosio;
class [[eosio::contract("sportsbook")]] sportsbook : public eosio::contract {
public:
private:
struct [[eosio::table]] person {
name key;
std::string first_name;
std::string last_name;
std::string hash:BLOCK_HASH;
std::string chain:PUBLIC_KEY;
std::string where:PUBLIC_KEY
std::string geohash:GEOHASH;
std::string near:LAT,LNG;
uint64_t primary_key() const { return key.value;}
};
typedef eosio::multi_index<"people"_n, person> hash_index;
};