Socket
Book a DemoInstallSign in
Socket

github.com/gaoxt/blog/2020/blockchain/note_on_chain_with_go

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/gaoxt/blog/2020/blockchain/note_on_chain_with_go

v0.0.0-20210617125129-5d4f05103d0e
Source
Go
Version published
Created
Source

name

Golang开发一个增改查的Dapp记事本

Description

用Golang开发一个增改查的Dapp记事本

Usage

修改 service/NoteService.go 的合约相关配置

名称当前值作用
c.accountAddress0x97AF9124a95639ded09CF337D1EcB07D3B36e259账户地址
c.contractAddress0x97AF9124a95639ded09CF337D1EcB07D3B36e259合约地址
ethclient.Dialhttp://127.0.0.1:7545私链地址
privateKeya6a1d2b6d8972d5b12b87e976822fb52f6fd8b2e6280ad69a94ea70ca16330a6私钥

启动go-server

go run main.go 

访问 http://localhost:4000

新增和修改笔记效果

exploit

FAQs

Package last updated on 17 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.