Setup an Actor
Prerequisites
Setup
$ ./fairmathd-linux-amd64 init <username> --chain-id fairmath-tn1node = "https://testnet.computer.fairmath.xyz" chain-id = "fairmath-tn1" keyring-backend = "test"$ ./fairmathd-linux-amd64 keys add <accountname> --keyring-backend=test$ ./fairmathd-linux-amd64 tx bank send <from address> <to address> 100fmth --from <from account> --chain-id fairmath-tn1 --keyring-backend test$ ./fairmathd-linux-amd64 q bank balances <your address> --chain-id fairmath-tn1
$ ./fairmathd-linux-amd64 actor register <actorname> --from=<account name or address> --keyring-backend=test$ ./fairmathd-linux-amd64 actor register testactor --from=testaccount --keyring-backend=test 2024/11/04 15:29:10 registration is done: actor 'testactor' is registered under ID: <30>actor-id: 30 tx: owner: "" gas-adjustment: 1.5 query: query-grpc-address: "" orders: acquire-interval: 30s main-actor-ping: 1m0s backup-actor-ping: 1m0s min-price: 0fmth backup-min-price: 0fmth ext-storage: ipfs: node-url: <http://ipfs/url:8080> interpreter: path: /path/to/interpreteractor-id: 1 tx: owner: "testaccount" gas-adjustment: 1.5 query: query-grpc-address: "testnet.computer.fairmath.xyz:9090" orders: acquire-interval: 30s main-actor-ping: 1m0s backup-actor-ping: 1m0s min-price: 0fmth backup-min-price: 0fmth ext-storage: ipfs: node-url: 167.235.197.94:5001 interpreter: path: /home/path/to/vm
$ ./fairmathd-linux-amd64 actor run <actor config name> --keyring-backend=test{"level":"warn","time":"2024-11-04T16:00:40+03:00","message":"heavy objects cache could not find the state file(cache will be reset): read cache state: open /home/gsm/yasha/dcomp/fairnet/bin/.actor/fhevm-store/actor-30/h-cache.json: no such file or directory"} {"level":"warn","time":"2024-11-04T16:00:50+03:00","message":"failed to acquire order send tx calculate gas: simulate tx: rpc error: code = Unknown desc = rpc error: code = Unknown desc = failed to execute message; message index: 0: acquire order tx: no available orders [cosmos/[email protected]/baseapp/baseapp.go:1023] with gas used: '36614': unknown request"}
Last updated