This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class InjectedObject { | |
// Check here for required fields: https://get-scatter.com/docs/requirable-fields | |
getIdentity(requiredFields){ | |
//.. open your authentication popup, return: | |
return { | |
accounts:[{blockchain:'eos', name:'thename', authority:'active'}] | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async onboard(){ | |
this.onboardingError = ''; | |
switch(this.onboarding){ | |
case ONBOARD.START: | |
if(!await this.scatter.suggestNetwork(network)){ | |
this.onboardingError = 'You must accept the Test Network in your Scatter.'; | |
return false; | |
} else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <eosiolib/eosio.hpp> | |
#include <eosiolib/singleton.hpp> | |
using namespace eosio; | |
class acchascode : contract { | |
private: | |
// @abi table trustees | |
struct Trustee { |
NewerOlder