Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 

EOS_Character_Appearance

EOS Smart Contract for generic character appearance.

Using the contract

(Anything in 'camelCasing' is a variable)

ie. accountName = YOUR ACCOUNT NAME

Get the table for this contract:

cleos get table accountName accountName characterapp

Setup an account for this contract:

Action:

  • create

Properties:

  • account
  • memo
cleos push action accountName create '["accountName", "Created Account"]' -p accountName

Modify an account for this contract:

Action:

  • update

Properties:

  • account
  • option
  • value
  • memo

Options:

  • hair
  • face
  • eyes
  • ears
  • shirt
  • pants
  • shoes
cleos push action accountName update '["targetAccount", "hair", 1, "Updated Hair"]' -p targetAccount

Clear the table completely:

Action:

  • cleartable

Properties:

  • memo
cleos push action accountName cleartable '["Cleared the table."]' -p accountName

About

EOS Smart Contract for generic character appearance.

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages