Skip to content

Ethereum js repl does not contain the expanded String object #67

@mihi-tr

Description

@mihi-tr

I was trying to use the etereum -js repl to send data to a contract. However, it does not contain the expanded String object as mentioned in PoC 5 Javascript

I should be able to do

("1".pad(32) + "65".pad(52)).unbin()

to get the data string

however:

> ("1".pad(32) + "65".pad(32)).unbin()
TypeError: undefined is not a function

> String.pad
undefined

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions