/grantshares-contracts

GrantShares: Smart Contracts

Primary LanguageJavaApache License 2.0Apache-2.0

grantshares Actions Status

GrantShares: Smart Contracts

This git repo contains the smart contracts for the GrantSharesDAO.

If you want to know more about GrantShares, please refer to the root repository:

Development

Clone this repo:

git clone https://github.com/AxLabs/grantshares-contracts.git

Compiling the GrantSharesGov smart contract (the .nef, .manifest, and .nefdbgnfo output files are at ./build/neow3j).

./gradlew clean neow3jCompile

Note, that this doesn't automatically compile the GrantSharesTreasury too. For that you have to change the className value in the neow3jCompiler section of the build.gradle file.

    neow3jCompiler {
        className = "com.axlabs.neo.grantshares.GrantSharesTreasury"
    }

Running the tests:

./gradlew clean test

Docs

Documents about proposals, flow, etc., are in the official documentation page for GrantShares.

Acknowledgement

AxLabs develops and maintains the GrantSharesDAO, with the support from the whole community.

License

Licensed under Apache2.

   Copyright 2021 AxLabs (axlabs.com)

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.