Skip to content
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

Creating Smart Contracts #6

Open
AddressXception opened this issue Apr 20, 2022 · 0 comments
Open

Creating Smart Contracts #6

AddressXception opened this issue Apr 20, 2022 · 0 comments

Comments

@AddressXception
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant