One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
The Google Cloud Shell gives you a handy and quick Shell access to your Cloud instance. One thing you may not know is that you can use the Cloud Shell to clone and edit a Github project. Let's see how.
The trick here is to just call the following URL: https://console.cloud.google.com/cloudshell/open with the following parameters:
git_repo: this is the URL to your github repositoryopen_in_editor: this would be the file you want to open in the editorpage=editor: this tells the cloud shell to open the code editor| // Copied from: https://ethfiddle.com/09YbyJRfiI | |
| // CryptoKitties Source code | |
| // Copied from: https://etherscan.io/address/0x06012c8cf97bead5deae237070f9587f8e7a266d#code | |
| pragma solidity ^0.4.11; | |
| /** | |
| * @title Ownable | |
| * @dev The Ownable contract has an owner address, and provides basic authorization control |
| "use client" | |
| import { useForm } from 'react-hook-form'; | |
| import { Button } from '../ui/button'; | |
| import { Card, CardContent, CardFooter, CardHeader } from '../ui/card'; | |
| import { Form, FormControl, FormField, FormItem, FormLabel, FormMessage } from '../ui/form'; | |
| import { Input } from '../ui/input'; | |
| import * as z from 'zod' | |
| import { zodResolver } from '@hookform/resolvers/zod'; | |
| import { signIn } from '@/auth'; | |
| import { login } from '@/actions'; |