Skip to content

Stuyk/EOS_Character_Appearance

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages