hyperweb-io / hyperweb-io/telescope

add custom method for EIP712

Open
#339 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
154
Forks
53
PR merge metrics
No merged PRs in 30d

Description

Can I add custom method that return data?

ex `typeStruct` method:

```js
interface MsgFoo {
id: string;
age: number;
}

export const MsgFoo = {
encode: () => {}
decode: () => {}
typeStruct: () => {
return [
{
'name': 'id',
'type': 'string'
},
{
'name': 'age',
'type': 'number'
}
]
}
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.