decentraland / decentraland/ui2

Move shortening address logic to a generic lib (schemas maybe)

Open
#171 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
2
Avg merge
2h 1m
Merged PRs (30d)
10

Description

Example from the account dApp:
```js
export function shortening(address: string): string {
return address ? `${address.slice(0, 4)}...${address.slice(-4)}` : ''
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.