CodeHive - Crack the Code, Reap the Rewards! 💰

Hello CodeHive team, by checking your code in the github repo and demo video I noticed you are not uploading the file to BTFS but only adding it to your local node with the btfs addcommand, to upload to a remote node you need to do a btfs upload You can reference to my code as an example or go to docs.btfs.io for additional details.

Summarizing how to upload a file to BTFS you need to:

  1. //To add a file to BTFS in your local node, you will get the CID here
    curl -X POST -F file=@/Users/tron/picturefile.png “http://localhost:5001/api/v1/add”.

  2. // Storage upload a file with CID hash, eg: QmdBX8seLx4TGHwr8Tu9L2QSByaJ9bbFUpxFvKAYyxCf7b and contract length 35 days:
    curl -X POST “http://localhost:5001/api/v1/storage/upload?arg=QmdBX8seLx4TGHwr8Tu9L2QSByaJ9bbFUpxFvKAYyxCf7b&storage-length=35

Make sure you are running a BTFS node in your server so you can use the local BTFS API in your code and users can upload the data to BTFS automatically after uploading a new challenge.

So far BTFS integration is incomplete.

Another question, I noticed users need to manually interact with the smart contract to add a new challenge, this is of course not covenient for everyone, when are you planning to add an easy to use interface to submit new challenges?

Thank you! Keep building ! :slight_smile:

2 Likes

hello :smile:, Thanks for the review,
the code link is not working, will look into it… and will ping once we update it…
also is there any way we can rent a node using the test-btt-tokens?
and we will be rolling out a version that supports this question deployment.

Hello again, no, there is no public node which you can use to rent storage, probably a good idea for future hackathons :eyes: Currently you need to create your own local node

2 Likes

very thanks for detail info, we are already on it :v:

Best Project I have come across till now!!
Lets support each other.

Do check out my project also at:- https://forum.trondao.org/t/the-existential-dread-launchpad-memecoin-launchpad/23948

Here is a glimpse:-

Project Name: The Existential Dread Launchpad
Project Track: DeFi
Team Name: Team TED
Team Member: BlurryFace04

Devpost Project Link: https://devpost.com/software/ted-the-existential-dread-launchpad

Project Goal: Simplify the creation of memecoins on the Tron network while addressing liquidity concerns.

Project Value:TED is a memecoin launchpad on the Tron network. It simplifies the process, allowing anyone to easily create their own memecoin. TED utilizes a bonding curve to address initial liquidity concerns and automatically transfers liquidity to a DEX upon reaching a certain market cap.

Project Info: https://www.canva.com/design/DAGCxYEu4ls/Ir--F0ivREZXzbcNPHRq9w/view?utm_content=DAGCxYEu4ls&utm_campaign=designshare&utm_medium=link&utm_source=editor

Project Website: ted.quest

Twitter: x.com

Project Test Instructions:

  1. Make sure your tronlink wallet is set to Nile Testnet
  2. Go to our website: https://ted.quest
  3. On the explore page checkout the memecoins developed by other users
  4. Click on one of them to view the trading options and the chart, e.g.: https://ted.quest/TJyfobTUqGRJ1tCckd1uCv1JA4VnhLghig
  5. Launch your memecoin into the cosmic void by filling out these basic details about your memecoin: https://ted.quest/launch
  6. You can even edit your profile and view the memecoins that you have launched: https://ted.quest/my-profile

Project Details:
Video Demo:

Images:


Smart Contract links:
LinearBondingCurveFactory: TRONSCAN | TRON BlockChain Explorer | 波场区块链浏览器
LinearBondingCurve: TRONSCAN | TRON BlockChain Explorer | 波场区块链浏览器

Project Upcoming Milestones:

  1. Gain initial users testing TED on testnet
  2. Launch on Mainnet
  3. Integrate with a DEX to provide actual liquidity to a memecoin when it reaches a marketcap of $69,000.
2 Likes

Loved it…hopping for the best…:champagne:

1 Like

Thanks Ser,
Will hope for you too.

1 Like

MemeCoin launchpad. Interesting one :rocket: best of luck for your upcoming milestones team :muscle:

Thanks, lots of planning to do.
Will keep in touch!!

1 Like