Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Feature: add in new smart contract deployment feature using the Python-based Brownie framework. #35

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wyattwestdev
Copy link

Purpose:

  • To add in a new smart contract deployment feature that uses the Python-based Brownie framework. This add-in will give Scroll developers more flexibility to choose what type of framework to use when deploying new smart contracts to the Scroll blockchain. This new feature also contains a detailed tutorial inside the README.md file, as a walkthrough to assist developers that choose to use Brownie as the main framework for deployment.

Overview:

  • The deploy.py file, a Python file containing the code to deploy the Lock.sol contract, was added inside the ./scripts folder.

  • A Brownie tutorial was added to the README.md file, to assist developers to deploy the Scroll contract using the Brownie framework. This tutorial follows and complements the one already published in the Scroll docs.

  • Using brownie to create an account and add your private key to it is one of the safest ways to do it, since you won't need to add the private key manually to an .env file, won't store it on git, it won't show on configuration files, nor be accidentally pushed up to a public git repository.

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

Successfully merging this pull request may close these issues.

1 participant