├── .gitattributes ├── convex-cli ├── src │ ├── main │ │ ├── launch │ │ │ └── .gitignore │ │ ├── java │ │ │ └── convex │ │ │ │ └── cli │ │ │ │ ├── mixins │ │ │ │ ├── ClientKeyMixin.java │ │ │ │ ├── ClientMixin.java │ │ │ │ └── AMixin.java │ │ │ │ ├── ATopCommand.java │ │ │ │ └── desktop │ │ │ │ └── Desktop.java │ │ └── resources │ │ │ └── art │ │ │ └── convex.logo │ ├── test │ │ └── resources │ │ │ └── test.txt │ └── docs │ │ └── examples.md └── .gitignore ├── convex-observer ├── .gitignore └── src │ ├── main │ └── java │ │ └── module-info.java │ └── test │ └── java │ └── convex │ └── observer │ └── ObserverTest.java ├── convex-core ├── src │ ├── test │ │ ├── cvx │ │ │ └── test │ │ │ │ └── convex │ │ │ │ └── lab │ │ │ │ └── quasiquote.cvx │ │ ├── java │ │ │ ├── convex │ │ │ │ ├── store │ │ │ │ │ └── ParamTestStores.java │ │ │ │ ├── core │ │ │ │ │ ├── examples │ │ │ │ │ │ └── JuiceTrials.java │ │ │ │ │ ├── util │ │ │ │ │ │ └── VisitCounter.java │ │ │ │ │ ├── crypto │ │ │ │ │ │ ├── WalletTest.java │ │ │ │ │ │ ├── PBETest.java │ │ │ │ │ │ └── util │ │ │ │ │ │ │ └── Base58Test.java │ │ │ │ │ └── lang │ │ │ │ │ │ ├── SyntaxTest.java │ │ │ │ │ │ └── CodeTest.java │ │ │ │ ├── util │ │ │ │ │ ├── UMathTest.java │ │ │ │ │ ├── BitsTest.java │ │ │ │ │ └── GenTestUMath.java │ │ │ │ └── test │ │ │ │ │ └── generators │ │ │ │ │ └── AGenerator.java │ │ │ ├── junit-platform.properties │ │ │ └── examples │ │ │ │ └── generators │ │ │ │ └── BadListTest.java │ │ └── resources │ │ │ ├── utils │ │ │ ├── config-test.json │ │ │ └── test.json5 │ │ │ ├── testsource │ │ │ └── min.con │ │ │ ├── examples │ │ │ ├── samples.cvx │ │ │ └── language.cvx │ │ │ └── contracts │ │ │ ├── hello.con │ │ │ ├── deposit-box.con │ │ │ └── exceptional.con │ └── main │ │ ├── cvx │ │ ├── convex │ │ │ ├── trust │ │ │ │ └── governance.cvx │ │ │ ├── user.cvx │ │ │ ├── torus │ │ │ │ └── genesis-currencies.cvx │ │ │ ├── asset │ │ │ │ └── spatial.cvx │ │ │ └── lab │ │ │ │ ├── messenger.cvx │ │ │ │ └── curation-market.cvx │ │ └── app │ │ │ └── names.cvx │ │ ├── resources-filtered │ │ └── convex │ │ │ └── core │ │ │ └── build.properties │ │ └── java │ │ └── convex │ │ ├── etch │ │ ├── package-info.java │ │ ├── EtchCorruptionError.java │ │ └── IEtchIndexVisitor.java │ │ ├── core │ │ ├── store │ │ │ └── package-info.java │ │ ├── data │ │ │ ├── prim │ │ │ │ └── package-info.java │ │ │ ├── type │ │ │ │ ├── package-info.java │ │ │ │ └── ANumericType.java │ │ │ ├── IAssociative.java │ │ │ ├── ASpecialVector.java │ │ │ ├── Lists.java │ │ │ └── IRefFunction.java │ │ ├── lang │ │ │ ├── impl │ │ │ │ └── package-info.java │ │ │ ├── reader │ │ │ │ ├── antlr │ │ │ │ │ └── package-info.java │ │ │ │ └── package-info.java │ │ │ └── package-info.java │ │ ├── cvm │ │ │ ├── transactions │ │ │ │ ├── package-info.java │ │ │ │ └── Transactions.java │ │ │ ├── ops │ │ │ │ └── package-info.java │ │ │ ├── exception │ │ │ │ ├── AReturn.java │ │ │ │ ├── AThrowable.java │ │ │ │ └── ATrampoline.java │ │ │ ├── package-info.java │ │ │ ├── ACVMCode.java │ │ │ ├── impl │ │ │ │ └── InvalidBlockException.java │ │ │ └── Log.java │ │ ├── init │ │ │ └── package-info.java │ │ ├── util │ │ │ ├── UnsafeRunnable.java │ │ │ ├── package-info.java │ │ │ ├── BenchUtils.java │ │ │ └── MergeFunction.java │ │ ├── exceptions │ │ │ ├── package-info.java │ │ │ ├── ParseException.java │ │ │ ├── TODOException.java │ │ │ ├── Panic.java │ │ │ ├── BadSignatureException.java │ │ │ └── FastRuntimeException.java │ │ ├── text │ │ │ ├── package-info.java │ │ │ └── AFormat.java │ │ ├── crypto │ │ │ ├── package-info.java │ │ │ ├── wallet │ │ │ │ ├── IWallet.java │ │ │ │ ├── AWallet.java │ │ │ │ └── LockedWalletException.java │ │ │ └── Encoding.java │ │ ├── cpos │ │ │ └── package-info.java │ │ ├── message │ │ │ ├── package-info.java │ │ │ └── MessageTag.java │ │ ├── Networks.java │ │ └── json │ │ │ └── package-info.java │ │ └── lattice │ │ ├── cursor │ │ └── package-info.java │ │ └── Lattice.java └── .gitignore ├── convex-java ├── .gitignore └── src │ ├── test │ └── resources │ │ └── example │ │ └── trader │ │ └── .gitignore │ └── main │ └── java │ ├── convex │ └── java │ │ ├── ClientException.java │ │ └── asset │ │ └── BaseAsset.java │ └── module-info.java ├── convex-benchmarks └── .gitignore ├── convex-gui ├── .gitignore ├── docs │ ├── images │ │ ├── hacker-hires.png │ │ ├── testnet-hires.png │ │ ├── wallet-hires.png │ │ ├── world-hires.png │ │ ├── convex-desktop.png │ │ ├── ecosystem-hires.png │ │ ├── terminal-hires.png │ │ └── filesystem-hires.png │ └── icons │ │ └── feather │ │ ├── circle.svg │ │ ├── check.svg │ │ ├── minus.svg │ │ ├── play.svg │ │ ├── chevron-up.svg │ │ ├── chevron-down.svg │ │ ├── chevron-left.svg │ │ ├── chevron-right.svg │ │ ├── droplet.svg │ │ ├── framer.svg │ │ ├── twitch.svg │ │ ├── cloud.svg │ │ ├── moon.svg │ │ ├── navigation.svg │ │ ├── shield.svg │ │ ├── square.svg │ │ ├── volume.svg │ │ ├── zap.svg │ │ ├── activity.svg │ │ ├── navigation-2.svg │ │ ├── bookmark.svg │ │ ├── disc.svg │ │ ├── edit-2.svg │ │ ├── filter.svg │ │ ├── umbrella.svg │ │ ├── x.svg │ │ ├── bluetooth.svg │ │ ├── clock.svg │ │ ├── plus.svg │ │ ├── thermometer.svg │ │ ├── code.svg │ │ ├── crop.svg │ │ ├── facebook.svg │ │ ├── power.svg │ │ ├── search.svg │ │ ├── arrow-up.svg │ │ ├── eye.svg │ │ ├── folder.svg │ │ ├── message-square.svg │ │ ├── pause.svg │ │ ├── send.svg │ │ ├── slash.svg │ │ ├── terminal.svg │ │ ├── user.svg │ │ ├── arrow-down.svg │ │ ├── arrow-left.svg │ │ ├── edit-3.svg │ │ ├── minus-circle.svg │ │ ├── mouse-pointer.svg │ │ ├── pie-chart.svg │ │ ├── play-circle.svg │ │ ├── skip-back.svg │ │ ├── stop-circle.svg │ │ ├── tv.svg │ │ ├── arrow-right.svg │ │ ├── arrow-up-left.svg │ │ ├── arrow-up-right.svg │ │ ├── at-sign.svg │ │ ├── bell.svg │ │ ├── chevrons-up.svg │ │ ├── corner-left-up.svg │ │ ├── corner-right-up.svg │ │ ├── corner-up-left.svg │ │ ├── lock.svg │ │ ├── map-pin.svg │ │ ├── octagon.svg │ │ ├── rewind.svg │ │ ├── rotate-ccw.svg │ │ ├── skip-forward.svg │ │ ├── underline.svg │ │ ├── unlock.svg │ │ ├── arrow-down-left.svg │ │ ├── arrow-down-right.svg │ │ ├── award.svg │ │ ├── battery.svg │ │ ├── bold.svg │ │ ├── chevrons-down.svg │ │ ├── chevrons-left.svg │ │ ├── chevrons-right.svg │ │ ├── columns.svg │ │ ├── corner-down-left.svg │ │ ├── corner-left-down.svg │ │ ├── corner-up-right.svg │ │ ├── music.svg │ │ ├── rotate-cw.svg │ │ ├── rss.svg │ │ ├── sidebar.svg │ │ ├── tablet.svg │ │ ├── toggle-left.svg │ │ ├── triangle.svg │ │ ├── video.svg │ │ ├── wind.svg │ │ ├── corner-down-right.svg │ │ ├── corner-right-down.svg │ │ ├── fast-forward.svg │ │ ├── flag.svg │ │ ├── home.svg │ │ ├── maximize.svg │ │ ├── minimize.svg │ │ ├── toggle-right.svg │ │ ├── trending-up.svg │ │ ├── volume-1.svg │ │ ├── check-circle.svg │ │ ├── credit-card.svg │ │ ├── file.svg │ │ ├── minus-square.svg │ │ ├── smartphone.svg │ │ ├── star.svg │ │ ├── target.svg │ │ ├── trending-down.svg │ │ ├── book-open.svg │ │ ├── book.svg │ │ ├── compass.svg │ │ ├── divide.svg │ │ ├── dollar-sign.svg │ │ ├── git-merge.svg │ │ ├── table.svg │ │ ├── anchor.svg │ │ ├── briefcase.svg │ │ ├── info.svg │ │ ├── italic.svg │ │ ├── menu.svg │ │ ├── more-vertical.svg │ │ ├── x-circle.svg │ │ ├── check-square.svg │ │ ├── copy.svg │ │ ├── key.svg │ │ ├── mail.svg │ │ ├── more-horizontal.svg │ │ ├── percent.svg │ │ ├── tag.svg │ │ ├── type.svg │ │ ├── bar-chart.svg │ │ ├── camera.svg │ │ ├── cloud-lightning.svg │ │ ├── link-2.svg │ │ ├── paperclip.svg │ │ ├── pause-circle.svg │ │ ├── plus-circle.svg │ │ ├── pocket.svg │ │ ├── thumbs-up.svg │ │ ├── trash.svg │ │ ├── zoom-out.svg │ │ ├── airplay.svg │ │ ├── alert-circle.svg │ │ ├── archive.svg │ │ ├── bar-chart-2.svg │ │ ├── edit.svg │ │ ├── git-commit.svg │ │ ├── hexagon.svg │ │ ├── share.svg │ │ ├── voicemail.svg │ │ ├── volume-2.svg │ │ ├── arrow-up-circle.svg │ │ ├── folder-minus.svg │ │ ├── image.svg │ │ ├── layers.svg │ │ ├── layout.svg │ │ ├── log-in.svg │ │ ├── log-out.svg │ │ ├── speaker.svg │ │ ├── upload.svg │ │ ├── arrow-down-circle.svg │ │ ├── arrow-left-circle.svg │ │ ├── arrow-right-circle.svg │ │ ├── download.svg │ │ ├── heart.svg │ │ ├── help-circle.svg │ │ ├── link.svg │ │ ├── map.svg │ │ ├── monitor.svg │ │ ├── trello.svg │ │ ├── user-check.svg │ │ ├── user-minus.svg │ │ ├── volume-x.svg │ │ ├── x-square.svg │ │ ├── clipboard.svg │ │ ├── cloud-off.svg │ │ ├── database.svg │ │ ├── delete.svg │ │ ├── feather.svg │ │ ├── plus-square.svg │ │ ├── shopping-bag.svg │ │ ├── git-branch.svg │ │ ├── thumbs-down.svg │ │ ├── video-off.svg │ │ ├── cast.svg │ │ ├── hash.svg │ │ ├── meh.svg │ │ ├── radio.svg │ │ ├── smile.svg │ │ ├── tool.svg │ │ ├── camera-off.svg │ │ ├── file-minus.svg │ │ ├── frown.svg │ │ ├── pen-tool.svg │ │ ├── repeat.svg │ │ ├── save.svg │ │ ├── shopping-cart.svg │ │ ├── download-cloud.svg │ │ ├── external-link.svg │ │ ├── git-pull-request.svg │ │ ├── zoom-in.svg │ │ ├── align-left.svg │ │ ├── align-right.svg │ │ ├── grid.svg │ │ ├── headphones.svg │ │ ├── instagram.svg │ │ ├── linkedin.svg │ │ ├── users.svg │ │ ├── wifi.svg │ │ ├── align-center.svg │ │ ├── align-justify.svg │ │ ├── divide-circle.svg │ │ ├── globe.svg │ │ ├── inbox.svg │ │ ├── maximize-2.svg │ │ ├── minimize-2.svg │ │ ├── printer.svg │ │ ├── refresh-ccw.svg │ │ ├── refresh-cw.svg │ │ ├── user-x.svg │ │ ├── calendar.svg │ │ ├── folder-plus.svg │ │ ├── shield-off.svg │ │ ├── twitter.svg │ │ ├── user-plus.svg │ │ ├── x-octagon.svg │ │ ├── mic.svg │ │ ├── truck.svg │ │ ├── alert-octagon.svg │ │ ├── command.svg │ │ ├── cloud-rain.svg │ │ ├── divide-square.svg │ │ ├── dribbble.svg │ │ ├── alert-triangle.svg │ │ ├── server.svg │ │ ├── battery-charging.svg │ │ ├── file-plus.svg │ │ ├── message-circle.svg │ │ ├── upload-cloud.svg │ │ ├── zap-off.svg │ │ ├── crosshair.svg │ │ ├── shuffle.svg │ │ ├── chrome.svg │ │ ├── coffee.svg │ │ ├── scissors.svg │ │ ├── share-2.svg │ │ ├── trash-2.svg │ │ ├── bell-off.svg │ │ ├── box.svg │ │ ├── eye-off.svg │ │ ├── watch.svg │ │ ├── file-text.svg │ │ ├── gift.svg │ │ ├── list.svg │ │ ├── codepen.svg │ │ ├── hard-drive.svg │ │ ├── move.svg │ │ ├── gitlab.svg │ │ ├── mic-off.svg │ │ ├── package.svg │ │ ├── phone.svg │ │ ├── github.svg │ │ ├── figma.svg │ │ ├── cloud-drizzle.svg │ │ ├── youtube.svg │ │ ├── aperture.svg │ │ ├── wifi-off.svg │ │ ├── cloud-snow.svg │ │ ├── life-buoy.svg │ │ ├── phone-call.svg │ │ ├── film.svg │ │ ├── sunset.svg │ │ ├── sunrise.svg │ │ ├── phone-off.svg │ │ └── sliders.svg └── src │ └── main │ ├── java │ └── convex │ │ └── gui │ │ ├── models │ │ ├── BaseColumn.java │ │ └── BaseTableModel.java │ │ ├── components │ │ ├── package-info.java │ │ ├── NonUpdatingCaret.java │ │ ├── BaseImageButton.java │ │ ├── renderer │ │ │ ├── StringRenderer.java │ │ │ ├── CellRenderer.java │ │ │ └── AddressRenderer.java │ │ └── BaseListComponent.java │ │ ├── utils │ │ └── TextFormat.java │ │ ├── wallet │ │ └── FriendPanel.java │ │ └── actor │ │ ├── ArgBox.java │ │ └── ParamLabel.java │ └── resources │ ├── images │ ├── cog.png │ ├── www.png │ ├── Convex.png │ ├── hacker.png │ ├── wallet.png │ ├── world.png │ ├── ecosystem.png │ ├── padlock.png │ ├── terminal.png │ ├── testnet.png │ ├── filesystem.png │ ├── padlock-open.png │ ├── terminal-icon.png │ ├── ic_cake_black_36dp.png │ ├── ic_stars_black_36dp.png │ ├── ic_lock_open_black_36dp.png │ ├── ic_lock_outline_black_36dp.png │ └── ic_priority_high_black_36dp.png │ └── fonts │ ├── MaterialSymbolsSharp.ttf │ └── SourceCodePro-Regular.ttf ├── convex-peer ├── .gitignore ├── src │ └── main │ │ └── java │ │ ├── convex │ │ ├── api │ │ │ └── package-info.java │ │ ├── net │ │ │ ├── package-info.java │ │ │ └── impl │ │ │ │ └── HandlerException.java │ │ └── peer │ │ │ ├── package-info.java │ │ │ ├── PeerException.java │ │ │ ├── LaunchException.java │ │ │ └── ConfigException.java │ │ └── module-info.java └── README.md ├── convex-restapi ├── .gitignore └── src │ └── main │ ├── java │ └── convex │ │ └── restapi │ │ ├── pub │ │ └── package-info.java │ │ ├── model │ │ ├── CreateAccountRequest.java │ │ ├── FaucetRequest.java │ │ ├── CreateAccountResponse.java │ │ ├── QueryRequest.java │ │ ├── JsonRPCRequest.java │ │ ├── TransactRequest.java │ │ ├── TransactionSubmitRequest.java │ │ ├── TransactionPrepareRequest.java │ │ ├── JsonRPCResponse.java │ │ ├── TransactionPrepareResponse.java │ │ ├── QueryAccountResponse.java │ │ └── ResultResponse.java │ │ └── api │ │ └── DepAPI.java │ └── resources │ └── convex │ └── restapi │ ├── pub │ ├── Convex.png │ └── favicon.ico │ └── mcp │ └── tools │ └── peerStatus.json ├── convex ├── convex-integration ├── src │ └── main │ │ ├── resources │ │ └── logback.xml │ │ └── java │ │ └── convex │ │ └── main │ │ └── Main.java └── README.md └── .gitignore /.gitattributes: -------------------------------------------------------------------------------- 1 | *.cvx linguist-language=clojure 2 | -------------------------------------------------------------------------------- /convex-cli/src/main/launch/.gitignore: -------------------------------------------------------------------------------- 1 | /convex.exe 2 | -------------------------------------------------------------------------------- /convex-cli/src/test/resources/test.txt: -------------------------------------------------------------------------------- 1 | Test file for CLI -------------------------------------------------------------------------------- /convex-observer/.gitignore: -------------------------------------------------------------------------------- 1 | /pom.xml.versionsBackup 2 | -------------------------------------------------------------------------------- /convex-core/src/test/cvx/test/convex/lab/quasiquote.cvx: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /convex-java/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | -------------------------------------------------------------------------------- /convex-java/src/test/resources/example/trader/.gitignore: -------------------------------------------------------------------------------- 1 | /APIKEY 2 | -------------------------------------------------------------------------------- /convex-core/src/main/cvx/convex/trust/governance.cvx: -------------------------------------------------------------------------------- 1 | 'convex.governance -------------------------------------------------------------------------------- /convex-core/src/main/resources-filtered/convex/core/build.properties: -------------------------------------------------------------------------------- 1 | convex.core.version=${project.version} -------------------------------------------------------------------------------- /convex-benchmarks/.gitignore: -------------------------------------------------------------------------------- 1 | /.settings/ 2 | /.classpath 3 | /.project 4 | /pom.xml.versionsBackup 5 | /bin/ 6 | -------------------------------------------------------------------------------- /convex-core/src/main/cvx/convex/user.cvx: -------------------------------------------------------------------------------- 1 | ;; CNS implementation and registry for `user.xxxx` names 2 | 3 | 'user -------------------------------------------------------------------------------- /convex-cli/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | /.settings/ 3 | /.classpath 4 | /.project 5 | /pom.xml.versionsBackup 6 | /bin/ 7 | -------------------------------------------------------------------------------- /convex-gui/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | /.settings/ 3 | /.classpath 4 | /.project 5 | /pom.xml.versionsBackup 6 | /bin/ 7 | -------------------------------------------------------------------------------- /convex-core/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | /.project 3 | /.classpath 4 | /.settings/ 5 | /pom.xml.versionsBackup 6 | /bin/ 7 | -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/etch/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Convex network transaction types. 3 | */ 4 | package convex.etch; -------------------------------------------------------------------------------- /convex-gui/docs/images/hacker-hires.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/docs/images/hacker-hires.png -------------------------------------------------------------------------------- /convex-gui/docs/images/testnet-hires.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/docs/images/testnet-hires.png -------------------------------------------------------------------------------- /convex-gui/docs/images/wallet-hires.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/docs/images/wallet-hires.png -------------------------------------------------------------------------------- /convex-gui/docs/images/world-hires.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/docs/images/world-hires.png -------------------------------------------------------------------------------- /convex-peer/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.settings/ 3 | /.project 4 | /pom.xml.versionsBackup 5 | /temp-join-db.etch 6 | /bin/ 7 | -------------------------------------------------------------------------------- /convex-core/src/test/java/convex/store/ParamTestStores.java: -------------------------------------------------------------------------------- 1 | package convex.store; 2 | 3 | public class ParamTestStores { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /convex-core/src/test/resources/utils/config-test.json: -------------------------------------------------------------------------------- 1 | { 2 | /** Conif jest file in JSON5 **/ 3 | "config":"test", 4 | "array":[] 5 | } -------------------------------------------------------------------------------- /convex-gui/docs/images/convex-desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/docs/images/convex-desktop.png -------------------------------------------------------------------------------- /convex-gui/docs/images/ecosystem-hires.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/docs/images/ecosystem-hires.png -------------------------------------------------------------------------------- /convex-gui/docs/images/terminal-hires.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/docs/images/terminal-hires.png -------------------------------------------------------------------------------- /convex-gui/src/main/java/convex/gui/models/BaseColumn.java: -------------------------------------------------------------------------------- 1 | package convex.gui.models; 2 | 3 | public class BaseColumn { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /convex-gui/docs/images/filesystem-hires.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/docs/images/filesystem-hires.png -------------------------------------------------------------------------------- /convex-gui/src/main/resources/images/cog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/images/cog.png -------------------------------------------------------------------------------- /convex-gui/src/main/resources/images/www.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/images/www.png -------------------------------------------------------------------------------- /convex-gui/src/main/resources/images/Convex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/images/Convex.png -------------------------------------------------------------------------------- /convex-gui/src/main/resources/images/hacker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/images/hacker.png -------------------------------------------------------------------------------- /convex-gui/src/main/resources/images/wallet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/images/wallet.png -------------------------------------------------------------------------------- /convex-gui/src/main/resources/images/world.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/images/world.png -------------------------------------------------------------------------------- /convex-peer/src/main/java/convex/api/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Public API for Convex clients and related utilities 3 | */ 4 | package convex.api; -------------------------------------------------------------------------------- /convex-restapi/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /pom.xml.versionsBackup 5 | /.apt_generated/ 6 | /.apt_generated_tests/ 7 | -------------------------------------------------------------------------------- /convex-gui/src/main/resources/images/ecosystem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/images/ecosystem.png -------------------------------------------------------------------------------- /convex-gui/src/main/resources/images/padlock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/images/padlock.png -------------------------------------------------------------------------------- /convex-gui/src/main/resources/images/terminal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/images/terminal.png -------------------------------------------------------------------------------- /convex-gui/src/main/resources/images/testnet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/images/testnet.png -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/store/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Etch database for convergent immutable storage 3 | */ 4 | package convex.core.store; -------------------------------------------------------------------------------- /convex-gui/src/main/resources/images/filesystem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/images/filesystem.png -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/data/prim/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Implementation of CVM Primitive Data types 3 | */ 4 | package convex.core.data.prim; -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/lang/impl/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Internal CVM language implementation classes 3 | */ 4 | package convex.core.lang.impl; -------------------------------------------------------------------------------- /convex-gui/src/main/resources/images/padlock-open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/images/padlock-open.png -------------------------------------------------------------------------------- /convex-gui/src/main/resources/images/terminal-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/images/terminal-icon.png -------------------------------------------------------------------------------- /convex-peer/src/main/java/convex/net/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Networking protocol implementations for Convex and Lattice peers. 3 | */ 4 | package convex.net; -------------------------------------------------------------------------------- /convex-peer/src/main/java/convex/peer/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Convex Peer Server implementation using the P2P binary protocol 3 | */ 4 | package convex.peer; -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/cvm/transactions/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Convex network transaction types. 3 | */ 4 | package convex.core.cvm.transactions; -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/lattice/cursor/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Base package for lattice processing operations 3 | */ 4 | package convex.lattice.cursor; -------------------------------------------------------------------------------- /convex-restapi/src/main/java/convex/restapi/pub/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Package for static resources used by convex-restapi 3 | */ 4 | package convex.restapi.pub; -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/cvm/ops/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * CVM Operations, effectively the "machine code" of the CVM 3 | */ 4 | package convex.core.cvm.ops; -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/init/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Package used to create genesis states for new Convex networks 3 | */ 4 | package convex.core.init; -------------------------------------------------------------------------------- /convex-gui/src/main/resources/fonts/MaterialSymbolsSharp.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/fonts/MaterialSymbolsSharp.ttf -------------------------------------------------------------------------------- /convex-gui/src/main/resources/images/ic_cake_black_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/images/ic_cake_black_36dp.png -------------------------------------------------------------------------------- /convex-gui/src/main/resources/images/ic_stars_black_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/images/ic_stars_black_36dp.png -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/data/type/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * CVM type system implementation. Currently internal to CVM. 3 | */ 4 | package convex.core.data.type; -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/util/UnsafeRunnable.java: -------------------------------------------------------------------------------- 1 | package convex.core.util; 2 | 3 | public interface UnsafeRunnable { 4 | void run () throws Exception; 5 | } 6 | -------------------------------------------------------------------------------- /convex-gui/src/main/resources/fonts/SourceCodePro-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/fonts/SourceCodePro-Regular.ttf -------------------------------------------------------------------------------- /convex-cli/src/docs/examples.md: -------------------------------------------------------------------------------- 1 | ./convex key gen 2 | 3 | ./convex key list 4 | 5 | ./convex local start --public-key 660 6 | 7 | ./convex transact -a 11 --port 62854 "*balance*" -------------------------------------------------------------------------------- /convex-core/src/main/cvx/app/names.cvx: -------------------------------------------------------------------------------- 1 | 'app.names 2 | 3 | ;; A CNS name manager for purchasable / tradable names 4 | 5 | 6 | ;; Map of String -> [monitor expiry] 7 | (def names {}) -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/lang/reader/antlr/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Generated ANTLR classes for the Convex Reader 3 | */ 4 | package convex.core.lang.reader.antlr; -------------------------------------------------------------------------------- /convex-gui/src/main/resources/images/ic_lock_open_black_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/images/ic_lock_open_black_36dp.png -------------------------------------------------------------------------------- /convex-restapi/src/main/resources/convex/restapi/pub/Convex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-restapi/src/main/resources/convex/restapi/pub/Convex.png -------------------------------------------------------------------------------- /convex-restapi/src/main/resources/convex/restapi/pub/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-restapi/src/main/resources/convex/restapi/pub/favicon.ico -------------------------------------------------------------------------------- /convex-gui/src/main/resources/images/ic_lock_outline_black_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/images/ic_lock_outline_black_36dp.png -------------------------------------------------------------------------------- /convex: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | BASE_PATH=$(dirname $0) 4 | JAR_NAME=`ls -1 $BASE_PATH/convex-integration/target/convex.jar` 5 | 6 | # echo "using: $JAR_NAME" 7 | 8 | java -jar $JAR_NAME $@ 9 | -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/lang/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Core CVM language implementation for Convex Lisp and associated runtime functions 3 | */ 4 | package convex.core.lang; -------------------------------------------------------------------------------- /convex-gui/src/main/resources/images/ic_priority_high_black_36dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Convex-Dev/convex/HEAD/convex-gui/src/main/resources/images/ic_priority_high_black_36dp.png -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/exceptions/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Specialised exception classes used in the Convex implementation and libraries 3 | */ 4 | package convex.core.exceptions; -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/text/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Text and String handling utilities, primarily involving the {@link convex.core.data.AString} type 3 | */ 4 | package convex.core.text; -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/crypto/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Crypto algorithms used within Convex, particularly for digital signatures and 3 | * cryptographic hashes 4 | */ 5 | package convex.core.crypto; -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/cvm/exception/AReturn.java: -------------------------------------------------------------------------------- 1 | package convex.core.cvm.exception; 2 | 3 | /** 4 | * Abstract base class for exceptional returns 5 | */ 6 | public abstract class AReturn extends AExceptional { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /convex-core/src/main/cvx/convex/torus/genesis-currencies.cvx: -------------------------------------------------------------------------------- 1 | [ 2 | ["USDF" "Foundation USD" "Convex Foundation USD pre-payment credits" "$" 10000 2 1.0] 3 | ["GBPF" "Foundation GBP" "Convex Foundation GBP pre-payment credits" "£" 10000 2 1.27] 4 | ] -------------------------------------------------------------------------------- /convex-java/src/main/java/convex/java/ClientException.java: -------------------------------------------------------------------------------- 1 | package convex.java; 2 | 3 | /** 4 | * Exception class for Convex client errors 5 | */ 6 | @SuppressWarnings("serial") 7 | public class ClientException extends Exception { 8 | 9 | } 10 | -------------------------------------------------------------------------------- /convex-core/src/main/cvx/convex/asset/spatial.cvx: -------------------------------------------------------------------------------- 1 | 'asset.spatial 2 | 3 | ;; Spatial tokens 4 | 5 | (defn build [options] 6 | (let [end (blob (or (:end options) 0x010000000000000000))] 7 | [ 8 | `(def supply (index ~start ~end)) 9 | ])) -------------------------------------------------------------------------------- /convex-gui/src/main/java/convex/gui/components/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * This package provides general purpose Convex GUI components 3 | *
4 | * 5 | * @since 0.7.13 6 | * @author mikera 7 | * @version 1.1 8 | */ 9 | package convex.gui.components; -------------------------------------------------------------------------------- /convex-gui/src/main/java/convex/gui/models/BaseTableModel.java: -------------------------------------------------------------------------------- 1 | package convex.gui.models; 2 | 3 | import javax.swing.table.AbstractTableModel; 4 | 5 | @SuppressWarnings("serial") 6 | public abstract class BaseTableModel extends AbstractTableModel { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /convex-restapi/src/main/java/convex/restapi/model/CreateAccountRequest.java: -------------------------------------------------------------------------------- 1 | package convex.restapi.model; 2 | 3 | import io.javalin.openapi.OpenApiByFields; 4 | 5 | @OpenApiByFields 6 | public class CreateAccountRequest { 7 | public String accountKey; 8 | } 9 | -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/crypto/wallet/IWallet.java: -------------------------------------------------------------------------------- 1 | package convex.core.crypto.wallet; 2 | 3 | import convex.core.data.AccountKey; 4 | 5 | public interface IWallet { 6 | 7 | public void getKeyPair(AccountKey pubKey) throws LockedWalletException; 8 | } 9 | -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/cvm/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Core CVM implementation. The CVM implements the Convex state transition function when 3 | * transactions are executed on the Convex network to modify the global state 4 | */ 5 | package convex.core.cvm; -------------------------------------------------------------------------------- /convex-gui/src/main/java/convex/gui/utils/TextFormat.java: -------------------------------------------------------------------------------- 1 | package convex.gui.utils; 2 | 3 | import convex.core.text.Text; 4 | 5 | public class TextFormat { 6 | public String convexBalance(long bal) { 7 | return Text.toFriendlyNumber(bal); 8 | } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/cpos/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Implementation of Convergent Proof of Stake consensus 3 | * 4 | *See: Convex Whitepaper
5 | */ 6 | package convex.core.cpos; -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/etch/EtchCorruptionError.java: -------------------------------------------------------------------------------- 1 | package convex.etch; 2 | 3 | @SuppressWarnings("serial") 4 | public class EtchCorruptionError extends Error { 5 | 6 | public EtchCorruptionError(String message) { 7 | super(message); 8 | } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /convex-core/src/test/resources/testsource/min.con: -------------------------------------------------------------------------------- 1 | (defn mymin [& vals] 2 | (let [fst (first vals) 3 | n (count vals)] 4 | (loop [min fst i 1] 5 | (if (>= i n) 6 | min 7 | (let [v (nth vals i)] 8 | (recur (if (< v min) v min) (inc i))))))) -------------------------------------------------------------------------------- /convex-restapi/src/main/java/convex/restapi/model/FaucetRequest.java: -------------------------------------------------------------------------------- 1 | package convex.restapi.model; 2 | 3 | import io.javalin.openapi.OpenApiByFields; 4 | 5 | @OpenApiByFields 6 | public class FaucetRequest { 7 | public String address; 8 | public Object amount; 9 | } 10 | -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/lang/reader/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Implementation of the standard Convex Lisp / CVX format 3 | * 4 | *5 | * See: CVM Reader 6 | *
7 | */ 8 | package convex.core.lang.reader; -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-cli/src/main/java/convex/cli/mixins/ClientKeyMixin.java: -------------------------------------------------------------------------------- 1 | package convex.cli.mixins; 2 | 3 | import picocli.CommandLine.Mixin; 4 | 5 | public class ClientKeyMixin { 6 | 7 | @Mixin 8 | public KeyMixin keyMixin; 9 | 10 | @Mixin 11 | public KeyStoreMixin storeMixin; 12 | } 13 | -------------------------------------------------------------------------------- /convex-core/src/test/java/convex/core/examples/JuiceTrials.java: -------------------------------------------------------------------------------- 1 | package convex.core.examples; 2 | 3 | /** 4 | * Test class for juice costs relative to execution time 5 | */ 6 | public class JuiceTrials { 7 | 8 | 9 | public static void main(String[] args) { 10 | 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /convex-core/src/test/java/junit-platform.properties: -------------------------------------------------------------------------------- 1 | junit.jupiter.execution.parallel.enabled=true 2 | junit.jupiter.execution.parallel.mode.default = concurrent 3 | junit.jupiter.execution.parallel.mode.classes.default = concurrent 4 | junit.jupiter.testinstance.lifecycle.default = per_class 5 | 6 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/check.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/minus.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/play.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-java/src/main/java/module-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Convex Java client library 3 | */ 4 | module convex.java { 5 | requires java.net.http; 6 | 7 | exports convex.java.asset; 8 | exports convex.java; 9 | 10 | requires transitive convex.core; 11 | requires transitive convex.peer; 12 | } -------------------------------------------------------------------------------- /convex-restapi/src/main/java/convex/restapi/model/CreateAccountResponse.java: -------------------------------------------------------------------------------- 1 | package convex.restapi.model; 2 | 3 | import io.javalin.openapi.OpenApiByFields; 4 | 5 | @OpenApiByFields 6 | public class CreateAccountResponse { 7 | public String address; 8 | 9 | public String amount; 10 | } 11 | -------------------------------------------------------------------------------- /convex-restapi/src/main/java/convex/restapi/model/QueryRequest.java: -------------------------------------------------------------------------------- 1 | package convex.restapi.model; 2 | 3 | import io.javalin.openapi.OpenApiByFields; 4 | 5 | @OpenApiByFields 6 | public class QueryRequest { 7 | public String address; 8 | public String source; 9 | public boolean raw; 10 | } 11 | -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/text/AFormat.java: -------------------------------------------------------------------------------- 1 | package convex.core.text; 2 | 3 | /** 4 | * Base class for Convex-specific formats. 5 | * 6 | * These are all thread safe. 7 | */ 8 | @SuppressWarnings("serial") 9 | public abstract class AFormat extends java.text.Format { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/chevron-up.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/chevron-down.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/chevron-left.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/chevron-right.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/droplet.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/framer.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/twitch.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-restapi/src/main/java/convex/restapi/model/JsonRPCRequest.java: -------------------------------------------------------------------------------- 1 | package convex.restapi.model; 2 | 3 | import io.javalin.openapi.OpenApiByFields; 4 | 5 | @OpenApiByFields 6 | public class JsonRPCRequest { 7 | String jsonrpc; 8 | String id; 9 | String method; 10 | Object params; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /convex-restapi/src/main/java/convex/restapi/model/TransactRequest.java: -------------------------------------------------------------------------------- 1 | package convex.restapi.model; 2 | 3 | import io.javalin.openapi.OpenApiByFields; 4 | 5 | @OpenApiByFields 6 | public class TransactRequest { 7 | public String source; 8 | public String seed; 9 | public String address; 10 | } 11 | -------------------------------------------------------------------------------- /convex-cli/src/main/java/convex/cli/mixins/ClientMixin.java: -------------------------------------------------------------------------------- 1 | package convex.cli.mixins; 2 | 3 | import picocli.CommandLine.Mixin; 4 | 5 | public class ClientMixin extends AMixin { 6 | 7 | @Mixin 8 | ClientKeyMixin clientKeyMixin; 9 | 10 | @Mixin 11 | RemotePeerMixin peerMixin; 12 | 13 | 14 | } 15 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/cloud.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/moon.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/navigation.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/shield.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/square.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/volume.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/zap.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/etch/IEtchIndexVisitor.java: -------------------------------------------------------------------------------- 1 | package convex.etch; 2 | 3 | import java.io.IOException; 4 | 5 | /** 6 | * Visitor for Etch index 7 | */ 8 | public interface IEtchIndexVisitor { 9 | public void visit(Etch e, int level, int[] digits, long indexPointer) throws IOException; 10 | } 11 | -------------------------------------------------------------------------------- /convex-core/src/test/java/convex/core/util/VisitCounter.java: -------------------------------------------------------------------------------- 1 | package convex.core.util; 2 | 3 | import java.util.function.Consumer; 4 | 5 | public class VisitCounterThese messages are used to communicate between CVM peers on the network, and are effectively light-weight wrappers around the underlying CAD3 data structures.
5 | */ 6 | package convex.core.message; -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/arrow-up.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/eye.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/folder.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/message-square.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/pause.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/send.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/slash.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/terminal.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/user.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-core/src/main/cvx/convex/lab/messenger.cvx: -------------------------------------------------------------------------------- 1 | (defn accept 2 | 3 | ^{:callable true 4 | :doc {:description "Accepts a message and offered assets." 5 | :examples [{:code "(call messenger (accept message-id))"}] 6 | :signature [{:params [token holder]}]}} 7 | [message-id] 8 | 9 | ) 10 | -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/util/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Convex utility classes and miscellaneous functionality 3 | * 4 | * These are subject to change and refactoring and do not represent a fixed public API, 5 | * however they are available for use in applications depending on convex-core if helpful. 6 | */ 7 | package convex.core.util; -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/arrow-down.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/arrow-left.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/edit-3.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/minus-circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/mouse-pointer.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/pie-chart.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/play-circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/skip-back.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/stop-circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/tv.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-restapi/src/main/java/convex/restapi/model/JsonRPCResponse.java: -------------------------------------------------------------------------------- 1 | package convex.restapi.model; 2 | 3 | import io.javalin.openapi.OpenApiByFields; 4 | 5 | @OpenApiByFields 6 | public class JsonRPCResponse { 7 | 8 | public String jsonrpc; 9 | public Object result; 10 | public Object error; 11 | public String id; 12 | 13 | } 14 | 15 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/arrow-right.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/arrow-up-left.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/arrow-up-right.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/at-sign.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/bell.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/chevrons-up.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/corner-left-up.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/corner-right-up.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/corner-up-left.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/lock.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/map-pin.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/octagon.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/rewind.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/rotate-ccw.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/skip-forward.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/underline.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/unlock.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/arrow-down-left.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/arrow-down-right.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/award.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/battery.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/bold.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/chevrons-down.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/chevrons-left.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/chevrons-right.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/columns.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/corner-down-left.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/corner-left-down.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/corner-up-right.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/music.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/rotate-cw.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/rss.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/sidebar.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/tablet.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/toggle-left.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/triangle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/video.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/wind.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/corner-down-right.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/corner-right-down.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/fast-forward.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/flag.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/home.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/maximize.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/minimize.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/toggle-right.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/trending-up.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/volume-1.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/src/main/java/convex/gui/wallet/FriendPanel.java: -------------------------------------------------------------------------------- 1 | package convex.gui.wallet; 2 | 3 | import javax.swing.JPanel; 4 | 5 | import convex.api.Convex; 6 | 7 | @SuppressWarnings("serial") 8 | public class FriendPanel extends JPanel { 9 | 10 | public FriendPanel(Convex convex) { 11 | // TODO Auto-generated constructor stub 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/check-circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/credit-card.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/file.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/minus-square.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/smartphone.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/star.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/target.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/trending-down.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/book-open.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/book.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/compass.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/divide.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/dollar-sign.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/git-merge.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/table.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/anchor.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/briefcase.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/info.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/italic.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/menu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/more-vertical.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/x-circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/check-square.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/copy.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/key.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/mail.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/more-horizontal.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/percent.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/tag.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/type.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/src/main/java/convex/gui/components/NonUpdatingCaret.java: -------------------------------------------------------------------------------- 1 | package convex.gui.components; 2 | 3 | import java.awt.Rectangle; 4 | 5 | import javax.swing.text.DefaultCaret; 6 | 7 | @SuppressWarnings("serial") 8 | public class NonUpdatingCaret extends DefaultCaret { 9 | @Override 10 | protected void adjustVisibility(Rectangle nloc) { 11 | 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /convex-peer/src/main/java/convex/peer/PeerException.java: -------------------------------------------------------------------------------- 1 | package convex.peer; 2 | 3 | /** 4 | * Base exception class for peer operations and functionality 5 | */ 6 | @SuppressWarnings("serial") 7 | public class PeerException extends Exception { 8 | 9 | public PeerException(String message, Throwable cause) { 10 | super (message,cause); 11 | } 12 | 13 | 14 | 15 | } 16 | -------------------------------------------------------------------------------- /convex-restapi/src/main/java/convex/restapi/model/TransactionPrepareResponse.java: -------------------------------------------------------------------------------- 1 | package convex.restapi.model; 2 | 3 | import io.javalin.openapi.OpenApiByFields; 4 | 5 | @OpenApiByFields 6 | public class TransactionPrepareResponse { 7 | public String address; 8 | public String source; 9 | public long sequence; 10 | public String hash; 11 | public String data; 12 | } 13 | -------------------------------------------------------------------------------- /convex-core/src/test/resources/contracts/hello.con: -------------------------------------------------------------------------------- 1 | ;; The Hello World of smart contracts 2 | (do 3 | 4 | (def people #{}) 5 | 6 | (defn greet 7 | ^{:callable true} 8 | [name] 9 | (if (people name) 10 | (str "Welcome back " name) 11 | (do 12 | (def people (conj people name)) 13 | (str "Hello " name) 14 | ))) 15 | 16 | ) 17 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/bar-chart.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/camera.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/cloud-lightning.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/link-2.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/paperclip.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/pause-circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/plus-circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/pocket.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/thumbs-up.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/trash.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-gui/docs/icons/feather/zoom-out.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /convex-integration/src/main/resources/logback.xml: -------------------------------------------------------------------------------- 1 |This package contains utilities for working with JSON data in the CVM, including parsing, printing, and converting to and from other data structures.
5 | * 6 | *Note that JSON is a strict subset of the CVM data types, so we expect to encode all valid JSON perfectly in CAD3 / CVM data structures.
7 | * 8 | *See: JSON in the CVM
9 | */ 10 | package convex.core.json; -------------------------------------------------------------------------------- /convex-gui/src/main/java/convex/gui/components/BaseListComponent.java: -------------------------------------------------------------------------------- 1 | package convex.gui.components; 2 | 3 | import javax.swing.JPanel; 4 | import javax.swing.border.BevelBorder; 5 | import javax.swing.border.CompoundBorder; 6 | 7 | import convex.gui.utils.Toolkit; 8 | 9 | @SuppressWarnings("serial") 10 | public class BaseListComponent extends JPanel { 11 | 12 | public BaseListComponent() { 13 | setBorder(new CompoundBorder(new BevelBorder(BevelBorder.RAISED, null, null, null, null), 14 | Toolkit.createEmptyBorder(2))); 15 | 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /convex-core/src/main/java/convex/core/util/MergeFunction.java: -------------------------------------------------------------------------------- 1 | package convex.core.util; 2 | 3 | public abstract interface MergeFunction