Skip to content

Creating Smart Contracts #6

@AddressXception

Description

@AddressXception

Now that you have configured your developer environment you are ready to build your first smart contract.

We will use open zepplin's template contracts as a starting point and extend them with some custom business logic so that we can execute our token mint.

If you haven't already, install the open zepplin NPM package and create a new custom contract. Check out the smart contract wizard for more examples and different configurations.

You'll notice there is a function called _baseURI which returns an ipfs:// protocol URI. this is just a placeholder for now. Later when we get to adding artwork to our NFT's we will need to tell the contract where to find the art. The best way to do this is to make the URI configurable at construction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions