Skip to content
/ cf_eth Public

Crowdfunding system contract based on Ethereum (blockchain)

Notifications You must be signed in to change notification settings

gef9462/cf_eth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cf_eth

English | 简体中文

Contracts of crowdfunding system based on Ethereum (blockchain)

// Interface
interface ICrowdfunding3 {
    function createActivity(uint targetMoney, uint dayNum, string memory data) external;
    function getActivity(uint id) external view returns (Activity memory);
    function getActivities(uint[] memory ids) external view returns (Activity[] memory);
    function readerJoin(uint id, string memory comment) external payable;
    function authorWithdraw(uint id) external;
    function readerWithdraw(uint aid, uint recordID) external;
    function myRecords() external view returns (JoinRecord[] memory, uint[] memory);
}

Quick Start for learning

I suggest you to Remix to compile, deploy and test contracts.

compile

compile1

deploy

Use Remix VM to deploy contracts you don't need to pay gas fee.

Deploy to other network you need choose other options

deploy1

deploy2

test

After deploy, you can test your contract.

test1

ABI

Copy ABI (Json) for client call.

abi1

Quick Start for development

install development tools

TODO:

About

Crowdfunding system contract based on Ethereum (blockchain)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published