Create and publish
Open dApp, connect Metamask wallet
Go to https://lambdanft.org/ and click Connect Wallet button on the top right.

Follow the Metamask instructions. After the wallet is connected, switch to Polygon Mainnet network in the Metamask. Addtionially we support Kovan and Rinkeby testnets. If the wallet is connected to a network which is not supported, click Switch to Matic button, which will request the network switch in Metamask.

Create a lambda
Once the wallet is connected to the proper network, click Create Lambda button on the top right.

This will open a lambda editor view, with Hello World example already filled in.

The editor consists of the following key elements:
Lambda name field, this string will be used as a unique lambda identifier. Example:
hello-world-test-1.Description text, will be used in the dApp UI and in token metadata.
Dependencies declaration. The names of other lambdas can be included here. They will be pulled in when the HTML page is constructed and given to the lambda's constructor function.
Mintable/Non-Mintable switch.
Lambda's code. Must be a constructor function, which receives dependencies and must return a seed function if the lambda is mintable, or any kind of value is the lambda is non-mintable.
Preview area.
Enter a unique name for your lambda and click Create Lambda. This will start a blockchain transaction in Metamask.

Transaction status is tracked in the app.

When transaction is successful, the app switches from create to edit mode. Here you can edit the lambda's code and dependencies before it's finalized.
Enable minting
Click View button on top to continue to the lambda's main screen.

The lambda view screen consists of the following key elements:

Various lambda's properties, including ERC721 token contract and id. The lambda itself is a token, together with all derived mints. This means that its ownership can be transferred. Minting fee is sent to the lambda's owner address.
Edit button takes back to the lambda's editor.
Enable Minting will finalize the lambda and make it available for others to mint.
Both Edit and Enable Minting buttons are only shown to the lambda's owner.
Click Enable Minting to open a dialog.

Set the number of tokens, available for minting from this lambda.
Set the minting fee, or enter
0if it's free (only gas costs).Click Enable # Mints button to start a blockchain transaction.
Close the modal after the transaction is completed.

A mint button appears now to all visitors.

Minters will need to pay a minting fee, 90% of which will be sent to the lambda's owner. All generated mints will appear on the lambda's page.
Congratulations! You have now successfully created and published a lambda.
Last updated
Was this helpful?