Content
@
https://onchainsummer.xyz
0 reply
26 recasts
26 reactions
Ben
@benersing
Is it possible to launch a token but control who can buy/sell it? For example, a Token on Base that only people with [x] NFT are able to buy/sell.
6 replies
1 recast
19 reactions
Gabriel Ayuso
@gabrielayuso.eth
It's possible. A token contract can call another token contract to check a wallet's token balance and decide whether a transfer should succeed or fail based on that. They just need to be on the same chain for it to be done at the contract level unless something else feeds that data into the chain such as an oracle
2 replies
0 recast
2 reactions
Ben
@benersing
On a scale of 1-10 how complicated is that to set-up?
2 replies
0 recast
0 reaction
Jacob Homanics
@jacobhomanics.eth
Itβs like a 4. I can whip up a quick prototype if you would like!
1 reply
0 recast
2 reactions
Gabriel Ayuso
@gabrielayuso.eth
I don't have much experience writing contracts. Adding that functionality shouldn't be hard, if you're already familiar with the rest of the complexities of writing and deploying a contract. I suspect that there are no-code tools that let you deploy a contract with this type of setup.
1 reply
0 recast
1 reaction