Giter Club home page Giter Club logo

goki's Introduction

๐Ÿ”‘ goki

License Build Status Contributors

Banner

Goki is a suite of programs for Solana key management and security.

It currently features:

  • Goki Smart Wallet: A wallet loosely based on the Serum implementation
  • Token Signer: Allows signing transactions by holding an NFT or tokens

Note

  • Goki is in active development, so all APIs are subject to change.
  • This code is unaudited. Use at your own risk.

Packages

Package Description Version Docs
smart-wallet Multisig Solana wallet with Timelock capabilities Crates.io Docs.rs
token-signer Sign transactions by owning a token crates Docs.rs
@gokiprotocol/client TypeScript SDK for Goki npm Docs

Addresses

Ecosystem

Philosophy

Goki embraces the concept of gradually increasing decentralization: ownership should be able to shift from centralized to increasingly more decentralized accounts.

Our intended use case is to:

  1. Use a local wallet for development, using the NFT key.
  2. Once the project becomes more serious, send the NFT to a Ledger or other hardware wallet.
  3. On mainnet/production, use the multisig wallet.
  4. Once sufficient traction has been established, send the NFTs to the DAO.

Granularity

Goki also allows for granular access control: NFTs are cheap to create, so it should be possible to create an NFT for every possible ownership or role within a protocol.

NFTs also support metadata via protocols such as Metaplex, so it should be much easier to manage the different roles and permissions with visual NFT names.

Real world example: Uniswap

Imagine you have an AMM that has the following roles:

  • Upgrading the "factory" contract
  • Upgrading the "router" contract
  • Setting protocol fees

These three roles are all very different in risk and importance.

  • A factory contract is extremely sensitive, as it would affect all swaps on the platform. This should only be upgraded by the team, but in the future the keys to the contract should be "burned".
  • The router is non custodial, so it should be owned by the team's multisig-- ideally one with a low threshold of execution.
  • Protocol fees should be set by the DAO.

Using an NFT here makes it easier for users and the community to track and understand the transition of power as a DAO evolves.

License

Goki Protocol is licensed under the GNU Affero General Public License v3.0.

In short, this means that any changes to this code must be made open source and available under the AGPL-v3.0 license, even if only used privately. If you have a need to use this program and cannot respect the terms of the license, please message us our team directly at [email protected].

goki's People

Contributors

sungoki avatar michaelhly avatar dependabot[bot] avatar macalinao avatar swaglioni avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.