Skip to content

TalentLayer-Labs/builder-place

 
 

Repository files navigation

BuilderPlace

A Ready to Use NextJS dapp using TalentLayer.

Start building in few seconds

Basic configuration

  • Fork the code
  • Clone your new repository
  • Copy .env.example file into a new .env file: cp .env.example .env
  • Use the recommended node version: 18^, if you are using nvm just run: nvm use
  • Install the dependencies: npm install
  • Run local server for development npm run dev
  • That's it!

GasLess Transactions / Delegation (optional)

To activate gasless transactions and delegation you will need a dedicated Seed & Address which will be used to execute transactions on behalf of your users, and set the following environment variables:

  • Set NEXT_PRIVATE_DELEGATE_SEED_PHRASE: Dedicated Seed phrase for your delegate
  • Set NEXT_PUBLIC_DELEGATE_ADDRESS: Address of your delegate
  • Add matic to NEXT_PUBLIC_DELEGATE_ADDRESS: To pay for transactions on behalf of your users
  • Set NEXT_PUBLIC_ACTIVATE_DELEGATE_MINT to true
  • If you wish to give the user the option to directly add your backend delegator to new users during onboarding set NEXT_PUBLIC_ADD_DELEGATE_MINT_ADDRESS to "true"

To use this feature your Users will need to activate delegation by calling the following function on the TalentLayerId smart contract:

/**
 * @notice Allows to give rights to a delegate to perform actions for a user's profile
 * @param _profileId The TalentLayer ID of the user
 * @param _delegate Address of the delegate to add
 */
function addDelegate(uint256 _profileId, address _delegate);

🛠️ TalentLayer

TalentLayer is an open protocol and dev toolkit for hiring applications. You can use it to build platforms that leverage a unified decentralized backend for job posts, escrow, user profiles, and reputations.

Developer Resources

Introduction: Read here.

Documentation: Read here.

XMTP & TL: Read here.

🗨 XMTP

XMTP is an open protocol and dev toolkit for messaging applications. You can use it to build peer-to-peer messaging

Developer Resources

Introduction: Read here.

Documentation: Read here.

Example DAPP Tutorial: Read here.

✉️ IExec - Web3mail

Web3mail is a decentralized email service built by IExec which allows a platform to send emails to a user without knowing the email address of the user.

Developer Resources

Iexec Documentation: Read here.

Technical TalentLayer integration documentation: Read here.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 94.8%
  • CSS 3.0%
  • JavaScript 2.2%