cakebank / pandorabox

0 stars 0 forks source link

Pandora Box NFT #1

Open cakebank opened 3 years ago

cakebank commented 3 years ago

Build a dapp and this dapp will be name something like Cakebank Pandora Box NFT

  1. It is a smart contract that the team can insert/remove nft in.
  2. The nft collection in the smart contract can be verified.
  3. Nft collection can be cakebank collections and valuable from OpenSea.
  4. You can pay cakebank token (0x5f1b95784a033cd6842cf26eb9a9687f91ad9e78) to draw a random nft or get back an amount of cakebank as prize.
  5. Prize in the dapp will be random with a calculation, the better prize will be lower probability of draw.

Prizes list

  1. NFT
  2. Token

Assumption:

  1. Default Probability is 10000 (must be able to update on smart contract to other value)
  2. Assumption Payment must be able to set

    BEP20 token (1. Contract Address, 2. Amount) Default: 0x5f1b95784a033cd6842cf26eb9a9687f91ad9e78 (CakeBank Token) Amount: 200,000

Able to insert Token as a Prize.

Example

  1. Token contract address (checksum): Amount_of_token: 100,000 Quantity: 100 sets Probability: 10000 (everytime, sure win)

  2. Token contract address (checksum): Amount_of_token: 200,000 Quantity: 100 sets Probability: 5000

if the probability is 6000, you still win 100k token if the probability is 5000, you will win 200k token

the best "prize" of the probability roll, the max probability should be able to "set / update", default is 10000

Front End

There should be a front interface where i can connect Token Pocket / Trust Wallet / Metamask for interacting with the Dapp

Contract Owner

As the contract owner, should be able to take out the NFTs / Tokens and transfer back to the contract owner address. Probability will never be same for different object, there will surely be a +-1

Able to Spend Token Permission

Allow user to approve CakeBank as a Fee on the required sum 200,000 or no limit when interacting with the Dapp. Once user pay the fee required successfully, the roll result would be logged at the smart contract, and send to the user.

As the prize could be an NFT from OpenSea in Ethereum, the user should be able to claim the NFT by paying the GasFee and the smart contract (Ethereum version) will be sending the NFT ownership to the winner.

Anything missing can be highlight.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 1.1 ETH (3596.2 USD @ $3269.27/ETH) attached to it.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Workers have applied to start work.

These users each claimed they can complete the work by 265 years, 2 months from now. Please review their action plans below:

1) torhotw has applied to start work _(Funders only: approve worker | reject worker)_.

What about it? This is like social media for crypto curency?

Learn more on the Gitcoin Issue Details page.

icebert04 commented 3 years ago

Hello @cakebank

I'm ready to start building.

Do you have a sample(s) for me to base the dApp on? Or do you want me to build it from scratch?

May I also know your timetable for this?

cakebank commented 3 years ago

Build from scratch thanks.

On Mon, 13 Sept 2021 at 10:03, Francis Isberto @.***> wrote:

Hello @cakebank https://github.com/cakebank

I'm ready to start building.

Do you have a sample(s) for me to base the dApp on? Or do you want me to build it from scratch?

May I also know your timetable for this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cakebank/pandorabox/issues/1#issuecomment-917775958, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVKADMY6ID2OPDN3XTIYQFDUBVLWJANCNFSM5D3FXCXA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Workers have applied to start work.

These users each claimed they can complete the work by 265 years, 2 months from now. Please review their action plans below:

1) karbafoo has applied to start work _(Funders only: approve worker | reject worker)_.

Ive done somthing like this for distributing ERC20 tokens among team members and im in my way to add ERC721 as well. can be altered to draw a random ERC721 token and send to each user instead of amount of ERC20. you can also set weight to change how much each user gets and so on... anyways heres the app you can just run the backend and the app but need to deploy the contracts on the network you want to test it first (bottom of navigation drawer) https://github.com/karbafoo/moonshot-web https://github.com/karbafoo/moonshot-backend

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Workers have applied to start work.

These users each claimed they can complete the work by 265 years, 2 months from now. Please review their action plans below:

Learn more on the Gitcoin Issue Details page.

Ngocdino95 commented 3 years ago

Very good

bshevchenko commented 3 years ago

@cakebank please contact me via my telegram @bruce_omni as there are too many obscurities in your specs

gitcoinbot commented 3 years ago

@bshevchenko Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

bshevchenko commented 3 years ago

@gitcoinbot @cakebank work in progress!

gitcoinbot commented 3 years ago

@bshevchenko Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

bshevchenko commented 3 years ago

@gitcoinbot @cakebank yeap

gitcoinbot commented 3 years ago

@bshevchenko Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

bshevchenko commented 3 years ago

@gitcoinbot yeap, finishing

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@bshevchenko due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

bshevchenko commented 3 years ago

@gitcoinbot lol ofc that's some error

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@bshevchenko due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days