CHATGPT AI
Smart_Contract_Developers
```

We now proceed to follow the next steps of the tutorial

### 2. Write a Sample Contract

In the directory where we want to save our smart contract (here, this very directory), run the following command:

```
truffle init
```

This will create several files (among with a lot of comments), including `contracts/Migrations.sol`

Remove the content of `contracts/Migrations.sol` and paste the following:

```
pragma solidity ^0.4.17
``` We now proceed to follow the next steps of the tutorial ### 2. Write a Sample Contract In the directory where we want to save our smart contract (here, this very directory), run the following command: ``` truffle init ``` This will create several files (among with a lot of comments), including `contracts/Migrations.sol` Remove the content of `contracts/Migrations.sol` and paste the following: ``` pragma solidity ^0.4.17
0 Tags 0 Shares 1 Views

Password Copied!

Please Wait....