No funded issue found.
Check out the Issue Explorer
Be the OSS Funding you wish to see in the world.
Looking to fund some work? You can submit a new Funded Issue here .
Time left
Opened
Issue Type
Workers Auto Approve
Project Type
Time Commitment
Experience Level
Permissions
Accepted
Reserved For
Show NST/ERC1948 tokens on the Bridge UI
leapdao
TypeScript, MobX, Web3
**Context:**
All the tokens registered with the Leap Network receive a "color", a number from 0 — 655326 space. This color is being [used](https://docs.leapdao.org/recipes/own-token/) in transactions to designate the token used by the transaction. The color space is split between tokens of different types like this:
* [0 ... 32768] — ERC20 tokens
* [32769 ... 49152] — NFT/ERC721
* [49153 ... 65536] — [NST/ERC1948](http://eips.ethereum.org/EIPS/eip-1948)
Bridge UI shows the tokens registered on the network by reading them from contract. To get them, it checks if the color is taken by querying them one by one starting from the left boundary of the color space (e.g. 32769 for NFTs):
https://github.com/leapdao/bridge-ui/blob/de34699b9160ed610725558e219500f618c3b9ff/src/stores/tokens.ts#L123-L133
**Problem:**
Reading NST color space from the contract is not implemented. So even if you [register an NST](https://github.com/leapdao/leap-contracts/blob/master/contracts/Vault.sol#L71) it won't be visible on bridge UI.
**To do:**
- [ ] Make NSTs should be visible on a Register token page
- [ ] Make token page in Explorer work for NST
- [ ] Do not show NSTs on a wallet page. They are not meant to be transferred manually
**Optional (extra tips if any of these is complete as well):**
- [ ] Explorer: NST transactions should be displayed correctly
- [ ] something else which makes sense in the context of the issue
**Environment for test:**
As of now, there is an NST token registered with a testnet, which is not visible on Bridge UI. To run the bridge UI with this network use `CONFIG=testnet yarn start`.
Setup your profile
Tell us a little about you:
Skills
No results found for [[search]] .
Type to search skills..
Bio Required
[[totalcharacter]] / 240
Are you currently looking for work?
[[ option.string ]]
Next
Setup your profile
Our tools are based on the principles of earn (💰), learn (📖), and meet (💬).
Select the ones you are interested in. You can change it later in your settings.
I'm also an organization manager looking for a great community.
Back
Next
Save
Enable your organization profile
Gitcoin products can help grow community around your brand. Create your tribe, events, and incentivize your community with bounties. Announce new and upcoming events using townsquare. Find top-quality hackers and fund them to work with you on a grant.
These are the organizations you own. If you don't see your organization here please be sure that information is public on your GitHub profile. Gitcoin will sync this information for you.
Select the products you are interested in:
Out of the box you will receive Tribes Lite for your organization. Please provide us with a contact email:
Email
Back
Save