-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[nft-minter by OP Games] : Add support for NFT tokens minted on NEAR Protocol #2
Comments
Issue Status: 1. Open 2. Started 3. Submitted 4. Done This issue now has a funding of 3000.0 DAI (3000.0 USD @ $1.0/DAI) attached to it.
|
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work has been started. These users each claimed they can complete the work by 51 minutes from now. 1) bardinpetr has started work. The goal is to add support in nft-minter for NEAR blockchain by creating an unified solution which allows developers to add support for any blockchain with ease Add support for Near NFT smart contracts. It will be possible to choose between Rust or WebAssembly contract variants through environment variables. Mint NFTs on NEAR nft minter with option for near A NFT minter for ethereum and Near Network Learn more on the Gitcoin Issue Details page. |
There are two possible solutions:
What solution are you looking for? The latter option has some caveats: AssemblyScript / Rust contract caveatsERC1155 multi token contract compatibility issue with NEP-4
Near protocol has a standard spec NEP-4 for NFTs, but there isn't a multi-token spec yet. From the NEP-4 page:
Implementing NEP-4 would require frontend changes for the following operations:
Metadata issueThe NEP-4 spec leaves out metadata storage:
There is a recent proposal on metadata storage but it has not been finalized. I suggest leaving out on-chain metadata for now. Changes can be made once the above proposal is accepted. |
Thank you for the interest @secretshardul. We would prefer option 2 for now, as we were hoping for the code to be usable by more NEAR developers. Instead of using NEP-4, is it possible to use the ERC-721 format used by Mintable as a reference instead? https://github.com/Mintbase/near-nft-standards/blob/main/ERC721_reference.md#rust-equivalent There's also a new proposal still being finalized over at near/NEPs#171 that might be useful, and that might get it closer to the ERC-1155. I admit I still need to read through it though. |
Mintbase ERC721 only defines function signatures, with the actual implementation is left out. Same can be said about NEP#171. Plus it's a working draft that is yet to be finalized. I can can try implementing the contract but it may be hacky. What do you say? |
Hacky for now is fine, we can start with that and steadily improve it as NEP#171 becomes finalized. Looking forward to it! |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work for 3000.0 DAI (3000.0 USD @ $1.0/DAI) has been submitted by:
|
Hello @polats is it possible to get an extension i just need more time to test i have something but its not working so great |
It seems doable @Brianspha , i'll check if we can extend it |
@polats any feedback? |
Hey @Brianspha we can extend it for one more week, is that enough time? |
Yeah more than enough |
Starting when? I had already stopped |
Just extended it now @Brianspha until next Sunday |
@polats just an update because of my lack of experience with react I'm creating a new package which will use a vue front end |
@polats the files in the temp_meta_data are missing |
Been trying to figure out why the contracts are deploying |
Hi @Brianspha here's the one that I use: temp_metadata.zip . The scripts should generate temp_metadata automatically though, I'll take a look |
Alright nah it doesn't it fails but thank you for the file |
@polats this folder seems to be missing as well contracts.json as required in the nftutils.ts file I'm not sure if I'm meant to create this file and what is the structure of this file? |
Hey @Brianspha, It's a json file containing the contract ABI and looks like: |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work for 3000.0 DAI (3000.00 USD @ $1.0/DAI) has been submitted by: @polats please take a look at the submitted work:
|
@polats I will be updating the forked repo later on in the day I'm just a bit tired now this is what I've done
|
@polats I did my best there so many limitations when working with near |
Thank you @Brianspha i'll be checking out the repo today |
@polats cool I ran out of stamina to document everything because of the issues with near which I did report to their team |
Hey @Brianspha , can you write out some steps on how I can test? I see the new scripts on package.json, how would I mint the NFTs and view them? |
Hey @polats i didnt develop the front end for that but please look at the unit tests here: https://github.com/Brianspha/nft-minter/blob/master/packages/near-contracts/assembly/__tests__/main.spec.ts |
I was only to develop the minting option on the front end but due to near returning an error at times |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done The funding of 3000.0 DAI (3000.0 USD @ $1.0/DAI) attached to this issue has been cancelled by the bounty submitter
|
[nft-minter by OPGames]: Add support for NFT tokens minted on NEAR Protocol
Prize Bounty
Up to $3000 USD in NEAR (with matching grants)
One grand prize and two runner up prizes
Challenge Description
nft-minter is an open-source framework for minting NFTs, currently using IPFS and the Ethereum blockchain. We would love for it to be built upon by hackers so it will eventually become blockchain agnostic.
The challenge is to provide an option to users of nft-minter to mint their tokens on NEAR protocol instead of on the Ethereum blockchain, in the most developer friendly way possible.
The first step is probably to create an npm script similar to
yarn contract:deploy:rinkeby
that will deploy the contracts on NEAR instead of Ethereum. Once done, hackers should then update the frontend onpackages/client
to allow developers to create and mint the tokens via the web form.This could be a stretch goal for the challenge, but we envision the ideal flow to be as simple as just changing an variable in the .env files. For example, adding a "blockchain=near" .env variable will automatically deploy the contract to the desired blockchain.
Submission Requirements
Hackers should create a pull request for this challenge, tagging this issue for reference. The completed submission should include the updated code (backend and frontend) and an updated README.md file discussing how to use nft-minter for NEAR tokens.
The application must be (1) the original work of the individual participant or the participating team; (2) third-party technology used by the individual participant or the participating team must be subject to valid perpetual, irrevocable licenses.
By submitting an application, the individual participant and each member of a participating team, jointly and severally, represent and warrant that the application, and all components thereof, will not violate any rights of any person or entity, including without limitation, any copyright, trademark, patent or other intellectual property rights, or violate any applicable national, federal, state, or local laws, regulations, or policies, including those relating to export control.
Judging Criteria
Helpful References
NEAR NFT discussions
Other Links
Winner Announcement Date
April 9th 10am PST
More Info
For questions, please comment on this issue. For more long-form discussions, we can also use Github Discussions.
The text was updated successfully, but these errors were encountered: