Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
geraldb authored Jan 16, 2023
1 parent ac6e796 commit 7ad69e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ethlite-contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ contract.totalSupply # as of Jan/16, 2023

token_ids = [1,2,3]
token_ids.each do |token_id|
pp seeds = contract.seeds( token_id )
seeds = contract.seeds( token_id )
#=> [1, 20, 95, 88, 14]
# for background, body, accessory, head, glasses

Expand All @@ -39,7 +39,6 @@ token_ids.each do |token_id|
str = str.sub( 'data:application/json;base64,', '' )
## get metadata (base64-encoded)
data = JSON.parse( Base64.decode64( str ) )
pp data
#=> {"name"=>"Noun 1",
# "description"=>"Noun 1 is a member of the Nouns DAO",
# "image"=> "data:image/svg+xml;base64..."
Expand Down

0 comments on commit 7ad69e1

Please sign in to comment.